gov.nih.nci.mageom.domain.Array.impl
Class FeatureDefectImpl

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.Array.impl.FeatureDefectImpl
All Implemented Interfaces:
FeatureDefect, Extendable, java.io.Serializable

public class FeatureDefectImpl
extends ExtendableImpl
implements FeatureDefect

Stores the defect information for a feature.

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

Field Summary
protected static java.util.ArrayList allAssociationMethods
           
protected static java.util.Hashtable associationMethods
           
protected  OntologyEntry defectType
          DOCUMENT ME
protected  java.lang.Long defectTypeId
          The internal ID of the associated defectType object.
protected  Feature feature
          DOCUMENT ME
protected  java.lang.Long featureId
          The internal ID of the associated feature object.
protected  PositionDelta positionDelta
          DOCUMENT ME
protected  java.lang.Long positionDeltaId
          The internal ID of the associated positionDelta object.
 
Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl
propertySets, propertySetsCount, securedElementId
 
Constructor Summary
FeatureDefectImpl()
          Default constructor
 
Method Summary
 OntologyEntry getDefectType()
          Returns the value of this FeatureDefect object's defectType attribute.
 Feature getFeature()
          Returns the value of this FeatureDefect object's feature attribute.
 PositionDelta getPositionDelta()
          Returns the value of this FeatureDefect object's positionDelta attribute.
 java.util.Hashtable getXMLMethodDescriptors()
          Returns a Hashtable containing XMLMethodDescriptors descriptors of the association methods of this object.
protected  void init()
           
 FeatureDefect[] searchFeatureDefects(FeatureDefectSearchCriteria criteria)
          Returns an array of FeatureDefect objects that satisfy the given FeatureDefectSearchCriteria.
 void setDefectType(OntologyEntry p_defectType)
          Sets the defectType attribute.
 void setFeature(Feature p_feature)
          Sets the feature attribute.
 void setPositionDelta(PositionDelta p_positionDelta)
          Sets the positionDelta 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

positionDelta

protected PositionDelta positionDelta
DOCUMENT ME


positionDeltaId

protected java.lang.Long positionDeltaId
The internal ID of the associated positionDelta object.


feature

protected Feature feature
DOCUMENT ME


featureId

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


defectType

protected OntologyEntry defectType
DOCUMENT ME


defectTypeId

protected java.lang.Long defectTypeId
The internal ID of the associated defectType object.

Constructor Detail

FeatureDefectImpl

public FeatureDefectImpl()
Default constructor

Method Detail

init

protected void init()
Overrides:
init in class ExtendableImpl

searchFeatureDefects

public FeatureDefect[] searchFeatureDefects(FeatureDefectSearchCriteria criteria)
                                     throws gov.nih.nci.common.search.SearchException
Returns an array of FeatureDefect objects that satisfy the given FeatureDefectSearchCriteria.

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

setPositionDelta

public void setPositionDelta(PositionDelta p_positionDelta)
Sets the positionDelta attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a FeatureDefect object.

Specified by:
setPositionDelta in interface FeatureDefect
Parameters:
p_positionDelta - The new value for positionDelta.
See Also:
FeatureDefect.getPositionDelta()

getPositionDelta

public PositionDelta getPositionDelta()
Description copied from interface: FeatureDefect
Returns the value of this FeatureDefect object's positionDelta attribute.

Specified by:
getPositionDelta in interface FeatureDefect
Returns:
gov.nih.nci.mageom.bean.Array.PositionDelta The value of positionDelta.
See Also:
FeatureDefect.getPositionDelta()

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 FeatureDefect object.

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

getFeature

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

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

setDefectType

public void setDefectType(OntologyEntry p_defectType)
Sets the defectType attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a FeatureDefect object.

Specified by:
setDefectType in interface FeatureDefect
Parameters:
p_defectType - The new value for defectType.
See Also:
FeatureDefect.getDefectType()

getDefectType

public OntologyEntry getDefectType()
Description copied from interface: FeatureDefect
Returns the value of this FeatureDefect object's defectType attribute.

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

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.