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

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

public class PCPoint
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 PCPoint.Oid
           
 
Field Summary
 int x
           
 java.lang.Integer y
           
 
Constructor Summary
PCPoint()
           
PCPoint(int x, int y)
           
PCPoint(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

PCPoint

public PCPoint()

PCPoint

public PCPoint(int x,
               int y)

PCPoint

public PCPoint(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.