org.apache.jdo.tck.pc.lifecycle
Class StateTransitionObj.Oid

java.lang.Object
  extended byorg.apache.jdo.tck.pc.lifecycle.StateTransitionObj.Oid
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable
Enclosing class:
StateTransitionObj

public static class StateTransitionObj.Oid
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

The class to be used as the application identifier for the StateTransitionObj class.

See Also:
Serialized Form

Field Summary
 int id
          This field is part of the identifier and should match in name and type with a field in the StateTransitionObj class.
 
Constructor Summary
StateTransitionObj.Oid()
          The required public no-arg constructor.
StateTransitionObj.Oid(int id)
          Initialize the identifier.
StateTransitionObj.Oid(java.lang.String s)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 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

id

public int id
This field is part of the identifier and should match in name and type with a field in the StateTransitionObj class.

Constructor Detail

StateTransitionObj.Oid

public StateTransitionObj.Oid()
The required public no-arg constructor.


StateTransitionObj.Oid

public StateTransitionObj.Oid(int id)
Initialize the identifier.

Parameters:
id - the id.

StateTransitionObj.Oid

public StateTransitionObj.Oid(java.lang.String s)
Method Detail

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.