Save This Page
Home » jdo2-tck-2.3-ea-src » org.apache.jdo.tck.pc.companyAnnotatedJPA » [javadoc | source]
org.apache.jdo.tck.pc.companyAnnotatedJPA
public static class: JPAAppCompany.Oid [javadoc | source]
java.lang.Object
   org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppCompany$Oid

All Implemented Interfaces:
    Serializable, Comparable

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
public  long companyid    This field is part of the identifier and should match in name and type with a field in the Company class. 
Constructor:
 public Oid() 
 public Oid(long companyid) 
 public Oid(String s) 
Method from org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppCompany$Oid Summary:
compareTo,   equals,   hashCode,   justTheId,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppCompany$Oid Detail:
 public int compareTo(Object obj) 
 public boolean equals(Object obj) 
 public int hashCode() 
 protected static String justTheId(String str) 
 public String toString()