|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Multiplicity>
BusinessDomainDsl.Multiplicity
public enum Multiplicity
A representation of the literals of the enumeration 'Multiplicity', and utility methods for working with them.
BusinessDomainDslPackage.getMultiplicity()| Enum Constant Summary | |
|---|---|
ONE
The 'One' literal object. |
|
ONE_MANY
The 'One Many' literal object. |
|
ZERO_MANY
The 'Zero Many' literal object. |
|
ZERO_ONE
The 'Zero One' literal object. |
|
| Field Summary | |
|---|---|
static int |
ONE_MANY_VALUE
The 'One Many' 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. |
static int |
ZERO_MANY_VALUE
The 'Zero Many' literal value. |
static int |
ZERO_ONE_VALUE
The 'Zero One' literal value. |
| 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 ZERO_MANY
ZERO_MANY_VALUEpublic static final Multiplicity ONE
ONE_VALUEpublic static final Multiplicity ZERO_ONE
ZERO_ONE_VALUEpublic static final Multiplicity ONE_MANY
ONE_MANY_VALUE| Field Detail |
|---|
public static final int ZERO_MANY_VALUE
If the meaning of 'Zero Many' literal object isn't clear, there really should be more of a description here...
ZERO_MANY,
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 ZERO_ONE_VALUE
If the meaning of 'Zero One' literal object isn't clear, there really should be more of a description here...
ZERO_ONE,
Constant Field Valuespublic static final int ONE_MANY_VALUE
If the meaning of 'One Many' literal object isn't clear, there really should be more of a description here...
ONE_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 | |||||||||