gov.nih.nci.mageom.domain.HigherLevelAnalysis.impl
Class NodeValueImpl

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.HigherLevelAnalysis.impl.NodeValueImpl
All Implemented Interfaces:
Extendable, NodeValue, java.io.Serializable

public class NodeValueImpl
extends ExtendableImpl
implements NodeValue

A value associated with the Node that can rank it in relation to the other nodes produced by the clustering algorithm.

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

Field Summary
protected static java.util.ArrayList allAssociationMethods
           
protected static java.util.Hashtable associationMethods
           
protected  OntologyEntry dataType
          DOCUMENT ME
protected  java.lang.Long dataTypeId
          The internal ID of the associated dataType object.
protected  java.lang.String name
          The name for this value.
protected  OntologyEntry scale
          DOCUMENT ME
protected  java.lang.Long scaleId
          The internal ID of the associated scale object.
protected  OntologyEntry type
          DOCUMENT ME
protected  java.lang.Long typeId
          The internal ID of the associated type object.
protected  java.lang.String value
          The value for this NodeValue.
 
Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl
propertySets, propertySetsCount, securedElementId
 
Constructor Summary
NodeValueImpl()
          Default constructor
 
Method Summary
 OntologyEntry getDataType()
          Returns the value of this NodeValue object's dataType attribute.
 java.lang.String getName()
          Returns the value of this NodeValue object's name attribute.
 OntologyEntry getScale()
          Returns the value of this NodeValue object's scale attribute.
 OntologyEntry getType()
          Returns the value of this NodeValue object's type attribute.
 java.lang.String getValue()
          Returns the value of this NodeValue object's value attribute.
 java.util.Hashtable getXMLMethodDescriptors()
          Returns a Hashtable containing XMLMethodDescriptors descriptors of the association methods of this object.
protected  void init()
           
 NodeValue[] searchNodeValues(NodeValueSearchCriteria criteria)
          Returns an array of NodeValue objects that satisfy the given NodeValueSearchCriteria.
 void setDataType(OntologyEntry p_dataType)
          Sets the dataType attribute.
 void setName(java.lang.String p_name)
          Sets the name attribute.
 void setScale(OntologyEntry p_scale)
          Sets the scale attribute.
 void setType(OntologyEntry p_type)
          Sets the type attribute.
 void setValue(java.lang.String 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

name

protected java.lang.String name
The name for this value.


value

protected java.lang.String value
The value for this NodeValue.


scale

protected OntologyEntry scale
DOCUMENT ME


scaleId

protected java.lang.Long scaleId
The internal ID of the associated scale object.


dataType

protected OntologyEntry dataType
DOCUMENT ME


dataTypeId

protected java.lang.Long dataTypeId
The internal ID of the associated dataType object.


type

protected OntologyEntry type
DOCUMENT ME


typeId

protected java.lang.Long typeId
The internal ID of the associated type object.

Constructor Detail

NodeValueImpl

public NodeValueImpl()
Default constructor

Method Detail

init

protected void init()
Overrides:
init in class ExtendableImpl

searchNodeValues

public NodeValue[] searchNodeValues(NodeValueSearchCriteria criteria)
                             throws gov.nih.nci.common.search.SearchException
Returns an array of NodeValue objects that satisfy the given NodeValueSearchCriteria.

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

setName

public void setName(java.lang.String p_name)
Sets the name attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a NodeValue object.

Specified by:
setName in interface NodeValue
Parameters:
p_name - The new value for name.
See Also:
NodeValue.getName()

getName

public java.lang.String getName()
Description copied from interface: NodeValue
Returns the value of this NodeValue object's name attribute. Description of name: The name for this value.

Specified by:
getName in interface NodeValue
Returns:
String The value of name.
See Also:
NodeValue.getName()

setValue

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

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

getValue

public java.lang.String getValue()
Description copied from interface: NodeValue
Returns the value of this NodeValue object's value attribute. Description of value: The value for this NodeValue.

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

setScale

public void setScale(OntologyEntry p_scale)
Sets the scale attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a NodeValue object.

Specified by:
setScale in interface NodeValue
Parameters:
p_scale - The new value for scale.
See Also:
NodeValue.getScale()

getScale

public OntologyEntry getScale()
Description copied from interface: NodeValue
Returns the value of this NodeValue object's scale attribute.

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

setDataType

public void setDataType(OntologyEntry p_dataType)
Sets the dataType attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a NodeValue object.

Specified by:
setDataType in interface NodeValue
Parameters:
p_dataType - The new value for dataType.
See Also:
NodeValue.getDataType()

getDataType

public OntologyEntry getDataType()
Description copied from interface: NodeValue
Returns the value of this NodeValue object's dataType attribute.

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

setType

public void setType(OntologyEntry p_type)
Sets the type attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a NodeValue object.

Specified by:
setType in interface NodeValue
Parameters:
p_type - The new value for type.
See Also:
NodeValue.getType()

getType

public OntologyEntry getType()
Description copied from interface: NodeValue
Returns the value of this NodeValue object's type attribute.

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

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.