public class CommunityProperties extends ReferenceableProperties
CommunityProperties describes the core properties of a community.
  • Constructor Details

    • CommunityProperties

      public CommunityProperties()
      Default constructor
    • CommunityProperties

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

    • getName

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

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

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

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

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

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

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

      public boolean equals(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
    • hashCode

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