Class CommunityCollectionMember
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.CollectionMemberHeader
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.CommunityCollectionMember
- All Implemented Interfaces:
Serializable,MetadataElement
CommunityCollectionMember describes a community that is a member of an individual's my-communities collection.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the properties of the community.inthashCode()Return hash code for this objectvoidsetProperties(CommunityProperties properties) Set up the community properties.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.communityprofile.metadataelements.CollectionMemberHeader
getDateAddedToCollection, getElementHeader, getMembershipRationale, setDateAddedToCollection, setElementHeader, setMembershipRationale
-
Constructor Details
-
CommunityCollectionMember
public CommunityCollectionMember()Default constructor -
CommunityCollectionMember
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getProperties
Return the properties of the community.- Returns:
- properties
-
setProperties
Set up the community properties.- Parameters:
properties- properties
-
toString
JSON-style toString- Overrides:
toStringin classCollectionMemberHeader- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classCollectionMemberHeader- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classCollectionMemberHeader- Returns:
- int hash code
-