Class CollectionMember
java.lang.Object
org.odpi.openmetadata.accessservices.digitalservice.metadataelements.CollectionMember
- All Implemented Interfaces:
Serializable
,MetadataElement
CollectionMember describes a member of a collection.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCollectionMember
(CollectionMember template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the date that the asset was added to this collection.Return the element header associated with the properties.Return the rationale or role of the asset in this collection.Return the properties of the element.int
hashCode()
Return hash code for this objectvoid
setDateAddedToCollection
(Date dateAddedToCollection) Set up the date that the asset was added to this collection.void
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.void
setMembershipRationale
(String membershipRationale) Set up the rationale or role of the asset in this collection.void
setProperties
(ReferenceableProperties properties) Set up the properties of the element.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 properties.- Specified by:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeader
in interfaceMetadataElement
- Parameters:
elementHeader
- element header object
-
getDateAddedToCollection
Return the date that the asset was added to this collection.- Returns:
- date
-
setDateAddedToCollection
Set up the date that the asset was added to this collection.- Parameters:
dateAddedToCollection
- date
-
getMembershipRationale
Return the rationale or role of the asset in this collection.- Returns:
- text
-
setMembershipRationale
Set up the rationale or role of the asset in this collection.- Parameters:
membershipRationale
- text
-
getProperties
Return the properties of the element.- Returns:
- properties
-
setProperties
Set up the properties of the element.- Parameters:
properties
- 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
-