Class RelationshipIdentityKey

java.lang.Object
org.exoplatform.social.core.storage.cache.model.key.RelationshipIdentityKey
All Implemented Interfaces:
Serializable, CacheKey

public class RelationshipIdentityKey extends Object implements CacheKey
Immutable relationship key. This key is used to cache the relationship by identity.
Version:
$Revision$
Author:
Alain Defrance
See Also:
  • Constructor Details

    • RelationshipIdentityKey

      public RelationshipIdentityKey(String identityId1, String identityId2)
  • Method Details

    • getIdentityId1

      public String getIdentityId1()
    • getIdentityId2

      public String getIdentityId2()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object