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

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.BioAssayMappingImpl
All Implemented Interfaces:
BioAssayMapping, Extendable, java.io.Serializable

public class BioAssayMappingImpl
extends ExtendableImpl
implements BioAssayMapping

Container of the mappings of the input BioAssay dimensions to the output BioAssay dimension.

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

Field Summary
protected static java.util.ArrayList allAssociationMethods
           
protected static java.util.Hashtable associationMethods
           
protected  BioAssayMap[] bioAssayMaps
          DOCUMENT ME
protected  int bioAssayMapsCount
          The count of BioAssayMap objects.
 
Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl
propertySets, propertySetsCount, securedElementId
 
Constructor Summary
BioAssayMappingImpl()
          Default constructor
 
Method Summary
 BioAssayMap[] getBioAssayMaps()
          Returns the value of this BioAssayMapping object's bioAssayMaps attribute.
 int getBioAssayMapsCount()
          Returns the count of all BioAssayMap associated with this BioAssayMapping object.
 java.util.Hashtable getXMLMethodDescriptors()
          Returns a Hashtable containing XMLMethodDescriptors descriptors of the association methods of this object.
protected  void init()
           
 BioAssayMapping[] searchBioAssayMappings(BioAssayMappingSearchCriteria criteria)
          Returns an array of BioAssayMapping objects that satisfy the given BioAssayMappingSearchCriteria.
 void setBioAssayMaps(BioAssayMap[] p_bioAssayMaps)
          Sets the bioAssayMaps 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

bioAssayMapsCount

protected int bioAssayMapsCount
The count of BioAssayMap objects.


bioAssayMaps

protected BioAssayMap[] bioAssayMaps
DOCUMENT ME

Constructor Detail

BioAssayMappingImpl

public BioAssayMappingImpl()
Default constructor

Method Detail

init

protected void init()
Overrides:
init in class ExtendableImpl

searchBioAssayMappings

public BioAssayMapping[] searchBioAssayMappings(BioAssayMappingSearchCriteria criteria)
                                         throws gov.nih.nci.common.search.SearchException
Returns an array of BioAssayMapping objects that satisfy the given BioAssayMappingSearchCriteria.

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

setBioAssayMaps

public void setBioAssayMaps(BioAssayMap[] p_bioAssayMaps)
Sets the bioAssayMaps attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a BioAssayMapping object.

Specified by:
setBioAssayMaps in interface BioAssayMapping
Parameters:
p_bioAssayMaps - The new value for bioAssayMaps.
See Also:
BioAssayMapping.getBioAssayMaps()

getBioAssayMaps

public BioAssayMap[] getBioAssayMaps()
Description copied from interface: BioAssayMapping
Returns the value of this BioAssayMapping object's bioAssayMaps attribute.

Specified by:
getBioAssayMaps in interface BioAssayMapping
Returns:
gov.nih.nci.mageom.bean.BioAssayData.BioAssayMap[] The value of bioAssayMaps.
See Also:
BioAssayMapping.getBioAssayMaps()

getBioAssayMapsCount

public int getBioAssayMapsCount()
Returns the count of all BioAssayMap associated with this BioAssayMapping object.

Returns:
the count
See Also:
BioAssayMapping.getBioAssayMaps()

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.