public enum RelationshipEndCardinality extends Enum<RelationshipEndCardinality> implements Serializable
| Enum Constant and Description |
|---|
ANY_NUMBER |
AT_MOST_ONE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description of the cardinality.
|
String |
getName()
Return the default name of the cardinality.
|
int |
getOrdinal()
Return the numeric representation of the cardinality.
|
String |
toString()
toString() JSON-style
|
static RelationshipEndCardinality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationshipEndCardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationshipEndCardinality UNKNOWN
public static final RelationshipEndCardinality AT_MOST_ONE
public static final RelationshipEndCardinality ANY_NUMBER
public static RelationshipEndCardinality[] values()
for (RelationshipEndCardinality c : RelationshipEndCardinality.values()) System.out.println(c);
public static RelationshipEndCardinality valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<RelationshipEndCardinality>Copyright © 2018–2019 ODPi. All rights reserved.