net.sourceforge.nrl.parser.ast
Enum NRLDataType.Type

java.lang.Object
  extended by java.lang.Enum<NRLDataType.Type>
      extended by net.sourceforge.nrl.parser.ast.NRLDataType.Type
All Implemented Interfaces:
Serializable, Comparable<NRLDataType.Type>
Enclosing class:
NRLDataType

public static enum NRLDataType.Type
extends Enum<NRLDataType.Type>

Enumeration of basic type names


Enum Constant Summary
Boolean
           
Date
           
Decimal
           
Element
           
Integer
           
String
           
Unknown
           
Void
           
 
Method Summary
static NRLDataType.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NRLDataType.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Unknown

public static final NRLDataType.Type Unknown

String

public static final NRLDataType.Type String

Decimal

public static final NRLDataType.Type Decimal

Integer

public static final NRLDataType.Type Integer

Boolean

public static final NRLDataType.Type Boolean

Date

public static final NRLDataType.Type Date

Element

public static final NRLDataType.Type Element

Void

public static final NRLDataType.Type Void
Method Detail

values

public static final NRLDataType.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(NRLDataType.Type c : NRLDataType.Type.values())
        System.out.println(c);

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

valueOf

public static NRLDataType.Type 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


Copyright © 2006-2010 Christian Nentwich and others