org.outerj.daisy.repository
Class ValueType
java.lang.Object
org.outerj.daisy.repository.ValueType
public final class ValueType
- extends java.lang.Object
Enumeration of the possible kinds of values that a field can have.
Each Field
is based on a FieldType
which defines the ValueType for the field.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
STRING
public static final ValueType STRING
DATE
public static final ValueType DATE
DATETIME
public static final ValueType DATETIME
LONG
public static final ValueType LONG
DOUBLE
public static final ValueType DOUBLE
DECIMAL
public static final ValueType DECIMAL
BOOLEAN
public static final ValueType BOOLEAN
LINK
public static final ValueType LINK
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getCode
public int getCode()
getTypeClass
public java.lang.Class getTypeClass()
fromString
public static ValueType fromString(java.lang.String name)
getByCode
public static ValueType getByCode(int code)
Copyright © -2012 . All Rights Reserved.