com.ibm.db.models.db2
Class UnitType

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by com.ibm.db.models.db2.UnitType
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

public final class UnitType
extends org.eclipse.emf.common.util.AbstractEnumerator

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

See Also:
DB2ModelPackage.getUnitType()

Field Summary
static int G
          The 'G' literal value.
static UnitType G_LITERAL
          The 'G' literal object.
static int K
          The 'K' literal value.
static UnitType K_LITERAL
          The 'K' literal object.
static int M
          The 'M' literal value.
static UnitType M_LITERAL
          The 'M' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Unit Type' enumerators.
 
Method Summary
static UnitType get(int value)
          Returns the 'Unit Type' literal with the specified integer value.
static UnitType get(java.lang.String literal)
          Returns the 'Unit Type' literal with the specified literal value.
static UnitType getByName(java.lang.String name)
          Returns the 'Unit Type' literal with the specified name.
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

K

public static final int K
The 'K' literal value.

See Also:
K_LITERAL, Constant Field Values

M

public static final int M
The 'M' literal value.

See Also:
M_LITERAL, Constant Field Values

G

public static final int G
The 'G' literal value.

See Also:
G_LITERAL, Constant Field Values

K_LITERAL

public static final UnitType K_LITERAL
The 'K' literal object.

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

See Also:
K

M_LITERAL

public static final UnitType M_LITERAL
The 'M' literal object.

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

See Also:
M

G_LITERAL

public static final UnitType G_LITERAL
The 'G' literal object.

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

See Also:
G

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Unit Type' enumerators.

Method Detail

get

public static UnitType get(java.lang.String literal)
Returns the 'Unit Type' literal with the specified literal value.


getByName

public static UnitType getByName(java.lang.String name)
Returns the 'Unit Type' literal with the specified name.


get

public static UnitType get(int value)
Returns the 'Unit Type' literal with the specified integer value.