org.montsuqi.client
Class Type

java.lang.Object
  extended by org.montsuqi.client.Type

public final class Type
extends java.lang.Object

Data type enums.


Field Summary
static int ALIAS
           
static int ARRAY
           
static int BINARY
           
static int BOOL
           
static int BYTE
           
static int CHAR
           
static int CLASS
           
static int DBCODE
           
static int FLOAT
           
static int INT
           
static int NULL
           
static int NUMBER
           
static int NUMERIC
           
static int OBJECT
           
static int RECORD
           
static int STRING
           
static int STRUCTURE
           
static int TEXT
           
static int VALUES
           
static int VARCHAR
           
 
Method Summary
static java.lang.String getName(int type)
          A utility method to return the name for a given type(int).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS

public static final int CLASS
See Also:
Constant Field Values

NULL

public static final int NULL
See Also:
Constant Field Values

NUMERIC

public static final int NUMERIC
See Also:
Constant Field Values

INT

public static final int INT
See Also:
Constant Field Values

BOOL

public static final int BOOL
See Also:
Constant Field Values

FLOAT

public static final int FLOAT
See Also:
Constant Field Values

NUMBER

public static final int NUMBER
See Also:
Constant Field Values

STRING

public static final int STRING
See Also:
Constant Field Values

CHAR

public static final int CHAR
See Also:
Constant Field Values

TEXT

public static final int TEXT
See Also:
Constant Field Values

VARCHAR

public static final int VARCHAR
See Also:
Constant Field Values

BYTE

public static final int BYTE
See Also:
Constant Field Values

DBCODE

public static final int DBCODE
See Also:
Constant Field Values

BINARY

public static final int BINARY
See Also:
Constant Field Values

OBJECT

public static final int OBJECT
See Also:
Constant Field Values

STRUCTURE

public static final int STRUCTURE
See Also:
Constant Field Values

ARRAY

public static final int ARRAY
See Also:
Constant Field Values

RECORD

public static final int RECORD
See Also:
Constant Field Values

ALIAS

public static final int ALIAS
See Also:
Constant Field Values

VALUES

public static final int VALUES
See Also:
Constant Field Values
Method Detail

getName

public static java.lang.String getName(int type)

A utility method to return the name for a given type(int).

Useful in logging.