Class CommunityCollectionMember

  • All Implemented Interfaces:
    java.io.Serializable, MetadataElement

    public class CommunityCollectionMember
    extends CollectionMemberHeader
    CommunityCollectionMember describes a community that is a member of an individual's my-communities collection.
    See Also:
    Serialized Form
    • Constructor Detail

      • CommunityCollectionMember

        public CommunityCollectionMember()
        Default constructor
      • CommunityCollectionMember

        public CommunityCollectionMember​(CommunityCollectionMember template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getProperties

        public CommunityProperties getProperties()
        Return the properties of the community.
        Returns:
        properties
      • setProperties

        public void setProperties​(CommunityProperties properties)
        Set up the community properties.
        Parameters:
        properties - properties
      • toString

        public java.lang.String toString()
        JSON-style toString
        Overrides:
        toString in class CollectionMemberHeader
        Returns:
        return string containing the property names and values
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class CollectionMemberHeader
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison