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

java.lang.Object
  extended byorg.apache.jdo.tck.pc.mylib.VersionedPCPoint
All Implemented Interfaces:
java.io.Serializable

public class VersionedPCPoint
extends java.lang.Object
implements java.io.Serializable

A simple class with two fields for application identity

Author:
Marina Vatkina
See Also:
Serialized Form

Nested Class Summary
static class VersionedPCPoint.Oid
           
 
Field Summary
 int x
           
 java.lang.Integer y
           
 
Constructor Summary
VersionedPCPoint()
           
VersionedPCPoint(int x, int y)
           
VersionedPCPoint(int x, java.lang.Integer y)
           
 
Method Summary
 int getX()
           
 java.lang.Integer getY()
           
 java.lang.String name()
           
 void setX(int x)
           
 void setY(java.lang.Integer y)
           
 java.lang.String toString()
           
 
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

VersionedPCPoint

public VersionedPCPoint()

VersionedPCPoint

public VersionedPCPoint(int x,
                        int y)

VersionedPCPoint

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

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.