gov.nih.nci.mageom.domain.BioAssayData.impl
Class BioAssayMapImpl

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.BioEvent.impl.BioEventImpl
                      extended by gov.nih.nci.mageom.domain.BioEvent.impl.MapImpl
                          extended by gov.nih.nci.mageom.domain.BioAssayData.impl.BioAssayMapImpl
All Implemented Interfaces:
BioAssayMap, BioEvent, Map, Describable, Extendable, Identifiable, java.io.Serializable

public class BioAssayMapImpl
extends MapImpl
implements BioAssayMap

The BioAssayMap is the description of how source MeasuredBioAssays and/or DerivedBioAssays are manipulated (mathematically) to produce DerivedBioAssays.

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

Field Summary
protected static java.util.ArrayList allAssociationMethods
           
protected static java.util.Hashtable associationMethods
           
protected  DerivedBioAssay bioAssayMapTarget
          DOCUMENT ME
protected  java.lang.Long bioAssayMapTargetId
          The internal ID of the associated bioAssayMapTarget object.
protected  BioAssay[] sourceBioAssays
          DOCUMENT ME
protected  int sourceBioAssaysCount
          The count of BioAssay objects.
 
Fields inherited from class gov.nih.nci.mageom.domain.BioEvent.impl.BioEventImpl
protocolApplications, protocolApplicationsCount
 
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
BioAssayMapImpl()
          Default constructor
 
Method Summary
 DerivedBioAssay getBioAssayMapTarget()
          Returns the value of this BioAssayMap object's bioAssayMapTarget attribute.
 BioAssay[] getSourceBioAssays()
          Returns the value of this BioAssayMap object's sourceBioAssays attribute.
 int getSourceBioAssaysCount()
          Returns the count of all BioAssay associated with this BioAssayMap object.
 java.util.Hashtable getXMLMethodDescriptors()
          Returns a Hashtable containing XMLMethodDescriptors descriptors of the association methods of this object.
protected  void init()
           
 BioAssayMap[] searchBioAssayMaps(BioAssayMapSearchCriteria criteria)
          Returns an array of BioAssayMap objects that satisfy the given BioAssayMapSearchCriteria.
 void setBioAssayMapTarget(DerivedBioAssay p_bioAssayMapTarget)
          Sets the bioAssayMapTarget attribute.
 void setSourceBioAssays(BioAssay[] p_sourceBioAssays)
          Sets the sourceBioAssays 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.BioEvent.impl.MapImpl
searchMaps
 
Methods inherited from class gov.nih.nci.mageom.domain.BioEvent.impl.BioEventImpl
getProtocolApplications, getProtocolApplicationsCount, searchBioEvents, setProtocolApplications
 
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.BioEvent.BioEvent
getProtocolApplications, setProtocolApplications
 
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

bioAssayMapTarget

protected DerivedBioAssay bioAssayMapTarget
DOCUMENT ME


bioAssayMapTargetId

protected java.lang.Long bioAssayMapTargetId
The internal ID of the associated bioAssayMapTarget object.


sourceBioAssaysCount

protected int sourceBioAssaysCount
The count of BioAssay objects.


sourceBioAssays

protected BioAssay[] sourceBioAssays
DOCUMENT ME

Constructor Detail

BioAssayMapImpl

public BioAssayMapImpl()
Default constructor

Method Detail

init

protected void init()
Overrides:
init in class MapImpl

searchBioAssayMaps

public BioAssayMap[] searchBioAssayMaps(BioAssayMapSearchCriteria criteria)
                                 throws gov.nih.nci.common.search.SearchException
Returns an array of BioAssayMap objects that satisfy the given BioAssayMapSearchCriteria.

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

setBioAssayMapTarget

public void setBioAssayMapTarget(DerivedBioAssay p_bioAssayMapTarget)
Sets the bioAssayMapTarget attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a BioAssayMap object.

Specified by:
setBioAssayMapTarget in interface BioAssayMap
Parameters:
p_bioAssayMapTarget - The new value for bioAssayMapTarget.
See Also:
BioAssayMap.getBioAssayMapTarget()

getBioAssayMapTarget

public DerivedBioAssay getBioAssayMapTarget()
Description copied from interface: BioAssayMap
Returns the value of this BioAssayMap object's bioAssayMapTarget attribute.

Specified by:
getBioAssayMapTarget in interface BioAssayMap
Returns:
gov.nih.nci.mageom.bean.BioAssay.DerivedBioAssay The value of bioAssayMapTarget.
See Also:
BioAssayMap.getBioAssayMapTarget()

setSourceBioAssays

public void setSourceBioAssays(BioAssay[] p_sourceBioAssays)
Sets the sourceBioAssays attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a BioAssayMap object.

Specified by:
setSourceBioAssays in interface BioAssayMap
Parameters:
p_sourceBioAssays - The new value for sourceBioAssays.
See Also:
BioAssayMap.getSourceBioAssays()

getSourceBioAssays

public BioAssay[] getSourceBioAssays()
Description copied from interface: BioAssayMap
Returns the value of this BioAssayMap object's sourceBioAssays attribute.

Specified by:
getSourceBioAssays in interface BioAssayMap
Returns:
gov.nih.nci.mageom.bean.BioAssay.BioAssay[] The value of sourceBioAssays.
See Also:
BioAssayMap.getSourceBioAssays()

getSourceBioAssaysCount

public int getSourceBioAssaysCount()
Returns the count of all BioAssay associated with this BioAssayMap object.

Returns:
the count
See Also:
BioAssayMap.getSourceBioAssays()

toXML

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

toXMLDoc

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

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 MapImpl
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 MapImpl
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 MapImpl
Returns:
the String representation.