|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Multiplicity>
org.mod4j.dsl.datacontract.mm.DataContractDsl.Multiplicity
public enum Multiplicity
A representation of the literals of the enumeration 'Multiplicity', and utility methods for working with them.
DataContractDslPackage.getMultiplicity()| Enum Constant Summary | |
|---|---|
MANY
The 'MANY' literal object. |
|
NONE
The 'NONE' literal object. |
|
ONE
The 'ONE' literal object. |
|
| Field Summary | |
|---|---|
static int |
MANY_VALUE
The 'MANY' literal value. |
static int |
NONE_VALUE
The 'NONE' literal value. |
static int |
ONE_VALUE
The 'ONE' literal value. |
static java.util.List<Multiplicity> |
VALUES
A public read-only list of all the 'Multiplicity' enumerators. |
| Method Summary | |
|---|---|
static Multiplicity |
get(int value)
Returns the 'Multiplicity' literal with the specified integer value. |
static Multiplicity |
get(java.lang.String literal)
Returns the 'Multiplicity' literal with the specified literal value. |
static Multiplicity |
getByName(java.lang.String name)
Returns the 'Multiplicity' literal with the specified name. |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static Multiplicity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Multiplicity[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Multiplicity NONE
NONE_VALUEpublic static final Multiplicity ONE
ONE_VALUEpublic static final Multiplicity MANY
MANY_VALUE| Field Detail |
|---|
public static final int NONE_VALUE
If the meaning of 'NONE' literal object isn't clear, there really should be more of a description here...
NONE,
Constant Field Valuespublic static final int ONE_VALUE
If the meaning of 'ONE' literal object isn't clear, there really should be more of a description here...
ONE,
Constant Field Valuespublic static final int MANY_VALUE
If the meaning of 'MANY' literal object isn't clear, there really should be more of a description here...
MANY,
Constant Field Valuespublic static final java.util.List<Multiplicity> VALUES
| Method Detail |
|---|
public static final Multiplicity[] values()
for(Multiplicity c : Multiplicity.values())
System.out.println(c);
public static Multiplicity 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 namepublic static Multiplicity get(java.lang.String literal)
public static Multiplicity getByName(java.lang.String name)
public static Multiplicity get(int value)
public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<Multiplicity>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||