|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFrontEndAttributeInformation
This interface represents the front-end meta-data about an attribute of a database table.
The front-end attribute information provides methods of accessing attribute's meta-data
to widgets. See IBackEndAttributeInformation
for an interface defining methods
needed by persistent layer.
Usually, the classes do not implement this interface directly. Instead, the IAttribute
interface is implemented.
Method Summary | |
---|---|
java.lang.String |
convertInternalToInput(java.lang.Object internal)
|
java.lang.String |
convertInternalToOutput(java.lang.Object internal)
|
java.lang.String |
getDescription()
Gets the description of the attribute. |
java.lang.String |
getId()
Gets the identification string of the attribute (must be unique in DataSet). |
java.lang.String |
getInitialValue()
Gets the value that is used as initial if a new record is edited by a user. |
int |
getMaximumInputLength()
Returns the maximum allowed length of user input string. |
java.lang.String |
getName()
Gets the human readable name of the attribute. |
IDataSet |
getParentDataSet()
Gets IDataSet the attribute belongs to. |
boolean |
isMandatory()
Determines whether the attribute is mandatory, i.e. it must always have a value assigned to it. |
boolean |
isPrimaryKey()
Returns true if the attribute is a primary key of parent dataset. |
java.lang.String |
preProcessConditionInput(java.lang.String input)
|
java.lang.String |
preProcessInput(java.lang.String input)
|
java.util.Collection<java.lang.String> |
validateInput(java.lang.String input)
|
Method Detail |
---|
java.lang.String getName()
java.lang.String getDescription()
boolean isMandatory()
true
if the attribute is mandatory.java.lang.String getInitialValue()
int getMaximumInputLength()
java.lang.String convertInternalToOutput(java.lang.Object internal)
internal
-
java.lang.String convertInternalToInput(java.lang.Object internal)
internal
-
java.lang.String preProcessInput(java.lang.String input)
input
-
java.lang.String preProcessConditionInput(java.lang.String input)
input
-
java.util.Collection<java.lang.String> validateInput(java.lang.String input)
input
-
java.lang.String getId()
IDataSet getParentDataSet()
IDataSet
the attribute belongs to.
IDataSet
the attribute belongs to.boolean isPrimaryKey()
true
if the attribute is a primary key of parent dataset.
true
if the attribute is a primary key of parent dataset.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |