com.gargoylesoftware.base.objectstore

Class ObjectStoreCommand

public abstract class ObjectStoreCommand extends Object implements Serializable

A command that can be sent to an object store

Version: $Revision: 1.3 $

Author: Mike Bowler

Field Summary
static longserialVersionUID
Constructor Summary
protected ObjectStoreCommand()
Create an instance
Method Summary
booleanequals(Object object)
Return true if this object is equal to the specified object.
inthashCode()
Return a value that can be used in a hashing algorithm.

Field Detail

serialVersionUID

private static final long serialVersionUID

Constructor Detail

ObjectStoreCommand

protected ObjectStoreCommand()
Create an instance

Method Detail

equals

public boolean equals(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.

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.

Returns: A hash code