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.SerializableA 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 longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protectedObjectStoreCommand()Create an instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.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
- 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:
equalsin 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:
hashCodein classjava.lang.Object- Returns:
- A hash code
-
-