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

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

public class DesignElementMappingImpl
extends ExtendableImpl
implements DesignElementMapping

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

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

Field Summary
protected static java.util.ArrayList allAssociationMethods
           
protected static java.util.Hashtable associationMethods
           
protected  DesignElementMap[] designElementMaps
          DOCUMENT ME
protected  int designElementMapsCount
          The count of DesignElementMap objects.
 
Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl
propertySets, propertySetsCount, securedElementId
 
Constructor Summary
DesignElementMappingImpl()
          Default constructor
 
Method Summary
 DesignElementMap[] getDesignElementMaps()
          Returns the value of this DesignElementMapping object's designElementMaps attribute.
 int getDesignElementMapsCount()
          Returns the count of all DesignElementMap associated with this DesignElementMapping object.
 java.util.Hashtable getXMLMethodDescriptors()
          Returns a Hashtable containing XMLMethodDescriptors descriptors of the association methods of this object.
protected  void init()
           
 DesignElementMapping[] searchDesignElementMappings(DesignElementMappingSearchCriteria criteria)
          Returns an array of DesignElementMapping objects that satisfy the given DesignElementMappingSearchCriteria.
 void setDesignElementMaps(DesignElementMap[] p_designElementMaps)
          Sets the designElementMaps 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

designElementMapsCount

protected int designElementMapsCount
The count of DesignElementMap objects.


designElementMaps

protected DesignElementMap[] designElementMaps
DOCUMENT ME

Constructor Detail

DesignElementMappingImpl

public DesignElementMappingImpl()
Default constructor

Method Detail

init

protected void init()
Overrides:
init in class ExtendableImpl

searchDesignElementMappings

public DesignElementMapping[] searchDesignElementMappings(DesignElementMappingSearchCriteria criteria)
                                                   throws gov.nih.nci.common.search.SearchException
Returns an array of DesignElementMapping objects that satisfy the given DesignElementMappingSearchCriteria.

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

setDesignElementMaps

public void setDesignElementMaps(DesignElementMap[] p_designElementMaps)
Sets the designElementMaps attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a DesignElementMapping object.

Specified by:
setDesignElementMaps in interface DesignElementMapping
Parameters:
p_designElementMaps - The new value for designElementMaps.
See Also:
DesignElementMapping.getDesignElementMaps()

getDesignElementMaps

public DesignElementMap[] getDesignElementMaps()
Description copied from interface: DesignElementMapping
Returns the value of this DesignElementMapping object's designElementMaps attribute.

Specified by:
getDesignElementMaps in interface DesignElementMapping
Returns:
gov.nih.nci.mageom.bean.BioAssayData.DesignElementMap[] The value of designElementMaps.
See Also:
DesignElementMapping.getDesignElementMaps()

getDesignElementMapsCount

public int getDesignElementMapsCount()
Returns the count of all DesignElementMap associated with this DesignElementMapping object.

Returns:
the count
See Also:
DesignElementMapping.getDesignElementMaps()

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.