Class ObjectStoreCommand
- java.lang.Object
-
- 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.3 $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protected
ObjectStoreCommand()
Create an instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
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 classjava.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 classjava.lang.Object
- Returns:
- A hash code
-
-