Interface CompositeObject
- All Known Implementing Classes:
CompositeFieldMetaData
,RecordMetaData
public interface CompositeObject
Purpose: This interface defines api for composite fields/records. It exists so that
a composite object can be referred to generically within the parser.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addField
(FieldMetaData field) this method adds a field to the fields VectorgetFieldNamed
(String fieldName) this method returns a field, if such a field exists, by the given namethis method returns a Vector of fields that the object containsgetName()
this method returns the name of the objectvoid
setFields
(Vector<FieldMetaData> fields) this method sets the fields to the new values
-
Method Details
-
getName
String getName()this method returns the name of the object -
getFields
Vector<FieldMetaData> getFields()this method returns a Vector of fields that the object contains -
setFields
this method sets the fields to the new values -
addField
this method adds a field to the fields Vector -
getFieldNamed
this method returns a field, if such a field exists, by the given name
-