net.sourceforge.nrl.parser.ast
Enum NRLDataType.Type
java.lang.Object
java.lang.Enum<NRLDataType.Type>
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
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
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