org.galagosearch.tupleflow.typebuilder
Enum FieldSpecification.DataType
java.lang.Object
java.lang.Enum<FieldSpecification.DataType>
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>
| 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 |
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
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.