net.sourceforge.pain.db
Class DbType
java.lang.Object
net.sourceforge.pain.db.DbType
- public final class DbType
- extends java.lang.Object
All supported PAiN DB field types
Method Summary |
static boolean |
isArray(int type)
|
static boolean |
isCollection(int type)
|
static java.lang.String |
name(int type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BOOLEAN
public static final int BOOLEAN
- See Also:
- Constant Field Values
BYTE
public static final int BYTE
- See Also:
- Constant Field Values
CHAR
public static final int CHAR
- See Also:
- Constant Field Values
DOUBLE
public static final int DOUBLE
- See Also:
- Constant Field Values
FLOAT
public static final int FLOAT
- See Also:
- Constant Field Values
INT
public static final int INT
- See Also:
- Constant Field Values
LONG
public static final int LONG
- See Also:
- Constant Field Values
SHORT
public static final int SHORT
- See Also:
- Constant Field Values
STRING
public static final int STRING
- See Also:
- Constant Field Values
REFERENCE
public static final int REFERENCE
- See Also:
- Constant Field Values
ARRAY_OF_BYTE
public static final int ARRAY_OF_BYTE
- See Also:
- Constant Field Values
ARRAY_OF_CHAR
public static final int ARRAY_OF_CHAR
- See Also:
- Constant Field Values
ARRAY_OF_INT
public static final int ARRAY_OF_INT
- See Also:
- Constant Field Values
ARRAY_OF_STRING
public static final int ARRAY_OF_STRING
- See Also:
- Constant Field Values
LINKED_LIST
public static final int LINKED_LIST
- See Also:
- Constant Field Values
ARRAY_LIST
public static final int ARRAY_LIST
- See Also:
- Constant Field Values
INT_KEY_MAP
public static final int INT_KEY_MAP
- See Also:
- Constant Field Values
STRING_KEY_MAP
public static final int STRING_KEY_MAP
- See Also:
- Constant Field Values
REFERENCE_SET
public static final int REFERENCE_SET
- See Also:
- Constant Field Values
STRING_SET
public static final int STRING_SET
- See Also:
- Constant Field Values
STRING_MAP
public static final int STRING_MAP
- See Also:
- Constant Field Values
DbType
public DbType()
name
public static java.lang.String name(int type)
- Returns:
- String name for the specified type
isArray
public static boolean isArray(int type)
isCollection
public static boolean isCollection(int type)