org.eclipse.emf.cdo.dbgen
Class IndexType

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by org.eclipse.emf.cdo.dbgen.IndexType
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

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

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

See Also:
DBGenPackage.getIndexType()

Field Summary
static int NON_UNIQUE
          The 'NON UNIQUE' literal value
static IndexType NON_UNIQUE_LITERAL
          The 'NON UNIQUE' literal object
static int PRIMARY
          The 'PRIMARY' literal value
static IndexType PRIMARY_LITERAL
          The 'PRIMARY' literal object
static int UNIQUE
          The 'UNIQUE' literal value
static IndexType UNIQUE_LITERAL
          The 'UNIQUE' literal object
static java.util.List VALUES
          A public read-only list of all the 'Index Type' enumerators
 
Method Summary
static IndexType get(int value)
          Returns the 'Index Type' literal with the specified integer value
static IndexType get(java.lang.String literal)
          Returns the 'Index Type' literal with the specified literal value
static IndexType getByName(java.lang.String name)
          Returns the 'Index 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NON_UNIQUE

public static final int NON_UNIQUE
The 'NON UNIQUE' literal value.

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

See Also:
NON_UNIQUE_LITERAL, Constant Field Values

UNIQUE

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

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

See Also:
UNIQUE_LITERAL, Constant Field Values

PRIMARY

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

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

See Also:
PRIMARY_LITERAL, Constant Field Values

NON_UNIQUE_LITERAL

public static final IndexType NON_UNIQUE_LITERAL
The 'NON UNIQUE' literal object.

See Also:
NON_UNIQUE

UNIQUE_LITERAL

public static final IndexType UNIQUE_LITERAL
The 'UNIQUE' literal object.

See Also:
UNIQUE

PRIMARY_LITERAL

public static final IndexType PRIMARY_LITERAL
The 'PRIMARY' literal object.

See Also:
PRIMARY

VALUES

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

Method Detail

get

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


getByName

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


get

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


Copyright (c) 2004, 2005, 2006 Eike Stepper, Germany.
All Rights Reserved.