org.eclipse.modisco.jee.ejbjar.EjbJar30
Enum MultiplicityTypeBase

java.lang.Object
  extended by java.lang.Enum<MultiplicityTypeBase>
      extended by org.eclipse.modisco.jee.ejbjar.EjbJar30.MultiplicityTypeBase
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MultiplicityTypeBase>

public enum MultiplicityTypeBase
extends java.lang.Enum<MultiplicityTypeBase>

A representation of the literals of the enumeration 'Multiplicity Type Base', and utility methods for working with them.

See Also:
EjbJar30Package.getMultiplicityTypeBase()
Generated:
Model:
extendedMetaData="name='multiplicityType_._base'"

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

ONE

public static final MultiplicityTypeBase ONE
The 'One' literal object.

See Also:
ONE_VALUE
Generated:
Ordered:

MANY

public static final MultiplicityTypeBase MANY
The 'Many' literal object.

See Also:
MANY_VALUE
Generated:
Ordered:
Field Detail

ONE_VALUE

public static final int ONE_VALUE
The 'One' literal value.

If the meaning of 'One' literal object isn't clear, there really should be more of a description here...

See Also:
ONE, Constant Field Values
Generated:
Model:
name="One"
Ordered:

MANY_VALUE

public static final int MANY_VALUE
The 'Many' literal value.

If the meaning of 'Many' literal object isn't clear, there really should be more of a description here...

See Also:
MANY, Constant Field Values
Generated:
Model:
name="Many"
Ordered:

VALUES

public static final java.util.List<MultiplicityTypeBase> VALUES
A public read-only list of all the 'Multiplicity Type Base' enumerators.

Generated:
Method Detail

values

public static final MultiplicityTypeBase[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(MultiplicityTypeBase c : MultiplicityTypeBase.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static MultiplicityTypeBase valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static MultiplicityTypeBase get(java.lang.String literal)
Returns the 'Multiplicity Type Base' literal with the specified literal value.

Generated:

getByName

public static MultiplicityTypeBase getByName(java.lang.String name)
Returns the 'Multiplicity Type Base' literal with the specified name.

Generated:

get

public static MultiplicityTypeBase get(int value)
Returns the 'Multiplicity Type Base' literal with the specified integer value.

Generated:

getValue

public int getValue()

Generated:

getName

public java.lang.String getName()

Generated:

getLiteral

public java.lang.String getLiteral()

Generated:

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<MultiplicityTypeBase>
Generated: