org.apache.jdo.tck.pc.company
Class Department.Oid
java.lang.Object
org.apache.jdo.tck.pc.company.Department.Oid
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- Enclosing class:
- Department
- public static class Department.Oid
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable
The application identity class associated with the
Department
class.
- See Also:
- Serialized Form
Field Summary |
long |
deptid
This field represents the application identifier field
for the Department class. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
deptid
public long deptid
- This field represents the application identifier field
for the
Department
class.
It must match in name and type with the field in the
Department
class.
Department.Oid
public Department.Oid()
- The required public, no-arg constructor.
Department.Oid
public Department.Oid(long deptid)
- A constructor to initialize the identifier field.
- Parameters:
deptid
- the deptid of the Department.
Department.Oid
public Department.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.