|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object JTypes
JTypes defines constants used to encode Java types in the persistence mechanism and methods to convert between types and type names.
Field Summary | |
static short |
BOOLEAN
The native boolean data type. |
static short |
BYTE
The native byte data type. |
static short |
CHAR
The native char data type. |
static short |
COLLECTION
An object that implements java.util.Collection. |
static short |
DATE
An instance of the java.sql.Date class. |
static short |
DOUBLE
The native double data type. |
static short |
FLOAT
The native float data type. |
static short |
INT
The native short data type. |
static short |
LONG
The native long data type. |
static short |
OBJECT
An instance of the java.lang.Object class. |
static short |
SHORT
The native short data type. |
static short |
STRING
An instance of the java.lang.String class. |
static short |
TIMESTAMP
An instance of the java.sql.Timestamp class. |
static short |
WBOOLEAN
An instance of the java.lang.Boolean wrapper class. |
static short |
WBYTE
An instance of the java.lang.Byte wrapper class. |
static short |
WCHAR
An instance of the java.lang.Character wrapper class. |
static short |
WDOUBLE
An instance of the java.lang.Double wrapper class. |
static short |
WFLOAT
An instance of the java.lang.Float wrapper class. |
static short |
WINT
An instance of the java.lang.Integer wrapper class. |
static short |
WLONG
An instance of the java.lang.Long wrapper class. |
static short |
WSHORT
An instance of the java.lang.Short wrapper class. |
Constructor Summary | |
JTypes()
|
Method Summary | |
static String |
name(short i)
Returns the name of the JType with the specified value. |
static short |
value(String name)
Returns the value of the JType with the specified name. |
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final short BOOLEAN
public static final short BYTE
public static final short CHAR
public static final short SHORT
public static final short INT
public static final short LONG
public static final short FLOAT
public static final short DOUBLE
public static final short STRING
public static final short OBJECT
public static final short COLLECTION
public static final short DATE
public static final short WBOOLEAN
public static final short WBYTE
public static final short WCHAR
public static final short WSHORT
public static final short WINT
public static final short WLONG
public static final short WFLOAT
public static final short WDOUBLE
public static final short TIMESTAMP
Constructor Detail |
public JTypes()
Method Detail |
public static String name(short i)
i
- the value of a JType.
public static short value(String name)
name
- the name of a JType.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |