|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.geom.Point2D
java.awt.Point
org.jpox.sco.Point
public class Point
A mutable second-class java.awt.Point object.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.geom.Point2D |
|---|
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float |
| Field Summary |
|---|
| Fields inherited from class java.awt.Point |
|---|
x, y |
| Constructor Summary | |
|---|---|
Point(StateManager ownerSM,
java.lang.String fieldName)
Creates a Point object. |
|
| Method Summary | |
|---|---|
void |
attachCopy(java.lang.Object value)
Method to attach the passed value. |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
void |
detach(FetchPlanState state)
Method to detach this object. |
java.lang.Object |
detachCopy(FetchPlanState state)
Method to detach a copy of this object. |
java.lang.String |
getFieldName()
Accessor for the field name |
java.lang.Object |
getOwner()
Accessor for the owner. |
void |
makeDirty()
Utility to mark the object as dirty |
void |
makeTransient(FetchPlanState state)
Method to make transient this object. |
void |
move(int x,
int y)
|
void |
runReachability(java.util.Set reachables)
Method to run reachability on this SCO. |
void |
setLocation(double x,
double y)
Mutator for the location. |
void |
setLocation(int x,
int y)
Mutator for the location. |
void |
setLocation(java.awt.Point point)
Mutator for the location. |
void |
setLocation(java.awt.geom.Point2D point)
Mutator for the location. |
void |
setValueFrom(java.lang.Object o,
boolean forUpdate)
Mutator for the value, using an object. |
void |
translate(int dx,
int dy)
|
void |
unsetOwner()
Utility to unset the owner. |
protected java.lang.Object |
writeReplace()
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. |
| Methods inherited from class java.awt.Point |
|---|
equals, getLocation, getX, getY, toString |
| Methods inherited from class java.awt.geom.Point2D |
|---|
distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Point(StateManager ownerSM,
java.lang.String fieldName)
ownerSM - the owning objectfieldName - the owning field name| Method Detail |
|---|
public java.lang.Object clone()
Mutable second-class Objects are required to provide a public clone method in order to allow for copying PersistenceCapable objects. In contrast to Object.clone(), this method must not throw a CloneNotSupportedException.
clone in interface SCOclone in class java.awt.geom.Point2D
public void setLocation(double x,
double y)
setLocation in class java.awt.Pointx - The location xy - The location y
public void setLocation(int x,
int y)
setLocation in class java.awt.Pointx - The location xy - The location ypublic void setLocation(java.awt.Point point)
setLocation in class java.awt.Pointpoint - The locationpublic void setLocation(java.awt.geom.Point2D point)
setLocation in class java.awt.geom.Point2Dpoint - The location
public void move(int x,
int y)
move in class java.awt.Point
public void translate(int dx,
int dy)
translate in class java.awt.Point
public void setValueFrom(java.lang.Object o,
boolean forUpdate)
setValueFrom in interface SCOo - The ObjectforUpdate - Whether to update the datastore with this valuepublic void unsetOwner()
unsetOwner in interface SCOpublic java.lang.Object getOwner()
getOwner in interface SCOpublic java.lang.String getFieldName()
getFieldName in interface SCOpublic void makeDirty()
public void runReachability(java.util.Set reachables)
runReachability in interface SCOreachables - List of StateManagers reachable so farpublic void makeTransient(FetchPlanState state)
makeTransient in interface SCOstate - State for the fetchplan processpublic void detach(FetchPlanState state)
detach in interface SCOstate - State for the detachment processpublic java.lang.Object detachCopy(FetchPlanState state)
detachCopy in interface SCOstate - State for detachment process
public void attachCopy(java.lang.Object value)
attachCopy in interface SCOvalue - The new value
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||