org.graphdrawing.graphml
Enum GraphEdgeidsType

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

public enum GraphEdgeidsType
extends Enum<GraphEdgeidsType>
implements Enumerator

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

See Also:
GraphMLPackage.getGraphEdgeidsType()
Rating red
Generated:
This code was automatically generated.
Model element:
extendedMetaData=name='graph.edgeids.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<GraphEdgeidsType> VALUES
          A public read-only list of all the 'Graph Edgeids Type' enumerators.
 
Method Summary
static GraphEdgeidsType get(int value)
          Returns the 'Graph Edgeids Type' literal with the specified integer value.
static GraphEdgeidsType get(String literal)
          Returns the 'Graph Edgeids Type' literal with the specified literal value.
static GraphEdgeidsType getByName(String name)
          Returns the 'Graph Edgeids 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 GraphEdgeidsType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GraphEdgeidsType[] 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 GraphEdgeidsType CANONICAL
The 'Canonical' literal object.

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

FREE

public static final GraphEdgeidsType 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<GraphEdgeidsType> VALUES
A public read-only list of all the 'Graph Edgeids Type' enumerators.

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

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

Generated:
This code was automatically generated.

getByName

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

Generated:
This code was automatically generated.

get

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