public static enum Relation.Rel extends java.lang.Enum<Relation.Rel>
Enum Constant and Description |
---|
ASSISTANT
Assistant relation.
|
BROTHER
Brother relation.
|
CHILD
Child relation.
|
DOMESTIC_PARTNER
Domestic-partner relation.
|
FATHER
Father relation.
|
FRIEND
Friend relation.
|
MANAGER
Manager relation.
|
MOTHER
Mother relation.
|
PARENT
Parent relation.
|
PARTNER
Partner relation.
|
REFERRED_BY
Referred-by relation.
|
RELATIVE
Relative relation.
|
SISTER
Sister relation.
|
SPOUSE
Spouse relation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toValue()
Returns the value used in the XML.
|
static Relation.Rel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Relation.Rel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Relation.Rel ASSISTANT
public static final Relation.Rel BROTHER
public static final Relation.Rel CHILD
public static final Relation.Rel DOMESTIC_PARTNER
public static final Relation.Rel FATHER
public static final Relation.Rel FRIEND
public static final Relation.Rel MANAGER
public static final Relation.Rel MOTHER
public static final Relation.Rel PARENT
public static final Relation.Rel PARTNER
public static final Relation.Rel REFERRED_BY
public static final Relation.Rel RELATIVE
public static final Relation.Rel SISTER
public static final Relation.Rel SPOUSE
public static Relation.Rel[] values()
for (Relation.Rel c : Relation.Rel.values()) System.out.println(c);
public static Relation.Rel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toValue()