Identifying Genero data types in Java code
Java data types and Genero data types are different. To identify Genero
types in Java code, you can use the com.fourjs.fgl.lang.FglTypes
class implemented in $FGLDIR/lib/fgl.jar.
You can, for example, identify the data type of a member of an FglRecord object.
You must add $FGLDIR/lib/fgl.jar to the class
path in order to compile Java code with com.fourjs.fgl.lang.FglType
class.
The com.fourjs.fgl.lang.FglTypes
class implements the following:
Field | Corresponding data type |
---|---|
|
ARRAY object |
|
BIGINT |
|
BOLEAN |
|
BYTE |
|
CHAR |
|
DATE |
|
DATETIME |
|
DECIMAL |
|
An FGL object like base.Channel . |
|
FLOAT |
|
INTEGER |
|
INTERVAL |
|
A Java object like java.lang.String . |
|
MONEY |
|
RECORD structure |
|
SMALLFLOAT |
|
SMALLINT |
|
STRING |
|
TEXT |
|
TINYINT |
|
VARCHAR |