org.eclipse.modisco.jee.ejbjar.EjbJar31
Enum CmpVersionTypeBase

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

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

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

See Also:
EjbJar31Package.getCmpVersionTypeBase()
Generated:
Model:
extendedMetaData="name='cmp-versionType_._base'"

Enum Constant Summary
_1X
          The '1X' literal object.
_2X
          The '2X' literal object.
 
Field Summary
static int _1X_VALUE
          The '1X' literal value.
static int _2X_VALUE
          The '2X' literal value.
static java.util.List<CmpVersionTypeBase> VALUES
          A public read-only list of all the 'Cmp Version Type Base' enumerators.
 
Method Summary
static CmpVersionTypeBase get(int value)
          Returns the 'Cmp Version Type Base' literal with the specified integer value.
static CmpVersionTypeBase get(java.lang.String literal)
          Returns the 'Cmp Version Type Base' literal with the specified literal value.
static CmpVersionTypeBase getByName(java.lang.String name)
          Returns the 'Cmp Version 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 CmpVersionTypeBase valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CmpVersionTypeBase[] 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

_1X

public static final CmpVersionTypeBase _1X
The '1X' literal object.

See Also:
_1X_VALUE
Generated:
Ordered:

_2X

public static final CmpVersionTypeBase _2X
The '2X' literal object.

See Also:
_2X_VALUE
Generated:
Ordered:
Field Detail

_1X_VALUE

public static final int _1X_VALUE
The '1X' literal value.

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

See Also:
_1X, Constant Field Values
Generated:
Model:
literal="1.x"
Ordered:

_2X_VALUE

public static final int _2X_VALUE
The '2X' literal value.

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

See Also:
_2X, Constant Field Values
Generated:
Model:
literal="2.x"
Ordered:

VALUES

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

Generated:
Method Detail

values

public static final CmpVersionTypeBase[] 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(CmpVersionTypeBase c : CmpVersionTypeBase.values())
        System.out.println(c);

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

valueOf

public static CmpVersionTypeBase 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 CmpVersionTypeBase get(java.lang.String literal)
Returns the 'Cmp Version Type Base' literal with the specified literal value.

Generated:

getByName

public static CmpVersionTypeBase getByName(java.lang.String name)
Returns the 'Cmp Version Type Base' literal with the specified name.

Generated:

get

public static CmpVersionTypeBase get(int value)
Returns the 'Cmp Version 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<CmpVersionTypeBase>
Generated: