| Modifier and Type | Field and Description |
|---|---|
| public static final byte | |
| public static final byte | |
| private byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| private String | |
| public static final byte | |
| public static final byte | |
| private byte | |
| private static final String[] | |
| public static final byte | |
| public static final byte | |
| private DataTypeDescriptor | |
| private static final String[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte | Returns: one of the following: SQLTYPE, JAVA_PRIMITIVE, JAVA_CLASSWhat kind of type is this: |
| public String | Returns: java class name if this is a JAVA_CLASS null if this is SQLTYPE or JAVA_PRIMITIVEIf this is a JAVA_CLASS, what is it's name? |
| public static byte | Returns: BOOLEAN, INT, ... etc if the name is that of a primitive. NOT_PRIMITIVE otherwisename of primitive name)Translate the name of a java primitive to an id |
| public byte | Returns: BOOLEAN, INT, ... if this is a JAVA_PRIMITIVE. NOT_PRIMITIVE if this is SQLTYPE or JAVA_CLASS.If this is a JAVA_PRIMITIVE, what is its name? |
| public static String | |
| public DataTypeDescriptor | |
| public int | Returns: the formatID of this classImplements org. Get the formatID which corresponds to this class. |
| public static String | Returns: name of the java wrapper class corresponding to the primitiveBOOLEAN, INT, ... etc. primitive)Gets the name of the java wrapper class corresponding to a primitive. |
| private void | |
| private void | |
| private void | |
| private void | initialize(byte
SQLTYPE, JAVA_CLASS, JAVA_PRIMITIVE category, DataTypeDescriptor corresponding SQL type if category=SQLTYPE sqlType, String corresponding java class if category=JAVA_CLASS javaClassName, byte kind of primitive if category=JAVA_PRIMITIVE primitiveKind)Initialize this JSQL type. |
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Implements java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays. |
| BOOLEAN | back to summary |
|---|---|
| public static final byte BOOLEAN | |
| BYTE | back to summary |
|---|---|
| public static final byte BYTE | |
| category | back to summary |
|---|---|
| private byte category | |
| CHAR | back to summary |
|---|---|
| public static final byte CHAR | |
| DOUBLE | back to summary |
|---|---|
| public static final byte DOUBLE | |
| FLOAT | back to summary |
|---|---|
| public static final byte FLOAT | |
| INT | back to summary |
|---|---|
| public static final byte INT | |
| JAVA_CLASS | back to summary |
|---|---|
| public static final byte JAVA_CLASS | |
| JAVA_PRIMITIVE | back to summary |
|---|---|
| public static final byte JAVA_PRIMITIVE | |
| javaClassName | back to summary |
|---|---|
| private String javaClassName | |
| LONG | back to summary |
|---|---|
| public static final byte LONG | |
| NOT_PRIMITIVE | back to summary |
|---|---|
| public static final byte NOT_PRIMITIVE | |
| primitiveKind | back to summary |
|---|---|
| private byte primitiveKind | |
| primitiveNames | back to summary |
|---|---|
| private static final String[] primitiveNames | |
| SHORT | back to summary |
|---|---|
| public static final byte SHORT | |
| SQLTYPE | back to summary |
|---|---|
| public static final byte SQLTYPE | |
| sqlType | back to summary |
|---|---|
| private DataTypeDescriptor sqlType | |
| wrapperClassNames | back to summary |
|---|---|
| private static final String[] wrapperClassNames | |
| JSQLType | back to summary |
|---|---|
| public JSQLType() Public 0-arg constructor for Formatable machinery. | |
| JSQLType | back to summary |
|---|---|
| public JSQLType(DataTypeDescriptor sqlType) Create a JSQLType from a SQL type.
| |
| JSQLType | back to summary |
|---|---|
| public JSQLType(String javaName) Create a JSQLType given the name of a Java primitive or java class.
| |
| JSQLType | back to summary |
|---|---|
| public JSQLType(byte primitiveKind) Create a JSQLType for a Java primitive.
| |
| getCategory | back to summary |
|---|---|
| public byte getCategory() What kind of type is this:
| |
| getJavaClassName | back to summary |
|---|---|
| public String getJavaClassName() If this is a JAVA_CLASS, what is it's name?
| |
| getPrimitiveID | back to summary |
|---|---|
| public static byte getPrimitiveID(String name) Translate the name of a java primitive to an id
| |
| getPrimitiveKind | back to summary |
|---|---|
| public byte getPrimitiveKind() If this is a JAVA_PRIMITIVE, what is its name?
| |
| getPrimitiveName | back to summary |
|---|---|
| public static String getPrimitiveName(byte index) | |
| getSQLType | back to summary |
|---|---|
| public DataTypeDescriptor getSQLType() throws StandardException What's our SQLTYPE?
| |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Get the formatID which corresponds to this class.
| |
| getWrapperClassName | back to summary |
|---|---|
| public static String getWrapperClassName(byte primitive) Gets the name of the java wrapper class corresponding to a primitive.
| |
| initialize | back to summary |
|---|---|
| private void initialize(byte primitiveKind) | |
| initialize | back to summary |
|---|---|
| private void initialize(DataTypeDescriptor sqlType) | |
| initialize | back to summary |
|---|---|
| private void initialize(String javaClassName) | |
| initialize | back to summary |
|---|---|
| private void initialize(byte category, DataTypeDescriptor sqlType, String javaClassName, byte primitiveKind) Initialize this JSQL type. Minion of all constructors.
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Doc from java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Doc from java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
| |