org.eclipse.jpt.jpa.eclipselink.core.resource.orm
Enum XmlChangeTrackingType

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

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

A representation of the literals of the enumeration 'Xml Change Tracking Type', 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.

Since:
2.1
Version:
2.1
See Also:
EclipseLinkOrmPackage.getXmlChangeTrackingType()

Enum Constant Summary
ATTRIBUTE
          The 'ATTRIBUTE' literal object.
AUTO
          The 'AUTO' literal object.
DEFERRED
          The 'DEFERRED' literal object.
OBJECT
          The 'OBJECT' literal object.
 
Field Summary
static int ATTRIBUTE_VALUE
          The 'ATTRIBUTE' literal value.
static int AUTO_VALUE
          The 'AUTO' literal value.
static int DEFERRED_VALUE
          The 'DEFERRED' literal value.
static int OBJECT_VALUE
          The 'OBJECT' literal value.
static java.util.List<XmlChangeTrackingType> VALUES
          A public read-only list of all the 'Xml Change Tracking Type' enumerators.
 
Method Summary
static XmlChangeTrackingType get(int value)
          Returns the 'Xml Change Tracking Type' literal with the specified integer value.
static XmlChangeTrackingType get(java.lang.String literal)
          Returns the 'Xml Change Tracking Type' literal with the specified literal value.
static XmlChangeTrackingType getByName(java.lang.String name)
          Returns the 'Xml Change Tracking Type' 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 XmlChangeTrackingType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XmlChangeTrackingType[] values()
          Returns an array containing the constants of this enum type, in the order they are 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

ATTRIBUTE

public static final XmlChangeTrackingType ATTRIBUTE
The 'ATTRIBUTE' literal object.

See Also:
ATTRIBUTE_VALUE

OBJECT

public static final XmlChangeTrackingType OBJECT
The 'OBJECT' literal object.

See Also:
OBJECT_VALUE

DEFERRED

public static final XmlChangeTrackingType DEFERRED
The 'DEFERRED' literal object.

See Also:
DEFERRED_VALUE

AUTO

public static final XmlChangeTrackingType AUTO
The 'AUTO' literal object.

See Also:
AUTO_VALUE
Field Detail

ATTRIBUTE_VALUE

public static final int ATTRIBUTE_VALUE
The 'ATTRIBUTE' literal value.

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

See Also:
ATTRIBUTE, Constant Field Values

OBJECT_VALUE

public static final int OBJECT_VALUE
The 'OBJECT' literal value.

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

See Also:
OBJECT, Constant Field Values

DEFERRED_VALUE

public static final int DEFERRED_VALUE
The 'DEFERRED' literal value.

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

See Also:
DEFERRED, Constant Field Values

AUTO_VALUE

public static final int AUTO_VALUE
The 'AUTO' literal value.

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

See Also:
AUTO, Constant Field Values

VALUES

public static final java.util.List<XmlChangeTrackingType> VALUES
A public read-only list of all the 'Xml Change Tracking Type' enumerators.

Method Detail

values

public static XmlChangeTrackingType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (XmlChangeTrackingType c : XmlChangeTrackingType.values())
    System.out.println(c);

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

valueOf

public static XmlChangeTrackingType 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
java.lang.NullPointerException - if the argument is null

get

public static XmlChangeTrackingType get(java.lang.String literal)
Returns the 'Xml Change Tracking Type' literal with the specified literal value.


getByName

public static XmlChangeTrackingType getByName(java.lang.String name)
Returns the 'Xml Change Tracking Type' literal with the specified name.


get

public static XmlChangeTrackingType get(int value)
Returns the 'Xml Change Tracking Type' 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<XmlChangeTrackingType>