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

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.BioAssayData.impl.BioAssayDatumImpl
All Implemented Interfaces:
BioAssayDatum, Extendable, java.io.Serializable

public class BioAssayDatumImpl
extends ExtendableImpl
implements BioAssayDatum

A single cell of the quantitation, bioAssay, designElement matrix.

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

Field Summary
protected static java.util.ArrayList allAssociationMethods
           
protected static java.util.Hashtable associationMethods
           
protected  BioAssay bioAssay
          DOCUMENT ME
protected  java.lang.Long bioAssayId
          The internal ID of the associated bioAssay object.
protected  DesignElement designElement
          DOCUMENT ME
protected  java.lang.Long designElementId
          The internal ID of the associated designElement object.
protected  QuantitationType quantitationType
          DOCUMENT ME
protected  java.lang.Long quantitationTypeId
          The internal ID of the associated quantitationType object.
protected  java.lang.Object value
          The datum value.
 
Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl
propertySets, propertySetsCount, securedElementId
 
Constructor Summary
BioAssayDatumImpl()
          Default constructor
 
Method Summary
 BioAssay getBioAssay()
          Returns the value of this BioAssayDatum object's bioAssay attribute.
 java.lang.Long getBioAssayId()
           
 DesignElement getDesignElement()
          Returns the value of this BioAssayDatum object's designElement attribute.
 java.lang.Long getDesignElementId()
           
 QuantitationType getQuantitationType()
          Returns the value of this BioAssayDatum object's quantitationType attribute.
 java.lang.Long getQuantitationTypeId()
           
 java.lang.Object getValue()
          Returns the value of this BioAssayDatum object's value attribute.
 java.util.Hashtable getXMLMethodDescriptors()
          Returns a Hashtable containing XMLMethodDescriptors descriptors of the association methods of this object.
protected  void init()
           
 BioAssayDatum[] searchBioAssayDatums(BioAssayDatumSearchCriteria criteria)
          Returns an array of BioAssayDatum objects that satisfy the given BioAssayDatumSearchCriteria.
 void setBioAssay(BioAssay p_bioAssay)
          Sets the bioAssay attribute.
 void setBioAssayId(java.lang.Long bioAssayId)
           
 void setDesignElement(DesignElement p_designElement)
          Sets the designElement attribute.
 void setDesignElementId(java.lang.Long designElementId)
           
 void setQuantitationType(QuantitationType p_quantitationType)
          Sets the quantitationType attribute.
 void setQuantitationTypeId(java.lang.Long quantitationTypeId)
           
 void setValue(java.lang.Object p_value)
          Sets the value 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.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.Extendable
getPropertySets, setPropertySets
 

Field Detail

allAssociationMethods

protected static java.util.ArrayList allAssociationMethods

associationMethods

protected static java.util.Hashtable associationMethods

value

protected java.lang.Object value
The datum value.


designElement

protected DesignElement designElement
DOCUMENT ME


designElementId

protected java.lang.Long designElementId
The internal ID of the associated designElement object.


quantitationType

protected QuantitationType quantitationType
DOCUMENT ME


quantitationTypeId

protected java.lang.Long quantitationTypeId
The internal ID of the associated quantitationType object.


bioAssay

protected BioAssay bioAssay
DOCUMENT ME


bioAssayId

protected java.lang.Long bioAssayId
The internal ID of the associated bioAssay object.

Constructor Detail

BioAssayDatumImpl

public BioAssayDatumImpl()
Default constructor

Method Detail

getBioAssayId

public java.lang.Long getBioAssayId()
Returns:
Returns the bioAssayId.

setBioAssayId

public void setBioAssayId(java.lang.Long bioAssayId)
Parameters:
bioAssayId - The bioAssayId to set.

getDesignElementId

public java.lang.Long getDesignElementId()
Returns:
Returns the designElementId.

setDesignElementId

public void setDesignElementId(java.lang.Long designElementId)
Parameters:
designElementId - The designElementId to set.

getQuantitationTypeId

public java.lang.Long getQuantitationTypeId()
Returns:
Returns the quantitationTypeId.

setQuantitationTypeId

public void setQuantitationTypeId(java.lang.Long quantitationTypeId)
Parameters:
quantitationTypeId - The quantitationTypeId to set.

init

protected void init()
Overrides:
init in class ExtendableImpl

searchBioAssayDatums

public BioAssayDatum[] searchBioAssayDatums(BioAssayDatumSearchCriteria criteria)
                                     throws gov.nih.nci.common.search.SearchException
Returns an array of BioAssayDatum objects that satisfy the given BioAssayDatumSearchCriteria.

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

setValue

public void setValue(java.lang.Object p_value)
Sets the value attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a BioAssayDatum object.

Specified by:
setValue in interface BioAssayDatum
Parameters:
p_value - The new value for value.
See Also:
BioAssayDatum.getValue()

getValue

public java.lang.Object getValue()
Description copied from interface: BioAssayDatum
Returns the value of this BioAssayDatum object's value attribute. Description of value: The datum value.

Specified by:
getValue in interface BioAssayDatum
Returns:
any The value of value.
See Also:
BioAssayDatum.getValue()

setDesignElement

public void setDesignElement(DesignElement p_designElement)
Sets the designElement attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a BioAssayDatum object.

Specified by:
setDesignElement in interface BioAssayDatum
Parameters:
p_designElement - The new value for designElement.
See Also:
BioAssayDatum.getDesignElement()

getDesignElement

public DesignElement getDesignElement()
Description copied from interface: BioAssayDatum
Returns the value of this BioAssayDatum object's designElement attribute.

Specified by:
getDesignElement in interface BioAssayDatum
Returns:
gov.nih.nci.mageom.bean.DesignElement.DesignElement The value of designElement.
See Also:
BioAssayDatum.getDesignElement()

setQuantitationType

public void setQuantitationType(QuantitationType p_quantitationType)
Sets the quantitationType attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a BioAssayDatum object.

Specified by:
setQuantitationType in interface BioAssayDatum
Parameters:
p_quantitationType - The new value for quantitationType.
See Also:
BioAssayDatum.getQuantitationType()

getQuantitationType

public QuantitationType getQuantitationType()
Description copied from interface: BioAssayDatum
Returns the value of this BioAssayDatum object's quantitationType attribute.

Specified by:
getQuantitationType in interface BioAssayDatum
Returns:
gov.nih.nci.mageom.bean.QuantitationType.QuantitationType The value of quantitationType.
See Also:
BioAssayDatum.getQuantitationType()

setBioAssay

public void setBioAssay(BioAssay p_bioAssay)
Sets the bioAssay attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a BioAssayDatum object.

Specified by:
setBioAssay in interface BioAssayDatum
Parameters:
p_bioAssay - The new value for bioAssay.
See Also:
BioAssayDatum.getBioAssay()

getBioAssay

public BioAssay getBioAssay()
Description copied from interface: BioAssayDatum
Returns the value of this BioAssayDatum object's bioAssay attribute.

Specified by:
getBioAssay in interface BioAssayDatum
Returns:
gov.nih.nci.mageom.bean.BioAssay.BioAssay The value of bioAssay.
See Also:
BioAssayDatum.getBioAssay()

toXML

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

toXMLDoc

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

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