net.ogdf.ogml
Enum BoolIntType

java.lang.Object
  extended by java.lang.Enum<BoolIntType>
      extended by net.ogdf.ogml.BoolIntType
All Implemented Interfaces:
Comparable<BoolIntType>, Enumerator

public enum BoolIntType
extends Enum<BoolIntType>
implements Enumerator

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

See Also:
OgmlPackage.getBoolIntType()
Rating red
Generated:
This code was automatically generated.
Model element:
extendedMetaData=name='boolInt.type'

Enum Constant Summary
_0
          The '0' literal object.
_1
          The '1' literal object.
 
Field Summary
static int _0_VALUE
          The '0' literal value.
static int _1_VALUE
          The '1' literal value.
static List<BoolIntType> VALUES
          A public read-only list of all the 'Bool Int Type' enumerators.
 
Method Summary
static BoolIntType get(int value)
          Returns the 'Bool Int Type' literal with the specified integer value.
static BoolIntType get(String literal)
          Returns the 'Bool Int Type' literal with the specified literal value.
static BoolIntType getByName(String name)
          Returns the 'Bool Int 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 BoolIntType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BoolIntType[] 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

_1

public static final BoolIntType _1
The '1' literal object.

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

_0

public static final BoolIntType _0
The '0' literal object.

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

_1_VALUE

public static final int _1_VALUE
The '1' literal value.

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

See Also:
_1, Constant Field Values
Generated:
This code was automatically generated.
Model element:
literal=1
Ordered

_0_VALUE

public static final int _0_VALUE
The '0' literal value.

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

See Also:
_0, Constant Field Values
Generated:
This code was automatically generated.
Model element:
literal=0
Ordered

VALUES

public static final List<BoolIntType> VALUES
A public read-only list of all the 'Bool Int Type' enumerators.

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

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

Generated:
This code was automatically generated.

getByName

public static BoolIntType getByName(String name)
Returns the 'Bool Int Type' literal with the specified name.

Generated:
This code was automatically generated.

get

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