Raccoon.QE
Class AttrType

java.lang.Object
  extended byRaccoon.QE.AttrType

public class AttrType
extends java.lang.Object

AttrType : Define all attribute types and conversion between different DBMS and Java.

Author:
Qi Zhong

Field Summary
static int BIGDECIMAL
           
static int INT
          here is all the type we support so far.
static int REAL
           
static int STRING
           
static int UNKNOWN_TYPE
           
 
Constructor Summary
AttrType()
           
 
Method Summary
static int classNameToType(java.lang.String className)
          convert the java class name to the support attribute type
static int dbTypeNameToType(java.lang.String dbTypeName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INT

public static final int INT
here is all the type we support so far. It may be expanded to support other types, like data, in the future

See Also:
Constant Field Values

REAL

public static final int REAL
See Also:
Constant Field Values

STRING

public static final int STRING
See Also:
Constant Field Values

BIGDECIMAL

public static final int BIGDECIMAL
See Also:
Constant Field Values

UNKNOWN_TYPE

public static final int UNKNOWN_TYPE
See Also:
Constant Field Values
Constructor Detail

AttrType

public AttrType()
Method Detail

classNameToType

public static int classNameToType(java.lang.String className)
convert the java class name to the support attribute type


dbTypeNameToType

public static int dbTypeNameToType(java.lang.String dbTypeName)