Class CommunityProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.communities.CommunityProperties
CommunityProperties describes the core properties of a community.
-
Constructor Summary
ConstructorDescriptionDefault 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.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
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
-