gov.nih.nci.mageom.domain.DesignElement.impl
Class FeatureInformationImpl

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.DesignElement.impl.FeatureInformationImpl
All Implemented Interfaces:
FeatureInformation, Extendable, java.io.Serializable

public class FeatureInformationImpl
extends ExtendableImpl
implements FeatureInformation

As part of the map information, allows the association of one or more differences in the BioMaterial on a feature from the BioMaterial of the Reporter. Useful for control purposes such as in Affymetrix probe pairs.

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

Field Summary
protected static java.util.ArrayList allAssociationMethods
           
protected static java.util.Hashtable associationMethods
           
protected  Feature feature
          DOCUMENT ME
protected  java.lang.Long featureId
          The internal ID of the associated feature object.
protected  MismatchInformation[] mismatchInformation
          DOCUMENT ME
protected  int mismatchInformationCount
          The count of MismatchInformation objects.
 
Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl
propertySets, propertySetsCount, securedElementId
 
Constructor Summary
FeatureInformationImpl()
          Default constructor
 
Method Summary
 Feature getFeature()
          Returns the value of this FeatureInformation object's feature attribute.
 MismatchInformation[] getMismatchInformation()
          Returns the value of this FeatureInformation object's mismatchInformation attribute.
 int getMismatchInformationCount()
          Returns the count of all MismatchInformation associated with this FeatureInformation object.
 java.util.Hashtable getXMLMethodDescriptors()
          Returns a Hashtable containing XMLMethodDescriptors descriptors of the association methods of this object.
protected  void init()
           
 FeatureInformation[] searchFeatureInformations(FeatureInformationSearchCriteria criteria)
          Returns an array of FeatureInformation objects that satisfy the given FeatureInformationSearchCriteria.
 void setFeature(Feature p_feature)
          Sets the feature attribute.
 void setMismatchInformation(MismatchInformation[] p_mismatchInformation)
          Sets the mismatchInformation 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

mismatchInformationCount

protected int mismatchInformationCount
The count of MismatchInformation objects.


mismatchInformation

protected MismatchInformation[] mismatchInformation
DOCUMENT ME


feature

protected Feature feature
DOCUMENT ME


featureId

protected java.lang.Long featureId
The internal ID of the associated feature object.

Constructor Detail

FeatureInformationImpl

public FeatureInformationImpl()
Default constructor

Method Detail

init

protected void init()
Overrides:
init in class ExtendableImpl

searchFeatureInformations

public FeatureInformation[] searchFeatureInformations(FeatureInformationSearchCriteria criteria)
                                               throws gov.nih.nci.common.search.SearchException
Returns an array of FeatureInformation objects that satisfy the given FeatureInformationSearchCriteria.

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

setMismatchInformation

public void setMismatchInformation(MismatchInformation[] p_mismatchInformation)
Sets the mismatchInformation attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a FeatureInformation object.

Specified by:
setMismatchInformation in interface FeatureInformation
Parameters:
p_mismatchInformation - The new value for mismatchInformation.
See Also:
FeatureInformation.getMismatchInformation()

getMismatchInformation

public MismatchInformation[] getMismatchInformation()
Description copied from interface: FeatureInformation
Returns the value of this FeatureInformation object's mismatchInformation attribute.

Specified by:
getMismatchInformation in interface FeatureInformation
Returns:
gov.nih.nci.mageom.bean.DesignElement.MismatchInformation[] The value of mismatchInformation.
See Also:
FeatureInformation.getMismatchInformation()

setFeature

public void setFeature(Feature p_feature)
Sets the feature attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a FeatureInformation object.

Specified by:
setFeature in interface FeatureInformation
Parameters:
p_feature - The new value for feature.
See Also:
FeatureInformation.getFeature()

getFeature

public Feature getFeature()
Description copied from interface: FeatureInformation
Returns the value of this FeatureInformation object's feature attribute.

Specified by:
getFeature in interface FeatureInformation
Returns:
gov.nih.nci.mageom.bean.DesignElement.Feature The value of feature.
See Also:
FeatureInformation.getFeature()

getMismatchInformationCount

public int getMismatchInformationCount()
Returns the count of all MismatchInformation associated with this FeatureInformation object.

Returns:
the count
See Also:
FeatureInformation.getMismatchInformation()

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.