de.cau.cs.kieler.kiml.graphviz.dot
Enum GraphType

java.lang.Object
  extended by java.lang.Enum<GraphType>
      extended by de.cau.cs.kieler.kiml.graphviz.dot.GraphType
All Implemented Interfaces:
Serializable, Comparable<GraphType>, Enumerator

public enum GraphType
extends Enum<GraphType>
implements Enumerator

A representation of the literals of the enumeration 'Graph Type', and utility methods for working with them.

See Also:
DotPackage.getGraphType()
Rating red
Generated:
This code was automatically generated.
Model element

Enum Constant Summary
DIGRAPH
          The 'Digraph' literal object.
GRAPH
          The 'Graph' literal object.
 
Field Summary
static int DIGRAPH_VALUE
          The 'Digraph' literal value.
static int GRAPH_VALUE
          The 'Graph' literal value.
static List<GraphType> VALUES
          A public read-only list of all the 'Graph Type' enumerators.
 
Method Summary
static GraphType get(int value)
          Returns the 'Graph Type' literal with the specified integer value.
static GraphType get(String literal)
          Returns the 'Graph Type' literal with the specified literal value.
static GraphType getByName(String name)
          Returns the 'Graph 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 GraphType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GraphType[] 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

GRAPH

public static final GraphType GRAPH
The 'Graph' literal object.

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

DIGRAPH

public static final GraphType DIGRAPH
The 'Digraph' literal object.

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

GRAPH_VALUE

public static final int GRAPH_VALUE
The 'Graph' literal value.

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

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

DIGRAPH_VALUE

public static final int DIGRAPH_VALUE
The 'Digraph' literal value.

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

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

VALUES

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

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

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

Generated:
This code was automatically generated.

getByName

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

Generated:
This code was automatically generated.

get

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