|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MultiplicityTypeBase>
org.eclipse.modisco.jee.ejbjar.EjbJar31.MultiplicityTypeBase
public enum MultiplicityTypeBase
A representation of the literals of the enumeration 'Multiplicity Type Base', and utility methods for working with them.
EjbJar31Package.getMultiplicityTypeBase()
Enum Constant Summary | |
---|---|
MANY
The 'Many' literal object. |
|
ONE
The 'One' literal object. |
Field Summary | |
---|---|
static int |
MANY_VALUE
The 'Many' literal value. |
static int |
ONE_VALUE
The 'One' literal value. |
static java.util.List<MultiplicityTypeBase> |
VALUES
A public read-only list of all the 'Multiplicity Type Base' enumerators. |
Method Summary | |
---|---|
static MultiplicityTypeBase |
get(int value)
Returns the 'Multiplicity Type Base' literal with the specified integer value. |
static MultiplicityTypeBase |
get(java.lang.String literal)
Returns the 'Multiplicity Type Base' literal with the specified literal value. |
static MultiplicityTypeBase |
getByName(java.lang.String name)
Returns the 'Multiplicity Type Base' 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 MultiplicityTypeBase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MultiplicityTypeBase[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MultiplicityTypeBase ONE
ONE_VALUE
public static final MultiplicityTypeBase MANY
MANY_VALUE
Field Detail |
---|
public 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<MultiplicityTypeBase> VALUES
Method Detail |
---|
public static final MultiplicityTypeBase[] values()
for(MultiplicityTypeBase c : MultiplicityTypeBase.values()) System.out.println(c);
public static MultiplicityTypeBase 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 MultiplicityTypeBase get(java.lang.String literal)
public static MultiplicityTypeBase getByName(java.lang.String name)
public static MultiplicityTypeBase get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<MultiplicityTypeBase>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |