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

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

public class ZoneDefectImpl
extends ExtendableImpl
implements ZoneDefect

Stores the defect information for a zone.

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  PositionDelta positionDelta
          DOCUMENT ME
protected  java.lang.Long positionDeltaId
          The internal ID of the associated positionDelta object.
protected  Zone zone
          DOCUMENT ME
protected  java.lang.Long zoneId
          The internal ID of the associated zone object.
 
Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl
propertySets, propertySetsCount, securedElementId
 
Constructor Summary
ZoneDefectImpl()
          Default constructor
 
Method Summary
 OntologyEntry getDefectType()
          Returns the value of this ZoneDefect object's defectType attribute.
 PositionDelta getPositionDelta()
          Returns the value of this ZoneDefect object's positionDelta attribute.
 java.util.Hashtable getXMLMethodDescriptors()
          Returns a Hashtable containing XMLMethodDescriptors descriptors of the association methods of this object.
 Zone getZone()
          Returns the value of this ZoneDefect object's zone attribute.
protected  void init()
           
 ZoneDefect[] searchZoneDefects(ZoneDefectSearchCriteria criteria)
          Returns an array of ZoneDefect objects that satisfy the given ZoneDefectSearchCriteria.
 void setDefectType(OntologyEntry p_defectType)
          Sets the defectType attribute.
 void setPositionDelta(PositionDelta p_positionDelta)
          Sets the positionDelta attribute.
 void setZone(Zone p_zone)
          Sets the zone 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

zone

protected Zone zone
DOCUMENT ME


zoneId

protected java.lang.Long zoneId
The internal ID of the associated zone object.


defectType

protected OntologyEntry defectType
DOCUMENT ME


defectTypeId

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


positionDelta

protected PositionDelta positionDelta
DOCUMENT ME


positionDeltaId

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

Constructor Detail

ZoneDefectImpl

public ZoneDefectImpl()
Default constructor

Method Detail

init

protected void init()
Overrides:
init in class ExtendableImpl

searchZoneDefects

public ZoneDefect[] searchZoneDefects(ZoneDefectSearchCriteria criteria)
                               throws gov.nih.nci.common.search.SearchException
Returns an array of ZoneDefect objects that satisfy the given ZoneDefectSearchCriteria.

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

setZone

public void setZone(Zone p_zone)
Sets the zone attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a ZoneDefect object.

Specified by:
setZone in interface ZoneDefect
Parameters:
p_zone - The new value for zone.
See Also:
ZoneDefect.getZone()

getZone

public Zone getZone()
Description copied from interface: ZoneDefect
Returns the value of this ZoneDefect object's zone attribute.

Specified by:
getZone in interface ZoneDefect
Returns:
gov.nih.nci.mageom.bean.ArrayDesign.Zone The value of zone.
See Also:
ZoneDefect.getZone()

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

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

getDefectType

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

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

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

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

getPositionDelta

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

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

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.