org.outerj.daisy.repository
Class ValueType

java.lang.Object
  extended by 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.


Field Summary
static ValueType BOOLEAN
           
static ValueType DATE
           
static ValueType DATETIME
           
static ValueType DECIMAL
           
static ValueType DOUBLE
           
static ValueType LINK
           
static ValueType LONG
           
static ValueType STRING
           
 
Method Summary
static ValueType fromString(java.lang.String name)
           
static ValueType getByCode(int code)
           
 int getCode()
           
 java.lang.Class getTypeClass()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Method Detail

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.