Class CollectionMember
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.metadataelements.CollectionMemberHeader
-
- org.odpi.openmetadata.accessservices.communityprofile.metadataelements.CollectionMember
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class CollectionMember extends CollectionMemberHeader
CollectionMember describes a member of a collection.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CollectionMember()Default constructorCollectionMember(CollectionMember 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.ReferenceablePropertiesgetProperties()Return the properties of the element.inthashCode()Return hash code for this objectvoidsetProperties(ReferenceableProperties properties)Set up the properties of the element.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.metadataelements.CollectionMemberHeader
getDateAddedToCollection, getElementHeader, getMembershipRationale, setDateAddedToCollection, setElementHeader, setMembershipRationale
-
-
-
-
Constructor Detail
-
CollectionMember
public CollectionMember()
Default constructor
-
CollectionMember
public CollectionMember(CollectionMember template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getProperties
public ReferenceableProperties getProperties()
Return the properties of the element.- Returns:
- properties
-
setProperties
public void setProperties(ReferenceableProperties properties)
Set up the properties of the element.- 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
-
-