de.upb.hni.vmagic
Enum RangeAttributeName.Type

java.lang.Object
  extended by java.lang.Enum<RangeAttributeName.Type>
      extended by de.upb.hni.vmagic.RangeAttributeName.Type
All Implemented Interfaces:
OutputEnum, java.io.Serializable, java.lang.Comparable<RangeAttributeName.Type>
Enclosing class:
RangeAttributeName

public static enum RangeAttributeName.Type
extends java.lang.Enum<RangeAttributeName.Type>
implements OutputEnum

Type of a range attribute name.


Enum Constant Summary
RANGE
          Name with 'RANGE suffix.
REVERSE_RANGE
          Name with 'REVERSE_RANGE suffix.
 
Method Summary
 java.lang.String getLowerCase()
          Returns a lower case version of this enum.
 java.lang.String getUpperCase()
          Returns a upper case version of this enum.
static RangeAttributeName.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RangeAttributeName.Type[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RANGE

public static final RangeAttributeName.Type RANGE
Name with 'RANGE suffix.


REVERSE_RANGE

public static final RangeAttributeName.Type REVERSE_RANGE
Name with 'REVERSE_RANGE suffix.

Method Detail

values

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

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

valueOf

public static RangeAttributeName.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getLowerCase

public java.lang.String getLowerCase()
Description copied from interface: OutputEnum
Returns a lower case version of this enum.

Specified by:
getLowerCase in interface OutputEnum
Returns:
a lower case version

getUpperCase

public java.lang.String getUpperCase()
Description copied from interface: OutputEnum
Returns a upper case version of this enum.

Specified by:
getUpperCase in interface OutputEnum
Returns:
a upper case version