Class NodeVersionKey

java.lang.Object
org.alfresco.repo.domain.node.NodeVersionKey
All Implemented Interfaces:
Serializable

public class NodeVersionKey extends Object implements Serializable
Key for caches that need to be bound implicitly to the current version of a node.
Since:
4.0
Author:
Derek Hulley
See Also:
  • Constructor Details

    • NodeVersionKey

      public NodeVersionKey(Long nodeId, Long version)
  • Method Details

    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getNodeId

      public Long getNodeId()
    • getVersion

      public Long getVersion()