Raccoon.QE
Class AttrType
java.lang.Object
Raccoon.QE.AttrType
- public class AttrType
- extends java.lang.Object
AttrType : Define all attribute types and conversion between
different DBMS and Java.
- Author:
- Qi Zhong
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 |
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
AttrType
public AttrType()
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)