org.graphdrawing.graphml
Enum KeyTypeType

java.lang.Object
  extended by java.lang.Enum<KeyTypeType>
      extended by org.graphdrawing.graphml.KeyTypeType
All Implemented Interfaces:
Comparable<KeyTypeType>, Enumerator

public enum KeyTypeType
extends Enum<KeyTypeType>
implements Enumerator

A representation of the literals of the enumeration 'Key Type Type', and utility methods for working with them. Simple type for the attr.type attribute of <key>. key.type.type is final, that is, it may not be extended or restricted. key.type.type is a restriction of xs:NMTOKEN Allowed values: boolean, int, long, float, double, string.

See Also:
GraphMLPackage.getKeyTypeType()
Rating red
Generated:
This code was automatically generated.
Model element:
extendedMetaData=name='key.type.type'

Enum Constant Summary
BOOLEAN
          The 'Boolean' literal object.
DOUBLE
          The 'Double' literal object.
FLOAT
          The 'Float' literal object.
INT
          The 'Int' literal object.
LONG
          The 'Long' literal object.
STRING
          The 'String' literal object.
 
Field Summary
static int BOOLEAN_VALUE
          The 'Boolean' literal value.
static int DOUBLE_VALUE
          The 'Double' literal value.
static int FLOAT_VALUE
          The 'Float' literal value.
static int INT_VALUE
          The 'Int' literal value.
static int LONG_VALUE
          The 'Long' literal value.
static int STRING_VALUE
          The 'String' literal value.
static List<KeyTypeType> VALUES
          A public read-only list of all the 'Key Type Type' enumerators.
 
Method Summary
static KeyTypeType get(int value)
          Returns the 'Key Type Type' literal with the specified integer value.
static KeyTypeType get(String literal)
          Returns the 'Key Type Type' literal with the specified literal value.
static KeyTypeType getByName(String name)
          Returns the 'Key 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 KeyTypeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KeyTypeType[] 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

BOOLEAN

public static final KeyTypeType BOOLEAN
The 'Boolean' literal object.

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

INT

public static final KeyTypeType INT
The 'Int' literal object.

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

LONG

public static final KeyTypeType LONG
The 'Long' literal object.

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

FLOAT

public static final KeyTypeType FLOAT
The 'Float' literal object.

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

DOUBLE

public static final KeyTypeType DOUBLE
The 'Double' literal object.

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

STRING

public static final KeyTypeType STRING
The 'String' literal object.

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

BOOLEAN_VALUE

public static final int BOOLEAN_VALUE
The 'Boolean' literal value.

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

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

INT_VALUE

public static final int INT_VALUE
The 'Int' literal value.

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

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

LONG_VALUE

public static final int LONG_VALUE
The 'Long' literal value.

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

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

FLOAT_VALUE

public static final int FLOAT_VALUE
The 'Float' literal value.

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

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

DOUBLE_VALUE

public static final int DOUBLE_VALUE
The 'Double' literal value.

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

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

STRING_VALUE

public static final int STRING_VALUE
The 'String' literal value.

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

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

VALUES

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

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

public static KeyTypeType 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 KeyTypeType get(String literal)
Returns the 'Key Type Type' literal with the specified literal value.

Generated:
This code was automatically generated.

getByName

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

Generated:
This code was automatically generated.

get

public static KeyTypeType get(int value)
Returns the 'Key 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<KeyTypeType>
Generated:
This code was automatically generated.