java.lang.Object
org.exoplatform.social.core.storage.cache.model.data.RelationshipData
All Implemented Interfaces:
Serializable, CacheData<org.exoplatform.social.core.relationship.model.Relationship>

public class RelationshipData extends Object implements CacheData<org.exoplatform.social.core.relationship.model.Relationship>
Immutable relationship data.
Version:
$Revision$
Author:
Alain Defrance
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    RelationshipData(org.exoplatform.social.core.relationship.model.Relationship relationship)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.exoplatform.social.core.relationship.model.Relationship
    Build UI mutable model.
    boolean
     
    org.exoplatform.social.core.relationship.model.Relationship.Type
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RelationshipData

      public RelationshipData(org.exoplatform.social.core.relationship.model.Relationship relationship)
  • Method Details

    • getType

      public org.exoplatform.social.core.relationship.model.Relationship.Type getType()
    • build

      public org.exoplatform.social.core.relationship.model.Relationship build()
      Description copied from interface: CacheData
      Build UI mutable model.
      Specified by:
      build in interface CacheData<org.exoplatform.social.core.relationship.model.Relationship>
      Returns:
      Mutable model
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object