Class CommunityCollectionMember
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.metadataelement.CollectionMemberHeader
-
- org.odpi.openmetadata.accessservices.communityprofile.metadataelement.CommunityCollectionMember
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class CommunityCollectionMember extends CollectionMemberHeader
CommunityCollectionMember describes a community that is a member of an individual's my-communities collection.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommunityCollectionMember()Default constructorCommunityCollectionMember(CommunityCollectionMember 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.CommunityPropertiesgetProperties()Return the properties of the community.inthashCode()Return hash code for this objectvoidsetProperties(CommunityProperties properties)Set up the community properties.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.metadataelement.CollectionMemberHeader
getDateAddedToCollection, getElementHeader, getMembershipRationale, setDateAddedToCollection, setElementHeader, setMembershipRationale
-
-
-
-
Constructor Detail
-
CommunityCollectionMember
public CommunityCollectionMember()
Default constructor
-
CommunityCollectionMember
public CommunityCollectionMember(CommunityCollectionMember template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getProperties
public CommunityProperties getProperties()
Return the properties of the community.- Returns:
- properties
-
setProperties
public void setProperties(CommunityProperties properties)
Set up the community properties.- Parameters:
properties- properties
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classCollectionMemberHeader- 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 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
-
-