|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nci.mageom.domain.impl.MAGEOMObject
gov.nih.nci.mageom.domain.impl.ExtendableImpl
gov.nih.nci.mageom.domain.DesignElement.impl.PositionImpl
public class PositionImpl
Specifies a position on an array.
| Field Summary | |
|---|---|
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected DistanceUnit |
distanceUnit
DOCUMENT ME |
protected java.lang.Long |
distanceUnitId
The internal ID of the associated distanceUnit object. |
protected java.lang.Float |
x
The horizontal distance from the upper left corner of the array. |
protected java.lang.Float |
y
The vertical distance from the upper left corner of the array. |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
propertySets, propertySetsCount, securedElementId |
| Constructor Summary | |
|---|---|
PositionImpl()
Default constructor |
|
| Method Summary | |
|---|---|
DistanceUnit |
getDistanceUnit()
Returns the value of this Position object's distanceUnit attribute. |
java.lang.Float |
getX()
Returns the value of this Position object's x attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
java.lang.Float |
getY()
Returns the value of this Position object's y attribute. |
protected void |
init()
|
Position[] |
searchPositions(PositionSearchCriteria criteria)
Returns an array of Position objects that
satisfy the given PositionSearchCriteria. |
void |
setDistanceUnit(DistanceUnit p_distanceUnit)
Sets the distanceUnit attribute. |
void |
setX(java.lang.Float p_x)
Sets the x attribute. |
void |
setY(java.lang.Float p_y)
Sets the y 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 |
|---|
protected static java.util.ArrayList allAssociationMethods
protected static java.util.Hashtable associationMethods
protected java.lang.Float x
protected java.lang.Float y
protected DistanceUnit distanceUnit
protected java.lang.Long distanceUnitId
| Constructor Detail |
|---|
public PositionImpl()
| Method Detail |
|---|
protected void init()
init in class ExtendableImpl
public Position[] searchPositions(PositionSearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
Position objects that
satisfy the given PositionSearchCriteria.
criteria - The PositionSearchCriteria
which represents a query for Position objects.
Position objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setX(java.lang.Float p_x)
Position object.
setX in interface Positionp_x - The new value for x.Position.getX()public java.lang.Float getX()
PositionPosition object's x attribute.
Description of x:
The horizontal distance from the upper left corner of the array.
getX in interface Positionfloat The value of x.Position.getX()public void setY(java.lang.Float p_y)
Position object.
setY in interface Positionp_y - The new value for y.Position.getY()public java.lang.Float getY()
PositionPosition object's y attribute.
Description of y:
The vertical distance from the upper left corner of the array.
getY in interface Positionfloat The value of y.Position.getY()public void setDistanceUnit(DistanceUnit p_distanceUnit)
Position object.
setDistanceUnit in interface Positionp_distanceUnit - The new value for distanceUnit.Position.getDistanceUnit()public DistanceUnit getDistanceUnit()
PositionPosition object's distanceUnit attribute.
getDistanceUnit in interface Positiongov.nih.nci.mageom.bean.Measurement.DistanceUnit The value of distanceUnit.Position.getDistanceUnit()public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
toXML in class ExtendableImplpublic org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
toXMLDoc in class ExtendableImpl
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
toXMLProcessor in class ExtendableImpldoc - the working documentfillOutValues - a list of attribute names that should have
full XML for their values.
public java.util.Hashtable getXMLMethodDescriptors()
XMLMethodDescriptors descriptors of
the association methods of this object.
getXMLMethodDescriptors in class ExtendableImplpublic java.lang.String toString()
toString in class ExtendableImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||