com.gargoylesoftware.base.objectstore
Class ObjectStoreCommand

java.lang.Object
  extended by com.gargoylesoftware.base.objectstore.ObjectStoreCommand
All Implemented Interfaces:
java.io.Serializable

public abstract class ObjectStoreCommand
extends java.lang.Object
implements java.io.Serializable

A command that can be sent to an object store

Version:
$Revision: 1.5 $
Author:
Mike Bowler
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
protected ObjectStoreCommand()
          Create an instance
 
Method Summary
 boolean equals(java.lang.Object object)
          Return true if this object is equal to the specified object.
 int hashCode()
          Return a value that can be used in a hashing algorithm.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ObjectStoreCommand

protected ObjectStoreCommand()
Create an instance

Method Detail

equals

public boolean equals(java.lang.Object object)
Return true if this object is equal to the specified object. The default behaviour is to return true if both commands are of the same class.

Overrides:
equals in class java.lang.Object
Parameters:
object - the object to compare against
Returns:
True if the objects are equal

hashCode

public int hashCode()
Return a value that can be used in a hashing algorithm.

Overrides:
hashCode in class java.lang.Object
Returns:
A hash code