org.graphdrawing.graphml
Enum GraphNodeidsType

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

public enum GraphNodeidsType
extends Enum<GraphNodeidsType>
implements Enumerator

A representation of the literals of the enumeration 'Graph Nodeids Type', and utility methods for working with them. Simple type for the parse.nodeids attribute of <graph>. graph.nodeids.type is final, that is, it may not be extended or restricted. graph.nodeids.type is a restriction of xs:string Allowed values: (no restriction).

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

Enum Constant Summary
CANONICAL
          The 'Canonical' literal object.
FREE
          The 'Free' literal object.
 
Field Summary
static int CANONICAL_VALUE
          The 'Canonical' literal value.
static int FREE_VALUE
          The 'Free' literal value.
static List<GraphNodeidsType> VALUES
          A public read-only list of all the 'Graph Nodeids Type' enumerators.
 
Method Summary
static GraphNodeidsType get(int value)
          Returns the 'Graph Nodeids Type' literal with the specified integer value.
static GraphNodeidsType get(String literal)
          Returns the 'Graph Nodeids Type' literal with the specified literal value.
static GraphNodeidsType getByName(String name)
          Returns the 'Graph Nodeids 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 GraphNodeidsType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GraphNodeidsType[] 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

CANONICAL

public static final GraphNodeidsType CANONICAL
The 'Canonical' literal object.

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

FREE

public static final GraphNodeidsType FREE
The 'Free' literal object.

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

CANONICAL_VALUE

public static final int CANONICAL_VALUE
The 'Canonical' literal value.

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

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

FREE_VALUE

public static final int FREE_VALUE
The 'Free' literal value.

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

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

VALUES

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

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

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

Generated:
This code was automatically generated.

getByName

public static GraphNodeidsType getByName(String name)
Returns the 'Graph Nodeids Type' literal with the specified name.

Generated:
This code was automatically generated.

get

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