|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldTemplate
A FieldTemplate describes a specific field of a DataRecord. A FieldTemplate gives the field name, type information and display information.
DataRecord
,
RecordTemplate
Method Summary | |
---|---|
String |
getDisplayerName()
Returns the name of the FieldDisplayer to display the described field. |
Field |
getEmptyField()
Returns an empty Field built on this template. |
Field |
getEmptyField(int occurrence)
|
String |
getFieldName()
Returns the field name of the Field built on this template. |
String |
getLabel()
Returns the label of the described field (in the default locale). |
String |
getLabel(String lang)
Returns the local label of the described field. |
String[] |
getLanguages()
Returns the locals |
int |
getMaximumNumberOfOccurrences()
|
Map<String,String> |
getParameters(String language)
Returns a Map (String -> String) of named parameters which can be used by the displayer (max-size, length ...). |
List<Parameter> |
getParametersObj()
|
String |
getTemplateName()
|
String |
getTypeName()
Returns the type name of the described field. |
boolean |
isDisabled()
Returns true when the described field must be disabled. |
boolean |
isHidden()
Returns true when the described field must be hidden. |
boolean |
isMandatory()
Returns true when the described field must have a value. |
boolean |
isReadOnly()
Returns true when the described field can't be updated. |
boolean |
isRepeatable()
|
boolean |
isSearchable()
|
boolean |
isUsedAsFacet()
|
Method Detail |
---|
String getFieldName()
String getTypeName()
String getDisplayerName()
String getLabel()
String getLabel(String lang)
String[] getLanguages()
boolean isMandatory()
boolean isReadOnly()
boolean isDisabled()
boolean isHidden()
Map<String,String> getParameters(String language)
List<Parameter> getParametersObj()
Field getEmptyField() throws FormException
FormException
Field getEmptyField(int occurrence) throws FormException
FormException
boolean isSearchable()
String getTemplateName()
boolean isUsedAsFacet()
int getMaximumNumberOfOccurrences()
boolean isRepeatable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |