public enum RelativeType extends java.lang.Enum<RelativeType> implements EnumParam
| Enum Constant and Description |
|---|
CHILD |
GRANDCHILD |
GRANDPARENT |
PARENT |
SIBLING |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
java.lang.String |
toString() |
static RelativeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelativeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="parent") public static final RelativeType PARENT
@SerializedName(value="child") public static final RelativeType CHILD
@SerializedName(value="grandparent") public static final RelativeType GRANDPARENT
@SerializedName(value="grandchild") public static final RelativeType GRANDCHILD
@SerializedName(value="sibling") public static final RelativeType SIBLING
public static RelativeType[] values()
for (RelativeType c : RelativeType.values()) System.out.println(c);
public static RelativeType 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 toString()
toString in class java.lang.Enum<RelativeType>