com.ibm.db.models.db2
Class GenerateType

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

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

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

See Also:
DB2ModelPackage.getGenerateType()

Field Summary
static int ALWAYS
          The 'ALWAYS' literal value.
static GenerateType ALWAYS_LITERAL
          The 'ALWAYS' literal object.
static int BY_DEFAULT
          The 'BY DEFAULT' literal value.
static GenerateType BY_DEFAULT_LITERAL
          The 'BY DEFAULT' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Generate Type' enumerators.
 
Method Summary
static GenerateType get(int value)
          Returns the 'Generate Type' literal with the specified integer value.
static GenerateType get(java.lang.String literal)
          Returns the 'Generate Type' literal with the specified literal value.
static GenerateType getByName(java.lang.String name)
          Returns the 'Generate 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

BY_DEFAULT

public static final int BY_DEFAULT
The 'BY DEFAULT' literal value.

See Also:
BY_DEFAULT_LITERAL, Constant Field Values

ALWAYS

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

See Also:
ALWAYS_LITERAL, Constant Field Values

BY_DEFAULT_LITERAL

public static final GenerateType BY_DEFAULT_LITERAL
The 'BY DEFAULT' literal object.

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

See Also:
BY_DEFAULT

ALWAYS_LITERAL

public static final GenerateType ALWAYS_LITERAL
The 'ALWAYS' literal object.

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

See Also:
ALWAYS

VALUES

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

Method Detail

get

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


getByName

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


get

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