|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITableField
This interface represents the definition of a field within a data source table.
| Method Summary | |
|---|---|
java.lang.String |
getDBName()
Returns the database name, i.e. the name of the respective database column, of the table field. |
int |
getFieldIndex()
Returns the column field index of this table field. |
java.lang.String |
getLabel()
Returns the label of this table field. |
IKey |
getMatchingForeignKey()
Convenient method to determine whether the given field is part of a foreign key. |
ITableDefinition |
getTableDefinition()
Returns the table definition of this table field. |
FieldType |
getType()
Returns the type of this table field. |
boolean |
isEnabledForHistory()
Checks whether this table field is enabled for history, i.e. changing the field value should be logged in the change history of the corresponding data table record. |
boolean |
isPrimary()
Convenient method to determine whether the given field belongs to the primary key of the corresponding table. |
boolean |
isReadOnly()
Checks whether this table field is readonly or not. |
boolean |
isRequired()
Checks whether this table field is required or not. |
| Methods inherited from interface de.tif.jacob.core.definition.INamedObjectDefinition |
|---|
getDescription, getName, getProperty |
| Method Detail |
|---|
java.lang.String getDBName()
java.lang.String getLabel()
Note: The label could be internationalized, if the label starts with a '%' character. In this case the label is interpreted as a key to the respective application resource bundles for internationalization.
int getFieldIndex()
ITableDefinition getTableDefinition()
boolean isRequired()
null or to be more precise, a table
record with empty required table field value could not be committed to the
data source.
true if required, otherwise falseboolean isReadOnly()
true if readonly, otherwise falseFieldType getType()
Note that this method is currently for internal use only!
boolean isEnabledForHistory()
true if enabled for history, otherwise
falseIKey getMatchingForeignKey()
null
if no such foreign key exists.boolean isPrimary()
true field is part of the primary key, otherwise false
|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||