Create new FieldGroupElementImpl with no corresponding name. This constructor should only be used for cloning and archiving. this(null);
this(null);
Creates new FieldGroupElementImpl with the corresponding nameparamname the name of the element super(name); _fields = new PersistenceElementCollection(this, PROP_FIELDS, new PersistenceFieldElement[0]);
super(name); _fields = new PersistenceElementCollection(this, PROP_FIELDS, new PersistenceFieldElement[0]);
Change the set of fields.paramfields the new fieldsparamaction {@link #ADD}, {@link #REMOVE}, or {@link #SET}exceptionModelException if impossible _fields.changeElements(fields, action);
_fields.changeElements(fields, action);
Returns the field collection of this field group element. This method should only be used internally and for cloning and archiving.returnthe field collection of this field group element return _fields;
return _fields;
Find a field by name.paramname the name to matchreturnthe field, or null if it does not exist return (PersistenceFieldElement)_fields.getElement(name);
null
return (PersistenceFieldElement)_fields.getElement(name);
Get all fields.returnthe fields return (PersistenceFieldElement[])_fields.getElements();
return (PersistenceFieldElement[])_fields.getElements();
Set the field collection of this field group element to the supplied collection. This method should only be used internally and for cloning and archiving.paramcollection the field collection of this field group element _fields = collection;
_fields = collection;