org.eclipse.jpt.core.resource.orm.v2_0
Enum LockModeType_2_0

java.lang.Object
  extended by java.lang.Enum<LockModeType_2_0>
      extended by org.eclipse.jpt.core.resource.orm.v2_0.LockModeType_2_0
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LockModeType_2_0>, org.eclipse.emf.common.util.Enumerator

public enum LockModeType_2_0
extends java.lang.Enum<LockModeType_2_0>
implements org.eclipse.emf.common.util.Enumerator

A representation of the literals of the enumeration 'Lock Mode Type 20', and utility methods for working with them. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

See Also:
OrmV2_0Package.getLockModeType_2_0()

Enum Constant Summary
NONE
          The 'NONE' literal object.
OPTIMISTIC
          The 'OPTIMISTIC' literal object.
OPTIMISTIC_FORCE_INCREMENT
          The 'OPTIMISTIC FORCE INCREMENT' literal object.
PESSIMISTIC_FORCE_INCREMENT
          The 'PESSIMISTIC FORCE INCREMENT' literal object.
PESSIMISTIC_READ
          The 'PESSIMISTIC READ' literal object.
PESSIMISTIC_WRITE
          The 'PESSIMISTIC WRITE' literal object.
READ
          The 'READ' literal object.
WRITE
          The 'WRITE' literal object.
 
Field Summary
static int NONE_VALUE
          The 'NONE' literal value.
static int OPTIMISTIC_FORCE_INCREMENT_VALUE
          The 'OPTIMISTIC FORCE INCREMENT' literal value.
static int OPTIMISTIC_VALUE
          The 'OPTIMISTIC' literal value.
static int PESSIMISTIC_FORCE_INCREMENT_VALUE
          The 'PESSIMISTIC FORCE INCREMENT' literal value.
static int PESSIMISTIC_READ_VALUE
          The 'PESSIMISTIC READ' literal value.
static int PESSIMISTIC_WRITE_VALUE
          The 'PESSIMISTIC WRITE' literal value.
static int READ_VALUE
          The 'READ' literal value.
static java.util.List<LockModeType_2_0> VALUES
          A public read-only list of all the 'Lock Mode Type 20' enumerators.
static int WRITE_VALUE
          The 'WRITE' literal value.
 
Method Summary
static LockModeType_2_0 get(int value)
          Returns the 'Lock Mode Type 20' literal with the specified integer value.
static LockModeType_2_0 get(java.lang.String literal)
          Returns the 'Lock Mode Type 20' literal with the specified literal value.
static LockModeType_2_0 getByName(java.lang.String name)
          Returns the 'Lock Mode Type 20' 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 LockModeType_2_0 valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LockModeType_2_0[] 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

NONE

public static final LockModeType_2_0 NONE
The 'NONE' literal object.

See Also:
NONE_VALUE

READ

public static final LockModeType_2_0 READ
The 'READ' literal object.

See Also:
READ_VALUE

WRITE

public static final LockModeType_2_0 WRITE
The 'WRITE' literal object.

See Also:
WRITE_VALUE

OPTIMISTIC

public static final LockModeType_2_0 OPTIMISTIC
The 'OPTIMISTIC' literal object.

See Also:
OPTIMISTIC_VALUE

OPTIMISTIC_FORCE_INCREMENT

public static final LockModeType_2_0 OPTIMISTIC_FORCE_INCREMENT
The 'OPTIMISTIC FORCE INCREMENT' literal object.

See Also:
OPTIMISTIC_FORCE_INCREMENT_VALUE

PESSIMISTIC_READ

public static final LockModeType_2_0 PESSIMISTIC_READ
The 'PESSIMISTIC READ' literal object.

See Also:
PESSIMISTIC_READ_VALUE

PESSIMISTIC_WRITE

public static final LockModeType_2_0 PESSIMISTIC_WRITE
The 'PESSIMISTIC WRITE' literal object.

See Also:
PESSIMISTIC_WRITE_VALUE

PESSIMISTIC_FORCE_INCREMENT

public static final LockModeType_2_0 PESSIMISTIC_FORCE_INCREMENT
The 'PESSIMISTIC FORCE INCREMENT' literal object.

See Also:
PESSIMISTIC_FORCE_INCREMENT_VALUE
Field Detail

NONE_VALUE

public static final int NONE_VALUE
The 'NONE' literal value.

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

See Also:
NONE, Constant Field Values

READ_VALUE

public static final int READ_VALUE
The 'READ' literal value.

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

See Also:
READ, Constant Field Values

WRITE_VALUE

public static final int WRITE_VALUE
The 'WRITE' literal value.

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

See Also:
WRITE, Constant Field Values

OPTIMISTIC_VALUE

public static final int OPTIMISTIC_VALUE
The 'OPTIMISTIC' literal value.

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

See Also:
OPTIMISTIC, Constant Field Values

OPTIMISTIC_FORCE_INCREMENT_VALUE

public static final int OPTIMISTIC_FORCE_INCREMENT_VALUE
The 'OPTIMISTIC FORCE INCREMENT' literal value.

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

See Also:
OPTIMISTIC_FORCE_INCREMENT, Constant Field Values

PESSIMISTIC_READ_VALUE

public static final int PESSIMISTIC_READ_VALUE
The 'PESSIMISTIC READ' literal value.

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

See Also:
PESSIMISTIC_READ, Constant Field Values

PESSIMISTIC_WRITE_VALUE

public static final int PESSIMISTIC_WRITE_VALUE
The 'PESSIMISTIC WRITE' literal value.

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

See Also:
PESSIMISTIC_WRITE, Constant Field Values

PESSIMISTIC_FORCE_INCREMENT_VALUE

public static final int PESSIMISTIC_FORCE_INCREMENT_VALUE
The 'PESSIMISTIC FORCE INCREMENT' literal value.

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

See Also:
PESSIMISTIC_FORCE_INCREMENT, Constant Field Values

VALUES

public static final java.util.List<LockModeType_2_0> VALUES
A public read-only list of all the 'Lock Mode Type 20' enumerators.

Method Detail

values

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

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

valueOf

public static LockModeType_2_0 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 LockModeType_2_0 get(java.lang.String literal)
Returns the 'Lock Mode Type 20' literal with the specified literal value.


getByName

public static LockModeType_2_0 getByName(java.lang.String name)
Returns the 'Lock Mode Type 20' literal with the specified name.


get

public static LockModeType_2_0 get(int value)
Returns the 'Lock Mode Type 20' literal with the specified integer value.


getValue

public int getValue()

Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator

getName

public java.lang.String getName()

Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator

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<LockModeType_2_0>