Class CollectionMember
java.lang.Object
org.odpi.openmetadata.accessservices.digitalservice.metadataelements.CollectionMember
- All Implemented Interfaces:
MetadataElement
CollectionMember describes a member of a collection.
-
Constructor Summary
ConstructorDescriptionDefault constructorCollectionMember
(CollectionMember template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the element header associated with the relationship.Return the properties of the member.Return the properties from the membership relationship.int
hashCode()
Return hash code for this objectvoid
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the relationship.void
setMember
(ElementStub member) Set up the properties of the member.void
setMembershipProperties
(CollectionMembershipProperties membershipProperties) Set up the properties from the membership relationship.toString()
JSON-style toString
-
Constructor Details
-
CollectionMember
public CollectionMember()Default constructor -
CollectionMember
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getElementHeader
Return the element header associated with the relationship.- Specified by:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the relationship.- Specified by:
setElementHeader
in interfaceMetadataElement
- Parameters:
elementHeader
- element header object
-
getMembershipProperties
Return the properties from the membership relationship.- Returns:
- membership properties
-
setMembershipProperties
Set up the properties from the membership relationship.- Parameters:
membershipProperties
- membership properties
-
getMember
Return the properties of the member.- Returns:
- member properties
-
setMember
Set up the properties of the member.- Parameters:
member
- properties
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-