Interface FieldGroupElement.Impl
-
- All Superinterfaces:
PersistenceElement.Impl
,PersistenceMemberElement.Impl
- All Known Subinterfaces:
ConcurrencyGroupElement.Impl
- All Known Implementing Classes:
ConcurrencyGroupElementImpl
,FieldGroupElementImpl
- Enclosing class:
- FieldGroupElement
public static interface FieldGroupElement.Impl extends PersistenceMemberElement.Impl
Pluggable implementation of the storage of field element properties.
-
-
Field Summary
-
Fields inherited from interface com.sun.jdo.api.persistence.model.jdo.PersistenceElement.Impl
ADD, REMOVE, SET
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
changeFields(PersistenceFieldElement[] fields, int action)
Change the set of fields.PersistenceFieldElement
getField(String name)
Find a field by name.PersistenceFieldElement[]
getFields()
Get all fields.-
Methods inherited from interface com.sun.jdo.api.persistence.model.jdo.PersistenceElement.Impl
addPropertyChangeListener, addVetoableChangeListener, attachToElement, getName, removePropertyChangeListener, removeVetoableChangeListener, setName
-
-
-
-
Method Detail
-
changeFields
void changeFields(PersistenceFieldElement[] fields, int action) throws ModelException
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
PersistenceFieldElement getField(String name)
Find a field by name.- Parameters:
name
- the name to match- Returns:
- the field, or
null
if it does not exist
-
-