org.eclipse.emf.facet.widgets.nattable.tests.bug344563.internal.bug344563
Enum MyEnum

java.lang.Object
  extended by java.lang.Enum<MyEnum>
      extended by org.eclipse.emf.facet.widgets.nattable.tests.bug344563.internal.bug344563.MyEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MyEnum>

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

A representation of the literals of the enumeration 'My Enum', and utility methods for working with them.

See Also:
Bug344563Package.getMyEnum()
Generated:
Model:

Enum Constant Summary
ONE
          The 'One' literal object.
TWO
          The 'Two' literal object.
 
Field Summary
static int ONE_VALUE
          The 'One' literal value.
static int TWO_VALUE
          The 'Two' literal value.
static java.util.List<MyEnum> VALUES
          A public read-only list of all the 'My Enum' enumerators.
 
Method Summary
static MyEnum get(int value)
          Returns the 'My Enum' literal with the specified integer value.
static MyEnum get(java.lang.String literal)
          Returns the 'My Enum' literal with the specified literal value.
static MyEnum getByName(java.lang.String name)
          Returns the 'My Enum' 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 MyEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MyEnum[] 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 MyEnum ONE
The 'One' literal object.

See Also:
ONE_VALUE
Generated:
Ordered:

TWO

public static final MyEnum TWO
The 'Two' literal object.

See Also:
TWO_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:

TWO_VALUE

public static final int TWO_VALUE
The 'Two' literal value.

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

See Also:
TWO, Constant Field Values
Generated:
Model:
name="Two"
Ordered:

VALUES

public static final java.util.List<MyEnum> VALUES
A public read-only list of all the 'My Enum' enumerators.

Generated:
Method Detail

values

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

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

valueOf

public static MyEnum 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 MyEnum get(java.lang.String literal)
Returns the 'My Enum' literal with the specified literal value.

Generated:

getByName

public static MyEnum getByName(java.lang.String name)
Returns the 'My Enum' literal with the specified name.

Generated:

get

public static MyEnum get(int value)
Returns the 'My Enum' 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<MyEnum>
Generated: