|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jdo.tck.pc.company.Company.Oid
The class to be used as the application identifier
for the Company class. It consists of both the company
name and the date that the company was founded.
| Field Summary | |
long |
companyid
This field is part of the identifier and should match in name and type with a field in the Company class. |
static java.lang.String |
targetClassName
The name of the class of the target object. |
| Constructor Summary | |
Company.Oid()
The required public no-arg constructor. |
|
Company.Oid(long companyid)
Initialize the identifier. |
|
Company.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 companyid
Company class.
public static java.lang.String targetClassName
| Constructor Detail |
public Company.Oid()
public Company.Oid(long companyid)
companyid - The id of the company.public Company.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 | ||||||||||