org.graphdrawing.graphml
Enum EndpointTypeType

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

public enum EndpointTypeType
extends Enum<EndpointTypeType>
implements Enumerator

A representation of the literals of the enumeration 'Endpoint Type Type', and utility methods for working with them. Simple type for the type attribute of <endpoint>. endpoint.type.type is a restriction of xs:NMTOKEN Allowed values: in, out, undir.

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

Enum Constant Summary
IN
          The 'In' literal object.
OUT
          The 'Out' literal object.
UNDIR
          The 'Undir' literal object.
 
Field Summary
static int IN_VALUE
          The 'In' literal value.
static int OUT_VALUE
          The 'Out' literal value.
static int UNDIR_VALUE
          The 'Undir' literal value.
static List<EndpointTypeType> VALUES
          A public read-only list of all the 'Endpoint Type Type' enumerators.
 
Method Summary
static EndpointTypeType get(int value)
          Returns the 'Endpoint Type Type' literal with the specified integer value.
static EndpointTypeType get(String literal)
          Returns the 'Endpoint Type Type' literal with the specified literal value.
static EndpointTypeType getByName(String name)
          Returns the 'Endpoint Type 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 EndpointTypeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EndpointTypeType[] 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

IN

public static final EndpointTypeType IN
The 'In' literal object.

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

OUT

public static final EndpointTypeType OUT
The 'Out' literal object.

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

UNDIR

public static final EndpointTypeType UNDIR
The 'Undir' literal object.

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

IN_VALUE

public static final int IN_VALUE
The 'In' literal value.

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

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

OUT_VALUE

public static final int OUT_VALUE
The 'Out' literal value.

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

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

UNDIR_VALUE

public static final int UNDIR_VALUE
The 'Undir' literal value.

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

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

VALUES

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

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

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

Generated:
This code was automatically generated.

getByName

public static EndpointTypeType getByName(String name)
Returns the 'Endpoint Type Type' literal with the specified name.

Generated:
This code was automatically generated.

get

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