Class ObjectStoreCommand

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

public abstract class ObjectStoreCommand extends Object implements Serializable
A command that can be sent to an object store
Version:
$Revision: 1.3 $
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final long
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Create an instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object object)
    Return true if this object is equal to the specified object.
    int
    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 Details

  • Constructor Details

    • ObjectStoreCommand

      protected ObjectStoreCommand()
      Create an instance
  • Method Details

    • 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.
      Overrides:
      equals in class 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 Object
      Returns:
      A hash code