Class CollectionMember
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.metadataelements.CollectionMember
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class CollectionMember extends Object implements MetadataElement, Serializable
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.DategetDateAddedToCollection()Return the date that the asset was added to this collection.ElementHeadergetElementHeader()Return the element header associated with the properties.StringgetMembershipRationale()Return the rationale or role of the asset in this collection.ReferenceablePropertiesgetProperties()Return the properties of the element.inthashCode()Return hash code for this objectvoidsetDateAddedToCollection(Date dateAddedToCollection)Set up the date that the asset was added to this collection.voidsetElementHeader(ElementHeader elementHeader)Set up the element header associated with the properties.voidsetMembershipRationale(String membershipRationale)Set up the rationale or role of the asset in this collection.voidsetProperties(ReferenceableProperties properties)Set up the properties of the element.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
CollectionMember
public CollectionMember()
Default constructor
-
CollectionMember
public CollectionMember(CollectionMember template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getElementHeader
public ElementHeader getElementHeader()
Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getDateAddedToCollection
public Date getDateAddedToCollection()
Return the date that the asset was added to this collection.- Returns:
- date
-
setDateAddedToCollection
public void setDateAddedToCollection(Date dateAddedToCollection)
Set up the date that the asset was added to this collection.- Parameters:
dateAddedToCollection- date
-
getMembershipRationale
public String getMembershipRationale()
Return the rationale or role of the asset in this collection.- Returns:
- text
-
setMembershipRationale
public void setMembershipRationale(String membershipRationale)
Set up the rationale or role of the asset in this collection.- Parameters:
membershipRationale- text
-
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
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-