|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataColumn
An interface to represent a data column.
Implementation note: Will be backed up by a column in an SQL table.
Method Summary | |
---|---|
DataScheme |
getAssociatedDataScheme()
Returns the associated DataScheme or null if there
is none. |
java.lang.String[] |
getChoices()
|
java.lang.String |
getName()
Returns the name of this column. |
java.lang.String |
getNameInAssociatedDataScheme()
Returns the name in the associated DataScheme . |
java.lang.Class |
getType()
Returns the Java type of the column. |
boolean |
isRequiredForUpdate()
Returns true iff updates can only be performed when
this column is specified. |
Method Detail |
---|
java.lang.Class getType()
boolean isRequiredForUpdate()
true
iff updates can only be performed when
this column is specified.
DataManager.update(Record)
java.lang.String getName()
DataScheme getAssociatedDataScheme()
DataScheme
or null
if there
is none. The latter is the general case.
Example: This column represents a customer id, and it
is part of a
DataScheme
that represents repair orders. Then
this method returns an DataScheme
which represents a customer.
DataScheme
or null
if there
is none.
java.lang.String getNameInAssociatedDataScheme()
DataScheme
.
Example: customerid
DataScheme
; null
iff getAssociatedDataScheme()
returns null
.java.lang.String[] getChoices()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |