public class ConfigNameRelation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigNameRelation.Relation |
| Constructor and Description |
|---|
ConfigNameRelation() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkNameRelation(ConfigNameRelation.Relation relation,
Name name1,
Name name2)
Check whether name1 and name2 satisfy the relation.
|
static ConfigNameRelation.Relation |
getNameRelationFromString(String relationString)
Convert relationString to a ConfigNameRelation.Relation enum.
|
static String |
toString(ConfigNameRelation.Relation relation)
Get a string representation of the Relation enum.
|
public static String toString(ConfigNameRelation.Relation relation)
relation - The value for the ConfigNameRelation.Relation enum.public static boolean checkNameRelation(ConfigNameRelation.Relation relation, Name name1, Name name2)
relation - The value for the ConfigNameRelation.Relation enum.name1 - The first name to check.name2 - The second name to check.public static ConfigNameRelation.Relation getNameRelationFromString(String relationString) throws ValidatorConfigError
ValidatorConfigError - if relationString cannot be converted.Copyright © 2019. All rights reserved.