org.opencrx.kernel.workflow1.jpa3
Class AbstractTask$Slice.SliceId

java.lang.Object
  extended by org.opencrx.kernel.workflow1.jpa3.AbstractTask$Slice.SliceId
All Implemented Interfaces:
Serializable
Enclosing class:
AbstractTask$Slice

public static class AbstractTask$Slice.SliceId
extends Object
implements Serializable

The slices' compound identity class

See Also:
Serialized Form

Field Summary
 String openmdxjdoIdentity
          The parent's object id
 int openmdxjdoIndex
          The slice's index
 
Constructor Summary
AbstractTask$Slice.SliceId()
           
 
Method Summary
 boolean equals(Object that)
          Test for equality.
 int hashCode()
          Calculate the slice id's hash code.
 String toString()
          Provide the slice id's string representation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

openmdxjdoIdentity

public String openmdxjdoIdentity
The parent's object id


openmdxjdoIndex

public int openmdxjdoIndex
The slice's index

Constructor Detail

AbstractTask$Slice.SliceId

public AbstractTask$Slice.SliceId()
Method Detail

equals

public boolean equals(Object that)
Test for equality.

This method is required by JPA.

Overrides:
equals in class Object
Parameters:
that - the object to be compared
Returns:
true if the two ids refer to the same slice object

hashCode

public int hashCode()
Calculate the slice id's hash code.

This method is should be overridden together with equals(java.lang.Object).

Overrides:
hashCode in class Object
Returns:
the slice id's hash code

toString

public String toString()
Provide the slice id's string representation

Overrides:
toString in class Object
Returns:
the slice id's string representation


This software is published under the BSD license. Copyright © 2003-2012, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.