|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mckoi.database.global.TypeUtil
public class TypeUtil
Utility for converting to and from 'Types' objects.
Constructor Summary | |
---|---|
TypeUtil()
|
Method Summary | |
---|---|
static java.lang.Class |
toClass(int type)
Converts from a db type to a Class object. |
static int |
toDBType(java.lang.Class clazz)
Converts from a Class object to a type as specified in Types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeUtil()
Method Detail |
---|
public static int toDBType(java.lang.Class clazz)
public static java.lang.Class toClass(int type)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |