org.apache.jdo.tck.pc.mylib
Class PCPoint2

java.lang.Object
  extended byorg.apache.jdo.tck.pc.mylib.PCPoint2
All Implemented Interfaces:
javax.jdo.listener.ClearCallback, javax.jdo.listener.DeleteCallback, javax.jdo.InstanceCallbacks, javax.jdo.listener.LoadCallback, java.io.Serializable, javax.jdo.listener.StoreCallback

public class PCPoint2
extends java.lang.Object
implements java.io.Serializable, javax.jdo.InstanceCallbacks

A simple class with two fields for application identity

Author:
Marina Vatkina
See Also:
Serialized Form

Nested Class Summary
static class PCPoint2.Oid
           
 
Field Summary
 int x
           
 java.lang.Integer y
           
 
Constructor Summary
PCPoint2()
           
PCPoint2(int x, int y)
           
PCPoint2(int x, java.lang.Integer y)
           
 
Method Summary
 int getX()
           
 java.lang.Integer getY()
           
 void jdoPostLoad()
           
 void jdoPreClear()
           
 void jdoPreDelete()
           
 void jdoPreStore()
           
 java.lang.String name()
           
 void setX(int x)
           
 void setY(java.lang.Integer y)
           
 java.lang.String toString()
           
 boolean wasClearCalled()
           
 boolean wasPostLoadCalled()
           
 boolean wasPreDeleteCalled()
           
 boolean wasPreStoreCalled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public int x

y

public java.lang.Integer y
Constructor Detail

PCPoint2

public PCPoint2()

PCPoint2

public PCPoint2(int x,
                int y)

PCPoint2

public PCPoint2(int x,
                java.lang.Integer y)
Method Detail

jdoPreClear

public void jdoPreClear()
Specified by:
jdoPreClear in interface javax.jdo.listener.ClearCallback

jdoPostLoad

public void jdoPostLoad()
Specified by:
jdoPostLoad in interface javax.jdo.listener.LoadCallback

jdoPreStore

public void jdoPreStore()
Specified by:
jdoPreStore in interface javax.jdo.listener.StoreCallback

jdoPreDelete

public void jdoPreDelete()
Specified by:
jdoPreDelete in interface javax.jdo.listener.DeleteCallback

wasClearCalled

public boolean wasClearCalled()

wasPostLoadCalled

public boolean wasPostLoadCalled()

wasPreStoreCalled

public boolean wasPreStoreCalled()

wasPreDeleteCalled

public boolean wasPreDeleteCalled()

toString

public java.lang.String toString()

setX

public void setX(int x)

getX

public int getX()

setY

public void setY(java.lang.Integer y)

getY

public java.lang.Integer getY()

name

public java.lang.String name()


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.