org.galagosearch.tupleflow.typebuilder
Enum FieldSpecification.DataType

java.lang.Object
  extended by java.lang.Enum<FieldSpecification.DataType>
      extended by org.galagosearch.tupleflow.typebuilder.FieldSpecification.DataType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FieldSpecification.DataType>
Enclosing class:
FieldSpecification

public static enum FieldSpecification.DataType
extends java.lang.Enum<FieldSpecification.DataType>


Enum Constant Summary
BOOLEAN
           
BYTE
           
BYTES
           
DOUBLE
           
FLOAT
           
INT
           
LONG
           
SHORT
           
STRING
           
 
Method Summary
 java.lang.String getBaseType()
           
 java.lang.String getClassName()
           
 java.lang.String getInternalType()
           
 java.lang.String getType()
           
 boolean isArray()
           
 boolean isInteger()
           
 boolean isString()
           
static FieldSpecification.DataType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FieldSpecification.DataType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BOOLEAN

public static final FieldSpecification.DataType BOOLEAN

BYTE

public static final FieldSpecification.DataType BYTE

SHORT

public static final FieldSpecification.DataType SHORT

INT

public static final FieldSpecification.DataType INT

LONG

public static final FieldSpecification.DataType LONG

FLOAT

public static final FieldSpecification.DataType FLOAT

DOUBLE

public static final FieldSpecification.DataType DOUBLE

STRING

public static final FieldSpecification.DataType STRING

BYTES

public static final FieldSpecification.DataType BYTES
Method Detail

values

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

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

valueOf

public static FieldSpecification.DataType 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

getType

public java.lang.String getType()

getBaseType

public java.lang.String getBaseType()

getInternalType

public java.lang.String getInternalType()

isInteger

public boolean isInteger()

isString

public boolean isString()

isArray

public boolean isArray()

getClassName

public java.lang.String getClassName()


Copyright © 2009. All Rights Reserved.