org.apache.jdo.tck.pc.company
Class Person.Oid
java.lang.Object
org.apache.jdo.tck.pc.company.Person.Oid
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- Enclosing class:
- Person
- public static class Person.Oid
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable
This class is used to represent the application identifier
for the Person
class.
- See Also:
- Serialized Form
Field Summary |
long |
personid
This field represents the identifier for the Person
class. |
Constructor Summary |
Person.Oid()
The required public no-arg constructor. |
Person.Oid(long personid)
Initialize the identifier. |
Person.Oid(java.lang.String s)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
personid
public long personid
- This field represents the identifier for the
Person
class. It must match a field in the Person
class in
both name and type.
Person.Oid
public Person.Oid()
- The required public no-arg constructor.
Person.Oid
public Person.Oid(long personid)
- Initialize the identifier.
- Parameters:
personid
- The person identifier.
Person.Oid
public Person.Oid(java.lang.String s)
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object obj)
hashCode
public int hashCode()
justTheId
protected static java.lang.String justTheId(java.lang.String str)
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo
in interface java.lang.Comparable
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.