gov.nih.nci.mageom.domain.ArrayDesign.impl
Class CompositeGroupImpl

java.lang.Object
  extended by gov.nih.nci.mageom.domain.impl.MAGEOMObject
      extended by gov.nih.nci.mageom.domain.impl.ExtendableImpl
          extended by gov.nih.nci.mageom.domain.impl.DescribableImpl
              extended by gov.nih.nci.mageom.domain.impl.IdentifiableImpl
                  extended by gov.nih.nci.mageom.domain.ArrayDesign.impl.DesignElementGroupImpl
                      extended by gov.nih.nci.mageom.domain.ArrayDesign.impl.CompositeGroupImpl
All Implemented Interfaces:
CompositeGroup, DesignElementGroup, Describable, Extendable, Identifiable, java.io.Serializable

public class CompositeGroupImpl
extends DesignElementGroupImpl
implements CompositeGroup

Allows specification of the type of Composite Design Element.

Version:
%I%, %G%
See Also:
Serialized Form

Field Summary
protected static java.util.ArrayList allAssociationMethods
           
protected static java.util.Hashtable associationMethods
           
protected  CompositeSequence[] compositeSequences
          DOCUMENT ME
protected  int compositeSequencesCount
          The count of CompositeSequence objects.
 
Fields inherited from class gov.nih.nci.mageom.domain.ArrayDesign.impl.DesignElementGroupImpl
species, speciesId, types, typesCount
 
Fields inherited from class gov.nih.nci.mageom.domain.impl.IdentifiableImpl
identifier, name
 
Fields inherited from class gov.nih.nci.mageom.domain.impl.DescribableImpl
auditTrail, auditTrailCount, descriptions, descriptionsCount, security, securityId
 
Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl
propertySets, propertySetsCount, securedElementId
 
Constructor Summary
CompositeGroupImpl()
          Default constructor
 
Method Summary
 CompositeSequence[] getCompositeSequences()
          Returns the value of this CompositeGroup object's compositeSequences attribute.
 int getCompositeSequencesCount()
          Returns the count of all CompositeSequence associated with this CompositeGroup object.
 java.util.Hashtable getXMLMethodDescriptors()
          Returns a Hashtable containing XMLMethodDescriptors descriptors of the association methods of this object.
protected  void init()
           
 CompositeGroup[] searchCompositeGroups(CompositeGroupSearchCriteria criteria)
          Returns an array of CompositeGroup objects that satisfy the given CompositeGroupSearchCriteria.
 void setCompositeSequences(CompositeSequence[] p_compositeSequences)
          Sets the compositeSequences attribute.
 java.lang.String toString()
          Returns a String representation of this object suitable for console display.
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
           
 org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
           
 org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc, java.util.ArrayList fillOutValues)
          Returns an XML representation of the object.
 
Methods inherited from class gov.nih.nci.mageom.domain.ArrayDesign.impl.DesignElementGroupImpl
getSpecies, getTypes, getTypesCount, searchDesignElementGroups, setSpecies, setTypes
 
Methods inherited from class gov.nih.nci.mageom.domain.impl.IdentifiableImpl
getIdentifier, getName, searchIdentifiables, setIdentifier, setName
 
Methods inherited from class gov.nih.nci.mageom.domain.impl.DescribableImpl
getAuditTrail, getAuditTrailCount, getDescriptions, getDescriptionsCount, getSecurity, searchDescribables, setAuditTrail, setDescriptions, setSecurity
 
Methods inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl
getPropertySets, getPropertySetsCount, getSecuredElementId, searchExtendables, setPropertySets, setSecuredElementId
 
Methods inherited from class gov.nih.nci.mageom.domain.impl.MAGEOMObject
getId, getIsEditable, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gov.nih.nci.mageom.domain.ArrayDesign.DesignElementGroup
getSpecies, getTypes, setSpecies, setTypes
 
Methods inherited from interface gov.nih.nci.mageom.domain.Identifiable
getIdentifier, getName, setIdentifier, setName
 
Methods inherited from interface gov.nih.nci.mageom.domain.Describable
getAuditTrail, getDescriptions, getSecurity, setAuditTrail, setDescriptions, setSecurity
 
Methods inherited from interface gov.nih.nci.mageom.domain.Extendable
getPropertySets, setPropertySets
 

Field Detail

allAssociationMethods

protected static java.util.ArrayList allAssociationMethods

associationMethods

protected static java.util.Hashtable associationMethods

compositeSequencesCount

protected int compositeSequencesCount
The count of CompositeSequence objects.


compositeSequences

protected CompositeSequence[] compositeSequences
DOCUMENT ME

Constructor Detail

CompositeGroupImpl

public CompositeGroupImpl()
Default constructor

Method Detail

init

protected void init()
Overrides:
init in class DesignElementGroupImpl

searchCompositeGroups

public CompositeGroup[] searchCompositeGroups(CompositeGroupSearchCriteria criteria)
                                       throws gov.nih.nci.common.search.SearchException
Returns an array of CompositeGroup objects that satisfy the given CompositeGroupSearchCriteria.

Parameters:
criteria - The CompositeGroupSearchCriteria which represents a query for CompositeGroup objects.
Returns:
An array of CompositeGroup objects.
Throws:
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchException

setCompositeSequences

public void setCompositeSequences(CompositeSequence[] p_compositeSequences)
Sets the compositeSequences attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a CompositeGroup object.

Specified by:
setCompositeSequences in interface CompositeGroup
Parameters:
p_compositeSequences - The new value for compositeSequences.
See Also:
CompositeGroup.getCompositeSequences()

getCompositeSequences

public CompositeSequence[] getCompositeSequences()
Description copied from interface: CompositeGroup
Returns the value of this CompositeGroup object's compositeSequences attribute.

Specified by:
getCompositeSequences in interface CompositeGroup
Returns:
gov.nih.nci.mageom.bean.DesignElement.CompositeSequence[] The value of compositeSequences.
See Also:
CompositeGroup.getCompositeSequences()

getCompositeSequencesCount

public int getCompositeSequencesCount()
Returns the count of all CompositeSequence associated with this CompositeGroup object.

Returns:
the count
See Also:
CompositeGroup.getCompositeSequences()

toXML

public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
Overrides:
toXML in class DesignElementGroupImpl

toXMLDoc

public org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
Overrides:
toXMLDoc in class DesignElementGroupImpl

toXMLProcessor

public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
                                          java.util.ArrayList fillOutValues)
Returns an XML representation of the object. The document is not modified.

Overrides:
toXMLProcessor in class DesignElementGroupImpl
Parameters:
doc - the working document
fillOutValues - a list of attribute names that should have full XML for their values.
Returns:
org.w3c.dom.Element an XML representation

getXMLMethodDescriptors

public java.util.Hashtable getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of the association methods of this object.

Overrides:
getXMLMethodDescriptors in class DesignElementGroupImpl
Returns:
Hashtable The Hashtable of descriptors.

toString

public java.lang.String toString()
Returns a String representation of this object suitable for console display.

Overrides:
toString in class DesignElementGroupImpl
Returns:
the String representation.