public abstract class CollectionMemberHeader extends Object implements MetadataElement, Serializable
| Constructor and Description |
|---|
CollectionMemberHeader()
Default constructor
|
CollectionMemberHeader(CollectionMemberHeader template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
Date |
getDateAddedToCollection()
Return the date that the asset was added to this collection.
|
ElementHeader |
getElementHeader()
Return the element header associated with the properties.
|
String |
getMembershipRationale()
Return the rationale or role of the asset in this collection.
|
int |
hashCode()
Return hash code for this object
|
void |
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.
|
String |
toString()
JSON-style toString
|
public CollectionMemberHeader()
public CollectionMemberHeader(CollectionMemberHeader template)
template - object to copypublic ElementHeader getElementHeader()
getElementHeader in interface MetadataElementpublic void setElementHeader(ElementHeader elementHeader)
setElementHeader in interface MetadataElementelementHeader - element header objectpublic Date getDateAddedToCollection()
public void setDateAddedToCollection(Date dateAddedToCollection)
dateAddedToCollection - datepublic String getMembershipRationale()
public void setMembershipRationale(String membershipRationale)
membershipRationale - textpublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.