public interface FieldElementHolder
| Modifier and Type | Method and Description |
|---|---|
void |
addField(PersistenceFieldElement field)
Add the supplied field to the collection of fields maintained by this
holder.
|
void |
addFields(PersistenceFieldElement[] fields)
Add the supplied fields to the collection of fields maintained by this
holder.
|
boolean |
containsField(PersistenceFieldElement field)
Tests whether the supplied field is in the collection of fields
maintained by this holder.
|
PersistenceFieldElement |
getField(String name)
Returns the field with the supplied name from the collection of fields
maintained by this holder.
|
PersistenceFieldElement[] |
getFields()
Returns the collection of fields maintained by this holder in the form
of an array.
|
void |
removeField(PersistenceFieldElement field)
Remove the supplied field from the collection of fields maintained by
this holder.
|
void |
removeFields(PersistenceFieldElement[] fields)
Removed the supplied fields from the collection of fields maintained
by this holder.
|
void |
setFields(PersistenceFieldElement[] fields)
Sets the collection of fields maintained by this holder to the contents
of the supplied array.
|
void addField(PersistenceFieldElement field) throws ModelException
field - the field to be addedModelException - if impossiblevoid addFields(PersistenceFieldElement[] fields) throws ModelException
fields - the array of fields to be addedModelException - if impossiblevoid removeField(PersistenceFieldElement field) throws ModelException
field - the field to be removedModelException - if impossiblevoid removeFields(PersistenceFieldElement[] fields) throws ModelException
fields - the array of fields to be removedModelException - if impossiblePersistenceFieldElement[] getFields()
void setFields(PersistenceFieldElement[] fields) throws ModelException
fields - the fields maintained by this holderModelException - if impossiblePersistenceFieldElement getField(String name)
name - the name to matchnull if none existsboolean containsField(PersistenceFieldElement field)
field - the field to be testedCopyright © 2013. All Rights Reserved.