public static enum Relationship.RelationshipType extends java.lang.Enum<Relationship.RelationshipType>
Modifier and Type | Method and Description |
---|---|
static Relationship.RelationshipType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Relationship.RelationshipType |
valueOfWithUnknown(java.lang.String propertyName)
get enum from name
|
static Relationship.RelationshipType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Relationship.RelationshipType PARENT
public static final Relationship.RelationshipType CHILD
public static final Relationship.RelationshipType SIBLING
public static final Relationship.RelationshipType UNKNOWN
public static Relationship.RelationshipType[] values()
for (Relationship.RelationshipType c : Relationship.RelationshipType.values()) System.out.println(c);
public static Relationship.RelationshipType 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 static Relationship.RelationshipType valueOfWithUnknown(java.lang.String propertyName)
get enum from name