An interface to represent a data column.
Implementation note: Will be backed up by a column in an SQL table.
public interface DataColumn {public int getTextAreaHeight();
public Class getType();
public boolean isRequiredForUpdate();
public String getName();
public DataScheme getAssociatedDataScheme();
public String getNameInAssociatedDataScheme();
public Sequence getChoices();
public boolean isHidden();
public boolean isSmall();
public boolean isIndirectlyHidden();
}
Inheritance Path. org.kaiwitte.workbench.data.DataColumn
Synopsis: public DataScheme getAssociatedDataScheme();
Parameters
the associated org.kaiwitte.workbench.data.DataScheme
or null
if there
is none.
Returns the associated org.kaiwitte.workbench.data.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 org.kaiwitte.workbench.data.DataScheme
that represents repair orders. Then
this method returns an otherorg.kaiwitte.workbench.data.DataScheme
which represents a customer.
Synopsis: public String getName();
Parameters
the name of this column
Returns the name of this column.
Synopsis: public String getNameInAssociatedDataScheme();
Parameters
the name in the associated org.kaiwitte.workbench.data.DataScheme
; null
iff getAssociatedDataScheme()
returns null
.
Returns the name in the associated org.kaiwitte.workbench.data.DataScheme
.
Example: customerid
Synopsis: public Class getType();
Parameters
the Java type of the column.
Returns the Java type of the column.