|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jmobilecore.dstore.FieldStructure
public class FieldStructure
A FieldStructure
represents a description of a record field
Field Summary | |
---|---|
static int |
BINARY
The BINARY type. |
static int |
BOOLEAN
The BOOLEAN type. |
static int |
INTEGER
The INTEGER type. |
java.lang.String |
name
The field name. |
static int |
NULL
The NULL value. |
static int |
STRING
The STRING type. |
int |
type
The field type. |
Constructor Summary | |
---|---|
FieldStructure(java.lang.String name,
int type)
Creates a field structure. |
Method Summary | |
---|---|
static boolean |
hasVariableLength(int type)
Reports whether the type defines data of variable size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BINARY
public static final int BOOLEAN
true
and false
public static final int INTEGER
public java.lang.String name
public static final int NULL
public static final int STRING
public int type
Constructor Detail |
---|
public FieldStructure(java.lang.String name, int type)
name
- the field name.type
- the field typeMethod Detail |
---|
public static boolean hasVariableLength(int type)
type
- the field type
true
if type is defines data of variable length, false
otherwise
|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |