FileDocCategorySizeDatePackage
FieldElementHolder.javaAPI DocGlassfish v2 API4274Fri May 04 22:34:42 BST 2007com.sun.jdo.api.persistence.model.jdo

FieldElementHolder

public interface FieldElementHolder
author
raccah
version
%I%

Fields Summary
Constructors Summary
Methods Summary
public voidaddField(PersistenceFieldElement field)
Add the supplied field to the collection of fields maintained by this holder.

param
field the field to be added
exception
ModelException if impossible

public voidaddFields(PersistenceFieldElement[] fields)
Add the supplied fields to the collection of fields maintained by this holder.

param
fields the array of fields to be added
exception
ModelException if impossible

public booleancontainsField(PersistenceFieldElement field)
Tests whether the supplied field is in the collection of fields maintained by this holder.

param
field the field to be tested

public PersistenceFieldElementgetField(java.lang.String name)
Returns the field with the supplied name from the collection of fields maintained by this holder.

param
name the name to match
return
the field with the supplied name, null if none exists

public PersistenceFieldElement[]getFields()
Returns the collection of fields maintained by this holder in the form of an array.

return
the fields maintained by this holder

public voidremoveField(PersistenceFieldElement field)
Remove the supplied field from the collection of fields maintained by this holder.

param
field the field to be removed
exception
ModelException if impossible

public voidremoveFields(PersistenceFieldElement[] fields)
Removed the supplied fields from the collection of fields maintained by this holder.

param
fields the array of fields to be removed
exception
ModelException if impossible

public voidsetFields(PersistenceFieldElement[] fields)
Sets the collection of fields maintained by this holder to the contents of the supplied array.

param
fields the fields maintained by this holder
exception
ModelException if impossible