ewe.database
Interface DatabaseTypes

All Known Subinterfaces:
Database, DatabaseEntry, FoundEntries
All Known Implementing Classes:
DatabaseEntryObject, DatabaseObject, DatabaseUtils, FieldModifier, FoundEntriesObject, GetSearchCriteria, Record

public interface DatabaseTypes

This class contains constants used in the Database package.


Field Summary
static int BOOLEAN
          This is the Boolean field type.
static int BYTE_ARRAY
          This is the byte array type.
static int CREATED_FIELD
          This is the reserved "CreatedDate" field.
static int DATE
          This is for a date value (represented by ewe.sys.DayOfYear) value (saved as a 64-bit integer).
static int DATE_TIME
          This is for a date and time (represented by ewe.sys.Time) value (saved as a 64-bit integer).
static int DECIMAL
          This is for an arbitrary sized decimal number stored as an ewe.sys.Decimal.
static int DOUBLE
          This is the double precision floating point (64-bit) type.
static int FIRST_SPECIAL_FIELD
          All fields equal to and above this value are considered "special" fields, used for synchronization and other such tasks - ie the XXX_FIELD values.
static int FLAG_SYNCHRONIZED
          This is used with the FLAGS_FIELD and will specify that the entry has not been modified since last synchronized.
static int FLAGS_FIELD
          This is the reserved "EntryFlags" field.
static int INTEGER
          This is the Integer (32-bit) field type.
static int JAVA_OBJECT
          This is for an arbitrary Java Object encoded somehow as bytes.
static int LONG
          This is the Long Integer (64-bit) field type.
static int MAX_ID
          This is the maximum value a Field or Sort ID can be.
static int MODIFIED_BY_FIELD
          This is the reserved "ModifiedByWho" field.
static int MODIFIED_FIELD
          This is the reserved "ModifiedDate" field.
static int NAME_FIELD
          This is the reserved "EntryName" field.
static int OBJECT_BYTES_FIELD
          This is the reserved "ObjectBytes" field.
static int OBJECT_TEXT_FIELD
          This is the reserved "ObjectText" field.
static int OID_FIELD
          This is the reserved "EntryOID" field.
static String[] reservedFieldHeaders
           
static int[] reservedFieldIDs
           
static String[] reservedFieldNames
           
static int[] reservedFieldTypes
           
static int SORT_DATE_ONLY
          This is an option for a Sort.
static int SORT_IGNORE_CASE
          This is an option for a Sort.
static int SORT_TIME_ONLY
          This is an option for a Sort.
static int SORT_UNKNOWN_IS_GREATER_THAN_KNOWN
          This options indicates that an unknown field value (ie the field value is not set) is considered greater than a known field value.
static int SORT_UNKNOWN_IS_LESS_THAN_KNOWN
          This options indicates that an unknown field value (ie the field value is not set) is considered less than a known field value.
static int STRING
          This is the String field type.
static int TIME
          This is for a date value (represented by ewe.sys.TimeOfDay) value (saved as a 64-bit integer).
static int TIMESTAMP
          This is for a timestamp value that measures time to nanosecond precision (saved as a 64-bit integer).
 

Field Detail

INTEGER

public static final int INTEGER
This is the Integer (32-bit) field type. In a Record object, this will be represented by an ewe.sys.Long object.

See Also:
Constant Field Values

LONG

public static final int LONG
This is the Long Integer (64-bit) field type. In a Record object, this will be represented by an ewe.sys.Long object.

See Also:
Constant Field Values

BOOLEAN

public static final int BOOLEAN
This is the Boolean field type. In a Record object, this will be represented by an ewe.sys.Long object.

See Also:
Constant Field Values

STRING

public static final int STRING
This is the String field type. In a Record object, this will be represented by a ewe.util.CharArray object.

See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
This is the double precision floating point (64-bit) type. No single-precision floating point type is provided. In a Record object, this will be represented by a ewe.sys.Double object.

See Also:
Constant Field Values

BYTE_ARRAY

public static final int BYTE_ARRAY
This is the byte array type. In a Record object, this will be represented by a ewe.sys.ByteArray object.

See Also:
Constant Field Values

DATE_TIME

public static final int DATE_TIME
This is for a date and time (represented by ewe.sys.Time) value (saved as a 64-bit integer). In a Record object, this will be represented by a ewe.sys.Time object.

See Also:
Constant Field Values

DECIMAL

public static final int DECIMAL
This is for an arbitrary sized decimal number stored as an ewe.sys.Decimal. In a Record object, this will be represented by a ewe.sys.Decimal object.

See Also:
Constant Field Values

DATE

public static final int DATE
This is for a date value (represented by ewe.sys.DayOfYear) value (saved as a 64-bit integer). In a Record object, this will be represented by a ewe.sys.DayOfYear value.

See Also:
Constant Field Values

TIME

public static final int TIME
This is for a date value (represented by ewe.sys.TimeOfDay) value (saved as a 64-bit integer). In a Record object, this will be represented by a ewe.sys.TimeOfDay value.

See Also:
Constant Field Values

TIMESTAMP

public static final int TIMESTAMP
This is for a timestamp value that measures time to nanosecond precision (saved as a 64-bit integer). In a Record object, this will be represented by a ewe.sys.Long value.

See Also:
Constant Field Values

JAVA_OBJECT

public static final int JAVA_OBJECT
This is for an arbitrary Java Object encoded somehow as bytes. In a Record object, this will be represented by the decoded Java object.

See Also:
Constant Field Values

SORT_IGNORE_CASE

public static final int SORT_IGNORE_CASE
This is an option for a Sort.

See Also:
Constant Field Values

SORT_UNKNOWN_IS_LESS_THAN_KNOWN

public static final int SORT_UNKNOWN_IS_LESS_THAN_KNOWN
This options indicates that an unknown field value (ie the field value is not set) is considered less than a known field value.

See Also:
Constant Field Values

SORT_UNKNOWN_IS_GREATER_THAN_KNOWN

public static final int SORT_UNKNOWN_IS_GREATER_THAN_KNOWN
This options indicates that an unknown field value (ie the field value is not set) is considered greater than a known field value.

See Also:
Constant Field Values

SORT_DATE_ONLY

public static final int SORT_DATE_ONLY
This is an option for a Sort.

See Also:
Constant Field Values

SORT_TIME_ONLY

public static final int SORT_TIME_ONLY
This is an option for a Sort.

See Also:
Constant Field Values

FIRST_SPECIAL_FIELD

public static final int FIRST_SPECIAL_FIELD
All fields equal to and above this value are considered "special" fields, used for synchronization and other such tasks - ie the XXX_FIELD values.

See Also:
Constant Field Values

MAX_ID

public static final int MAX_ID
This is the maximum value a Field or Sort ID can be.

See Also:
Constant Field Values

NAME_FIELD

public static final int NAME_FIELD
This is the reserved "EntryName" field. It is of type String. It is not added unless you request it.

See Also:
Constant Field Values

OID_FIELD

public static final int OID_FIELD
This is the reserved "EntryOID" field. It is a 64-bit value (LONG) which should be unique to the entry. This is not added unless you request it.

See Also:
Constant Field Values

CREATED_FIELD

public static final int CREATED_FIELD
This is the reserved "CreatedDate" field. It is a 64-bit value representing when the table entry was created. This is not added unless you request it.

See Also:
Constant Field Values

MODIFIED_FIELD

public static final int MODIFIED_FIELD
This is the reserved "ModifiedDate" field. It is a 64-bit value representing when the table entry was created. This is not added unless you request it.

See Also:
Constant Field Values

FLAGS_FIELD

public static final int FLAGS_FIELD
This is the reserved "EntryFlags" field. It is a 32-bit value representing flags pertaining to the entry.

See Also:
Constant Field Values

FLAG_SYNCHRONIZED

public static final int FLAG_SYNCHRONIZED
This is used with the FLAGS_FIELD and will specify that the entry has not been modified since last synchronized.

See Also:
Constant Field Values

OBJECT_TEXT_FIELD

public static final int OBJECT_TEXT_FIELD
This is the reserved "ObjectText" field. It is a String representing the text encoded data of a stored object.

See Also:
Constant Field Values

OBJECT_BYTES_FIELD

public static final int OBJECT_BYTES_FIELD
This is the reserved "ObjectBytes" field. It is a byte array representing the byte encoded data of a stored object.

See Also:
Constant Field Values

MODIFIED_BY_FIELD

public static final int MODIFIED_BY_FIELD
This is the reserved "ModifiedByWho" field. It is a 32-bit value representing the ID of the database which modified the entry. This is not added unless you request it.

See Also:
Constant Field Values

reservedFieldNames

public static final String[] reservedFieldNames

reservedFieldHeaders

public static final String[] reservedFieldHeaders

reservedFieldIDs

public static final int[] reservedFieldIDs

reservedFieldTypes

public static final int[] reservedFieldTypes