org.graphdrawing.graphml
Enum GraphEdgedefaultType

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

public enum GraphEdgedefaultType
extends Enum<GraphEdgedefaultType>
implements Enumerator

A representation of the literals of the enumeration 'Graph Edgedefault Type', and utility methods for working with them. Simple type for the edgedefault attribute of <graph>. graph.edgedefault.type is a restriction of xs:NMTOKEN Allowed values: directed, undirected.

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

Enum Constant Summary
DIRECTED
          The 'Directed' literal object.
UNDIRECTED
          The 'Undirected' literal object.
 
Field Summary
static int DIRECTED_VALUE
          The 'Directed' literal value.
static int UNDIRECTED_VALUE
          The 'Undirected' literal value.
static List<GraphEdgedefaultType> VALUES
          A public read-only list of all the 'Graph Edgedefault Type' enumerators.
 
Method Summary
static GraphEdgedefaultType get(int value)
          Returns the 'Graph Edgedefault Type' literal with the specified integer value.
static GraphEdgedefaultType get(String literal)
          Returns the 'Graph Edgedefault Type' literal with the specified literal value.
static GraphEdgedefaultType getByName(String name)
          Returns the 'Graph Edgedefault 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 GraphEdgedefaultType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GraphEdgedefaultType[] 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

DIRECTED

public static final GraphEdgedefaultType DIRECTED
The 'Directed' literal object.

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

UNDIRECTED

public static final GraphEdgedefaultType UNDIRECTED
The 'Undirected' literal object.

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

DIRECTED_VALUE

public static final int DIRECTED_VALUE
The 'Directed' literal value.

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

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

UNDIRECTED_VALUE

public static final int UNDIRECTED_VALUE
The 'Undirected' literal value.

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

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

VALUES

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

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

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

Generated:
This code was automatically generated.

getByName

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

Generated:
This code was automatically generated.

get

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