gov.nih.nci.mageom.domain.Experiment.impl
Class FactorValueImpl

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.Experiment.impl.FactorValueImpl
All Implemented Interfaces:
Describable, FactorValue, Extendable, Identifiable, java.io.Serializable

public class FactorValueImpl
extends IdentifiableImpl
implements FactorValue

The value for a ExperimentalFactor

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

Field Summary
protected static java.util.ArrayList allAssociationMethods
           
protected static java.util.Hashtable associationMethods
           
protected  ExperimentalFactor experimentalFactor
          DOCUMENT ME
protected  java.lang.Long experimentalFactorId
          The internal ID of the associated experimentalFactor object.
protected  Measurement measurement
          DOCUMENT ME
protected  java.lang.Long measurementId
          The internal ID of the associated measurement object.
protected  OntologyEntry value
          DOCUMENT ME
protected  java.lang.Long valueId
          The internal ID of the associated value object.
 
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
FactorValueImpl()
          Default constructor
 
Method Summary
 ExperimentalFactor getExperimentalFactor()
          Returns the value of this FactorValue object's experimentalFactor attribute.
 Measurement getMeasurement()
          Returns the value of this FactorValue object's measurement attribute.
 OntologyEntry getValue()
          Returns the value of this FactorValue object's value attribute.
 java.util.Hashtable getXMLMethodDescriptors()
          Returns a Hashtable containing XMLMethodDescriptors descriptors of the association methods of this object.
protected  void init()
           
 FactorValue[] searchFactorValues(FactorValueSearchCriteria criteria)
          Returns an array of FactorValue objects that satisfy the given FactorValueSearchCriteria.
 void setExperimentalFactor(ExperimentalFactor p_experimentalFactor)
          Sets the experimentalFactor attribute.
 void setMeasurement(Measurement p_measurement)
          Sets the measurement attribute.
 void setValue(OntologyEntry 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.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.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

experimentalFactor

protected ExperimentalFactor experimentalFactor
DOCUMENT ME


experimentalFactorId

protected java.lang.Long experimentalFactorId
The internal ID of the associated experimentalFactor object.


measurement

protected Measurement measurement
DOCUMENT ME


measurementId

protected java.lang.Long measurementId
The internal ID of the associated measurement object.


value

protected OntologyEntry value
DOCUMENT ME


valueId

protected java.lang.Long valueId
The internal ID of the associated value object.

Constructor Detail

FactorValueImpl

public FactorValueImpl()
Default constructor

Method Detail

init

protected void init()
Overrides:
init in class IdentifiableImpl

searchFactorValues

public FactorValue[] searchFactorValues(FactorValueSearchCriteria criteria)
                                 throws gov.nih.nci.common.search.SearchException
Returns an array of FactorValue objects that satisfy the given FactorValueSearchCriteria.

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

setExperimentalFactor

public void setExperimentalFactor(ExperimentalFactor p_experimentalFactor)
Sets the experimentalFactor attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a FactorValue object.

Specified by:
setExperimentalFactor in interface FactorValue
Parameters:
p_experimentalFactor - The new value for experimentalFactor.
See Also:
FactorValue.getExperimentalFactor()

getExperimentalFactor

public ExperimentalFactor getExperimentalFactor()
Description copied from interface: FactorValue
Returns the value of this FactorValue object's experimentalFactor attribute.

Specified by:
getExperimentalFactor in interface FactorValue
Returns:
gov.nih.nci.mageom.bean.Experiment.ExperimentalFactor The value of experimentalFactor.
See Also:
FactorValue.getExperimentalFactor()

setMeasurement

public void setMeasurement(Measurement p_measurement)
Sets the measurement attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a FactorValue object.

Specified by:
setMeasurement in interface FactorValue
Parameters:
p_measurement - The new value for measurement.
See Also:
FactorValue.getMeasurement()

getMeasurement

public Measurement getMeasurement()
Description copied from interface: FactorValue
Returns the value of this FactorValue object's measurement attribute.

Specified by:
getMeasurement in interface FactorValue
Returns:
gov.nih.nci.mageom.bean.Measurement.Measurement The value of measurement.
See Also:
FactorValue.getMeasurement()

setValue

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

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

getValue

public OntologyEntry getValue()
Description copied from interface: FactorValue
Returns the value of this FactorValue object's value attribute.

Specified by:
getValue in interface FactorValue
Returns:
gov.nih.nci.mageom.bean.Description.OntologyEntry The value of value.
See Also:
FactorValue.getValue()

toXML

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

toXMLDoc

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

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