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
ConstructorsConstructorDescriptionDefault constructorCollectionMember(CollectionMember template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn the element header associated with the relationship.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStubReturn the properties of the member.Return the properties from the membership relationship.inthashCode()Return hash code for this objectvoidsetElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) Set up the element header associated with the relationship.voidsetMember(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub member) Set up the properties of the member.voidsetMembershipProperties(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
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getElementHeader()Return the element header associated with the relationship.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) Set up the element header associated with the relationship.- Specified by:
setElementHeaderin 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
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub getMember()Return the properties of the member.- Returns:
- member properties
-
setMember
public void setMember(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub member) 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
-