Class CommunityProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.CommunityProperties
-
- All Implemented Interfaces:
Serializable
public class CommunityProperties extends ReferenceableProperties
CommunityProperties describes the core properties of a community.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommunityProperties()Default constructorCommunityProperties(CommunityProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetDescription()Return the description of the community's aims and operations.StringgetMission()Return the mission of the community.StringgetName()Return the name of the community.inthashCode()Return hash code for this objectvoidsetDescription(String description)Set up the description of the community's aims and operations.voidsetMission(String mission)Set up the mission of the community.voidsetName(String name)Set up the name of the community.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
CommunityProperties
public CommunityProperties()
Default constructor
-
CommunityProperties
public CommunityProperties(CommunityProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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:
toStringin classReferenceableProperties- 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:
equalsin classReferenceableProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classReferenceableProperties- Returns:
- int hash code
-
-