|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Field
A Field is column of a table.
| Field Summary | |
|---|---|
static int |
CALC_AVG
The constant indicating that a field has AVG calcuating mode. |
static int |
CALC_COUNT
The constant indicating that a field has COUNT calcuating mode. |
static int |
CALC_MAX
The constant indicating that a field has MAX calcuating mode. |
static int |
CALC_MIN
The constant indicating that a field has MIN calcuating mode. |
static int |
CALC_NONE
The constant indicating that a field has not a calcuating mode. |
static int |
CALC_SUM
The constant indicating that a field has SUM calcuating mode. |
static int |
DefaultAttributes
The constant of field's default attributes . |
static int |
Identity
The constant indicating that a field is an identity field. |
static int |
NotNull
The constant indicating that a field disallows NULL
values. |
static int |
PrimaryKey
The constant indicating that a field is a primary key. |
static int |
Unique
The constant indicating that a field is an unique field. |
| Method Summary | |
|---|---|
Field |
createClone()
Clone a Field |
FieldValue |
createFieldValue()
Generates FieldValue object and the value of the field
fill in with field's default value. |
int |
getCalculating()
Retrieves the calcuating mode of this field. |
java.lang.String |
getDispName()
Gets the field's suggested title for use in printouts and displays. |
java.lang.String |
getFullyQualifiedName()
Get the table name + field name. |
JDBCType |
getJDBCType()
Retrieves the field's JDBC type. |
Table |
getParentTable()
Retrieves the parent table of this field. |
int |
getSize()
Get the field's size of string. |
java.lang.String |
getTableName()
Gets the field's parent table name. |
boolean |
isIdentity()
Indicates whether the field is an identity field. |
boolean |
isNotNull()
Indicates whether the field disallows NULL values. |
boolean |
isPrimaryKey()
Indicates whether the field is a primary key. |
boolean |
isUnique()
Indicates whether the field is an unique field. |
| Methods inherited from interface jet.server.api.db.DBObject |
|---|
getName, getProperties, getProperty, getProperty, getUCName, setProperty |
| Field Detail |
|---|
static final int DefaultAttributes
static final int NotNull
NULL
values.
static final int Identity
static final int Unique
static final int PrimaryKey
static final int CALC_NONE
static final int CALC_COUNT
static final int CALC_SUM
static final int CALC_AVG
static final int CALC_MAX
static final int CALC_MIN
| Method Detail |
|---|
Table getParentTable()
JDBCType getJDBCType()
int getSize()
boolean isNotNull()
NULL values.
true if so; false otherwiseboolean isIdentity()
true if so; false otherwiseboolean isUnique()
true if so; false otherwiseboolean isPrimaryKey()
true if so; false otherwiseint getCalculating()
int indecates the calcuating mode.FieldValue createFieldValue()
FieldValue object and the value of the field
fill in with field's default value.
FieldValuejava.lang.String getTableName()
java.lang.String getDispName()
java.lang.String getFullyQualifiedName()
Field createClone()
Field
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||