Class CollectionMemberHeader
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.CollectionMemberHeader
- All Implemented Interfaces:
Serializable,MetadataElement
- Direct Known Subclasses:
AssetCollectionMember,CollectionMember,CommunityCollectionMember,ProjectCollectionMember
public abstract class CollectionMemberHeader
extends Object
implements MetadataElement, Serializable
CollectionMemberHeader describes the common properties of a item in a favorite things list.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCollectionMemberHeader(CollectionMemberHeader template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the date that the asset was added to this collection.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn the element header associated with the properties.Return the rationale or role of the asset in this collection.inthashCode()Return hash code for this objectvoidsetDateAddedToCollection(Date dateAddedToCollection) Set up the date that the asset was added to this collection.voidsetElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.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.toString()JSON-style toString
-
Constructor Details
-
CollectionMemberHeader
public CollectionMemberHeader()Default constructor -
CollectionMemberHeader
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 properties.- 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 properties.- Specified by:
setElementHeaderin 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
-
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
-