|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<KeyTypeType>
org.graphdrawing.graphml.KeyTypeType
public enum KeyTypeType
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.
GraphMLPackage.getKeyTypeType()
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 |
---|
public static final KeyTypeType BOOLEAN
BOOLEAN_VALUE
public static final KeyTypeType INT
INT_VALUE
public static final KeyTypeType LONG
LONG_VALUE
public static final KeyTypeType FLOAT
FLOAT_VALUE
public static final KeyTypeType DOUBLE
DOUBLE_VALUE
public static final KeyTypeType STRING
STRING_VALUE
Field Detail |
---|
public static final int BOOLEAN_VALUE
If the meaning of 'Boolean' literal object isn't clear, there really should be more of a description here...
BOOLEAN
,
Constant Field Valuesname | = | boolean |
public static final int INT_VALUE
If the meaning of 'Int' literal object isn't clear, there really should be more of a description here...
INT
,
Constant Field Valuesname | = | int |
public static final int LONG_VALUE
If the meaning of 'Long' literal object isn't clear, there really should be more of a description here...
LONG
,
Constant Field Valuesname | = | long |
public static final int FLOAT_VALUE
If the meaning of 'Float' literal object isn't clear, there really should be more of a description here...
FLOAT
,
Constant Field Valuesname | = | float |
public static final int DOUBLE_VALUE
If the meaning of 'Double' literal object isn't clear, there really should be more of a description here...
DOUBLE
,
Constant Field Valuesname | = | double |
public static final int STRING_VALUE
If the meaning of 'String' literal object isn't clear, there really should be more of a description here...
STRING
,
Constant Field Valuesname | = | string |
public static final List<KeyTypeType> VALUES
Method Detail |
---|
public static KeyTypeType[] values()
for (KeyTypeType c : KeyTypeType.values()) System.out.println(c);
public static KeyTypeType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static KeyTypeType get(String literal)
public static KeyTypeType getByName(String name)
public static KeyTypeType get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<KeyTypeType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |