|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EdmMultiplicity>
org.apache.olingo.odata2.api.edm.EdmMultiplicity
public enum EdmMultiplicity
EdmMultiplicity indicates the number of entity type instances an association end can relate to:
Enum Constant Summary | |
---|---|
MANY
|
|
ONE
|
|
ZERO_TO_ONE
|
Method Summary | |
---|---|
static EdmMultiplicity |
fromLiteral(String literal)
Gets the multiplicity for a given name. |
String |
toString()
Returns the OData literal form of this multiplicity. |
static EdmMultiplicity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EdmMultiplicity[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EdmMultiplicity ZERO_TO_ONE
public static final EdmMultiplicity MANY
public static final EdmMultiplicity ONE
Method Detail |
---|
public static EdmMultiplicity[] values()
for (EdmMultiplicity c : EdmMultiplicity.values()) System.out.println(c);
public static EdmMultiplicity valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static EdmMultiplicity fromLiteral(String literal)
literal
-
EdmMultiplicity
public String toString()
toString
in class Enum<EdmMultiplicity>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |