Class CommunityProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.CommunityProperties
- All Implemented Interfaces:
Serializable
CommunityProperties describes the core properties of a community.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCommunityProperties
(CommunityProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the description of the community's aims and operations.Return the mission of the community.getName()
Return the name of the community.int
hashCode()
Return hash code for this objectvoid
setDescription
(String description) Set up the description of the community's aims and operations.void
setMission
(String mission) Set up the mission of the community.void
Set up the name of the community.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
CommunityProperties
public CommunityProperties()Default constructor -
CommunityProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getName
Return the name of the community.- Returns:
- string name
-
setName
Set up the name of the community.- Parameters:
name
- string name
-
getDescription
Return the description of the community's aims and operations.- Returns:
- text
-
setDescription
Set up the description of the community's aims and operations.- Parameters:
description
- text
-
getMission
Return the mission of the community.- Returns:
- text
-
setMission
Set up the mission of the community.- Parameters:
mission
- text
-
toString
JSON-style toString- Overrides:
toString
in classReferenceableProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int hash code
-