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

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

public enum AttributeType
extends Enum<AttributeType>
implements Enumerator

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

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

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

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

NODE

public static final AttributeType NODE
The 'Node' literal object.

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

EDGE

public static final AttributeType EDGE
The 'Edge' literal object.

See Also:
EDGE_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

NODE_VALUE

public static final int NODE_VALUE
The 'Node' literal value.

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

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

EDGE_VALUE

public static final int EDGE_VALUE
The 'Edge' literal value.

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

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

VALUES

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

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

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

Generated:
This code was automatically generated.

getByName

public static AttributeType getByName(String name)
Returns the 'Attribute Type' literal with the specified name.

Generated:
This code was automatically generated.

get

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