public enum MultiplicityTypeBase extends java.lang.Enum<MultiplicityTypeBase>
EjbJar30Package.getMultiplicityTypeBase()| Enum Constant and Description |
|---|
MANY
The 'Many' literal object.
|
ONE
The 'One' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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 are declared.
|
public static final MultiplicityTypeBase ONE
ONE_VALUEpublic static final MultiplicityTypeBase MANY
MANY_VALUEpublic 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
public static 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 namejava.lang.NullPointerException - if the argument is nullpublic 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>