org.w3._1999.xlink
Enum TypeType

java.lang.Object
  extended by java.lang.Enum<TypeType>
      extended by org.w3._1999.xlink.TypeType
All Implemented Interfaces:
Comparable<TypeType>, Enumerator

public enum TypeType
extends Enum<TypeType>
implements Enumerator

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

See Also:
XlinkPackage.getTypeType()
Rating red
Generated:
This code was automatically generated.
Model element:
extendedMetaData=name='type_._type'

Enum Constant Summary
ARC
          The 'Arc' literal object.
EXTENDED
          The 'Extended' literal object.
LOCATOR
          The 'Locator' literal object.
SIMPLE
          The 'Simple' literal object.
 
Field Summary
static int ARC_VALUE
          The 'Arc' literal value.
static int EXTENDED_VALUE
          The 'Extended' literal value.
static int LOCATOR_VALUE
          The 'Locator' literal value.
static int SIMPLE_VALUE
          The 'Simple' literal value.
static List<TypeType> VALUES
          A public read-only list of all the 'Type Type' enumerators.
 
Method Summary
static TypeType get(int value)
          Returns the 'Type Type' literal with the specified integer value.
static TypeType get(String literal)
          Returns the 'Type Type' literal with the specified literal value.
static TypeType getByName(String name)
          Returns the 'Type Type' literal with the specified name.
 String getLiteral()
           
 String getName()
           
 int getValue()
           
 String toString()
          Returns the literal value of the enumerator, which is its string representation.
static TypeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TypeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SIMPLE

public static final TypeType SIMPLE
The 'Simple' literal object.

See Also:
SIMPLE_VALUE
Generated:
This code was automatically generated.
Ordered

EXTENDED

public static final TypeType EXTENDED
The 'Extended' literal object.

See Also:
EXTENDED_VALUE
Generated:
This code was automatically generated.
Ordered

LOCATOR

public static final TypeType LOCATOR
The 'Locator' literal object.

See Also:
LOCATOR_VALUE
Generated:
This code was automatically generated.
Ordered

ARC

public static final TypeType ARC
The 'Arc' literal object.

See Also:
ARC_VALUE
Generated:
This code was automatically generated.
Ordered
Field Detail

SIMPLE_VALUE

public static final int SIMPLE_VALUE
The 'Simple' literal value.

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

See Also:
SIMPLE, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=simple
Ordered

EXTENDED_VALUE

public static final int EXTENDED_VALUE
The 'Extended' literal value.

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

See Also:
EXTENDED, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=extended
Ordered

LOCATOR_VALUE

public static final int LOCATOR_VALUE
The 'Locator' literal value.

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

See Also:
LOCATOR, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=locator
Ordered

ARC_VALUE

public static final int ARC_VALUE
The 'Arc' literal value.

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

See Also:
ARC, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=arc
Ordered

VALUES

public static final List<TypeType> VALUES
A public read-only list of all the 'Type Type' enumerators.

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

public static TypeType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

get

public static TypeType get(String literal)
Returns the 'Type Type' literal with the specified literal value.

Generated:
This code was automatically generated.

getByName

public static TypeType getByName(String name)
Returns the 'Type Type' literal with the specified name.

Generated:
This code was automatically generated.

get

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

Generated:
This code was automatically generated.

getValue

public int getValue()

Specified by:
getValue in interface Enumerator
Generated:
This code was automatically generated.

getName

public String getName()

Specified by:
getName in interface Enumerator
Generated:
This code was automatically generated.

getLiteral

public String getLiteral()

Specified by:
getLiteral in interface Enumerator
Generated:
This code was automatically generated.

toString

public String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class Enum<TypeType>
Generated:
This code was automatically generated.