Class CommunityProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class CommunityProperties
    extends ReferenceableProperties
    CommunityProperties describes the core properties of a community.
    See Also:
    Serialized Form
    • Constructor Detail

      • CommunityProperties

        public CommunityProperties()
        Default constructor
      • CommunityProperties

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

      • getName

        public java.lang.String getName()
        Return the name of the community.
        Returns:
        string name
      • setName

        public void setName​(java.lang.String name)
        Set up the name of the community.
        Parameters:
        name - string name
      • getDescription

        public java.lang.String getDescription()
        Return the description of the community's aims and operations.
        Returns:
        text
      • setDescription

        public void setDescription​(java.lang.String description)
        Set up the description of the community's aims and operations.
        Parameters:
        description - text
      • getMission

        public java.lang.String getMission()
        Return the mission of the community.
        Returns:
        text
      • setMission

        public void setMission​(java.lang.String mission)
        Set up the mission of the community.
        Parameters:
        mission - text
      • toString

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