|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.tck.pc.company.Person.Oid
This class is used to represent the application identifier
for the Person
class.
Field Summary | |
long |
personid
This field represents the identifier for the Person
class. |
static java.lang.String |
targetClassName
The name of the class of the target object. |
Constructor Summary | |
Person.Oid()
The required public no-arg constructor. |
|
Person.Oid(long personid)
Initialize the identifier. |
|
Person.Oid(java.lang.String s)
|
Method Summary | |
int |
compareTo(java.lang.Object obj)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getTargetClassName()
Return the target class name. |
int |
hashCode()
|
protected static java.lang.String |
justTheId(java.lang.String str)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public long personid
Person
class. It must match a field in the Person
class in
both name and type.
public static java.lang.String targetClassName
Constructor Detail |
public Person.Oid()
public Person.Oid(long personid)
personid
- The person identifier.public Person.Oid(java.lang.String s)
Method Detail |
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
public int hashCode()
protected static java.lang.String justTheId(java.lang.String str)
public java.lang.String getTargetClassName()
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |