Class CommunityMembershipElement

    • Constructor Detail

      • CommunityMembershipElement

        public CommunityMembershipElement()
        Default constructor
      • CommunityMembershipElement

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

      • getMembershipType

        public CommunityMembershipType getMembershipType()
        Return the membership type.
        Returns:
        membership type enum
      • setMembershipType

        public void setMembershipType​(CommunityMembershipType membershipType)
        Set up the membership type.
        Parameters:
        membershipType - membership type enum
      • getCommunity

        public ElementStub getCommunity()
        Return the unique identifier (guid) for the community.
        Returns:
        link to community description
      • setCommunity

        public void setCommunity​(ElementStub community)
        Set up the unique identifier (guid) for the community.
        Parameters:
        community - link to community description
      • toString

        public java.lang.String toString()
        JSON-style toString
        Overrides:
        toString in class PersonalRoleElement
        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 PersonalRoleElement
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class PersonalRoleElement
        Returns:
        int hash code