|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RecordTemplate
A RecordTemplate describes DataRecord and gives the field names and type informations.
DataRecord
Method Summary | |
---|---|
boolean |
checkDataRecord(DataRecord record)
Returns true if the data record is built on this template and all the constraints are ok. |
DataRecord |
getEmptyRecord()
Returns an empty DataRecord built on this template. |
int |
getFieldIndex(String fieldName)
Returns the Field index of the named field. |
String[] |
getFieldNames()
Returns all the field names of the DataRecord built on this template. |
FieldTemplate |
getFieldTemplate(String fieldName)
Returns the FieldTemplate of the named field. |
FieldTemplate[] |
getFieldTemplates()
Returns all the field templates. |
Method Detail |
---|
String[] getFieldNames()
FieldTemplate[] getFieldTemplates() throws FormException
FormException
FieldTemplate getFieldTemplate(String fieldName) throws FormException
FormException
int getFieldIndex(String fieldName) throws FormException
FormException
DataRecord getEmptyRecord() throws FormException
FormException
boolean checkDataRecord(DataRecord record)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |