org.graphdrawing.graphml
Enum GraphOrderType

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

public enum GraphOrderType
extends Enum<GraphOrderType>
implements Enumerator

A representation of the literals of the enumeration 'Graph Order Type', and utility methods for working with them. Simple type for the parse.order attribute of <graph>. graph.order.type is final, that is, it may not be extended or restricted. graph.order.type is a restriction of xs:NMTOKEN Allowed values: free, nodesfirst, adjacencylist.

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

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

FREE

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

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

NODESFIRST

public static final GraphOrderType NODESFIRST
The 'Nodesfirst' literal object.

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

ADJACENCYLIST

public static final GraphOrderType ADJACENCYLIST
The 'Adjacencylist' literal object.

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

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

NODESFIRST_VALUE

public static final int NODESFIRST_VALUE
The 'Nodesfirst' literal value.

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

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

ADJACENCYLIST_VALUE

public static final int ADJACENCYLIST_VALUE
The 'Adjacencylist' literal value.

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

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

VALUES

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

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

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

Generated:
This code was automatically generated.

getByName

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

Generated:
This code was automatically generated.

get

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