gov.nih.nci.mageom.domain.BioAssay.impl
Class BioAssayCreationImpl

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.BioAssay.impl.BioAssayCreationImpl
All Implemented Interfaces:
BioAssayCreation, BioEvent, Describable, Extendable, Identifiable, java.io.Serializable
Direct Known Subclasses:
HybridizationImpl

public class BioAssayCreationImpl
extends BioEventImpl
implements BioAssayCreation

The process by which an array and one or more biomaterials are combined to create a bioAssayCreation.

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

Field Summary
protected static java.util.ArrayList allAssociationMethods
           
protected  Array array
          DOCUMENT ME
protected  java.lang.Long arrayId
          The internal ID of the associated array object.
protected static java.util.Hashtable associationMethods
           
protected  PhysicalBioAssay physicalBioAssayTarget
          DOCUMENT ME
protected  java.lang.Long physicalBioAssayTargetId
          The internal ID of the associated physicalBioAssayTarget object.
protected  BioMaterialMeasurement[] sourceBioMaterialMeasurements
          DOCUMENT ME
protected  int sourceBioMaterialMeasurementsCount
          The count of BioMaterialMeasurement 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
BioAssayCreationImpl()
          Default constructor
 
Method Summary
 Array getArray()
          Returns the value of this BioAssayCreation object's array attribute.
 PhysicalBioAssay getPhysicalBioAssayTarget()
          Returns the value of this BioAssayCreation object's physicalBioAssayTarget attribute.
 BioMaterialMeasurement[] getSourceBioMaterialMeasurements()
          Returns the value of this BioAssayCreation object's sourceBioMaterialMeasurements attribute.
 int getSourceBioMaterialMeasurementsCount()
          Returns the count of all BioMaterialMeasurement associated with this BioAssayCreation object.
 java.util.Hashtable getXMLMethodDescriptors()
          Returns a Hashtable containing XMLMethodDescriptors descriptors of the association methods of this object.
protected  void init()
           
 BioAssayCreation[] searchBioAssayCreations(BioAssayCreationSearchCriteria criteria)
          Returns an array of BioAssayCreation objects that satisfy the given BioAssayCreationSearchCriteria.
 void setArray(Array p_array)
          Sets the array attribute.
 void setPhysicalBioAssayTarget(PhysicalBioAssay p_physicalBioAssayTarget)
          Sets the physicalBioAssayTarget attribute.
 void setSourceBioMaterialMeasurements(BioMaterialMeasurement[] p_sourceBioMaterialMeasurements)
          Sets the sourceBioMaterialMeasurements 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.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

array

protected Array array
DOCUMENT ME


arrayId

protected java.lang.Long arrayId
The internal ID of the associated array object.


sourceBioMaterialMeasurementsCount

protected int sourceBioMaterialMeasurementsCount
The count of BioMaterialMeasurement objects.


sourceBioMaterialMeasurements

protected BioMaterialMeasurement[] sourceBioMaterialMeasurements
DOCUMENT ME


physicalBioAssayTarget

protected PhysicalBioAssay physicalBioAssayTarget
DOCUMENT ME


physicalBioAssayTargetId

protected java.lang.Long physicalBioAssayTargetId
The internal ID of the associated physicalBioAssayTarget object.

Constructor Detail

BioAssayCreationImpl

public BioAssayCreationImpl()
Default constructor

Method Detail

init

protected void init()
Overrides:
init in class BioEventImpl

searchBioAssayCreations

public BioAssayCreation[] searchBioAssayCreations(BioAssayCreationSearchCriteria criteria)
                                           throws gov.nih.nci.common.search.SearchException
Returns an array of BioAssayCreation objects that satisfy the given BioAssayCreationSearchCriteria.

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

setArray

public void setArray(Array p_array)
Sets the array attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a BioAssayCreation object.

Specified by:
setArray in interface BioAssayCreation
Parameters:
p_array - The new value for array.
See Also:
BioAssayCreation.getArray()

getArray

public Array getArray()
Description copied from interface: BioAssayCreation
Returns the value of this BioAssayCreation object's array attribute.

Specified by:
getArray in interface BioAssayCreation
Returns:
gov.nih.nci.mageom.bean.Array.Array The value of array.
See Also:
BioAssayCreation.getArray()

setSourceBioMaterialMeasurements

public void setSourceBioMaterialMeasurements(BioMaterialMeasurement[] p_sourceBioMaterialMeasurements)
Sets the sourceBioMaterialMeasurements attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a BioAssayCreation object.

Specified by:
setSourceBioMaterialMeasurements in interface BioAssayCreation
Parameters:
p_sourceBioMaterialMeasurements - The new value for sourceBioMaterialMeasurements.
See Also:
BioAssayCreation.getSourceBioMaterialMeasurements()

getSourceBioMaterialMeasurements

public BioMaterialMeasurement[] getSourceBioMaterialMeasurements()
Description copied from interface: BioAssayCreation
Returns the value of this BioAssayCreation object's sourceBioMaterialMeasurements attribute.

Specified by:
getSourceBioMaterialMeasurements in interface BioAssayCreation
Returns:
gov.nih.nci.mageom.bean.BioMaterial.BioMaterialMeasurement[] The value of sourceBioMaterialMeasurements.
See Also:
BioAssayCreation.getSourceBioMaterialMeasurements()

setPhysicalBioAssayTarget

public void setPhysicalBioAssayTarget(PhysicalBioAssay p_physicalBioAssayTarget)
Sets the physicalBioAssayTarget attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a BioAssayCreation object.

Specified by:
setPhysicalBioAssayTarget in interface BioAssayCreation
Parameters:
p_physicalBioAssayTarget - The new value for physicalBioAssayTarget.
See Also:
BioAssayCreation.getPhysicalBioAssayTarget()

getPhysicalBioAssayTarget

public PhysicalBioAssay getPhysicalBioAssayTarget()
Description copied from interface: BioAssayCreation
Returns the value of this BioAssayCreation object's physicalBioAssayTarget attribute.

Specified by:
getPhysicalBioAssayTarget in interface BioAssayCreation
Returns:
gov.nih.nci.mageom.bean.BioAssay.PhysicalBioAssay The value of physicalBioAssayTarget.
See Also:
BioAssayCreation.getPhysicalBioAssayTarget()

getSourceBioMaterialMeasurementsCount

public int getSourceBioMaterialMeasurementsCount()
Returns the count of all BioMaterialMeasurement associated with this BioAssayCreation object.

Returns:
the count
See Also:
BioAssayCreation.getSourceBioMaterialMeasurements()

toXML

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

toXMLDoc

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

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