Interface FieldGroupElement.Impl
- All Superinterfaces:
PersistenceElement.Impl,PersistenceMemberElement.Impl
- All Known Subinterfaces:
ConcurrencyGroupElement.Impl
- All Known Implementing Classes:
ConcurrencyGroupElementImpl,FieldGroupElementImpl
- Enclosing class:
FieldGroupElement
Pluggable implementation of the storage of field element properties.
- See Also:
-
Field Summary
Fields inherited from interface com.sun.jdo.api.persistence.model.jdo.PersistenceElement.Impl
ADD, REMOVE, SET -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeFields(PersistenceFieldElement[] fields, int action) Change the set of fields.Find a field by name.Get all fields.Methods inherited from interface com.sun.jdo.api.persistence.model.jdo.PersistenceElement.Impl
addPropertyChangeListener, addVetoableChangeListener, attachToElement, getName, removePropertyChangeListener, removeVetoableChangeListener, setName
-
Method Details
-
changeFields
Change the set of fields.- Parameters:
fields- the new fieldsaction-PersistenceElement.Impl.ADD,PersistenceElement.Impl.REMOVE, orPersistenceElement.Impl.SET- Throws:
ModelException- if impossible
-
getFields
PersistenceFieldElement[] getFields()Get all fields.- Returns:
- the fields
-
getField
Find a field by name.- Parameters:
name- the name to match- Returns:
- the field, or
nullif it does not exist
-