public class CollectionElement extends Object implements MetadataElement, Serializable
| Constructor and Description |
|---|
CollectionElement()
Default constructor
|
CollectionElement(CollectionElement template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
ElementHeader |
getElementHeader()
Return the element header associated with the properties.
|
CollectionProperties |
getProperties()
Return the properties of the collection.
|
int |
hashCode()
Return hash code for this object
|
void |
setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.
|
void |
setProperties(CollectionProperties properties)
Set up the collection properties.
|
String |
toString()
JSON-style toString
|
public CollectionElement()
public CollectionElement(CollectionElement template)
template - object to copypublic ElementHeader getElementHeader()
getElementHeader in interface MetadataElementpublic void setElementHeader(ElementHeader elementHeader)
setElementHeader in interface MetadataElementelementHeader - element header objectpublic CollectionProperties getProperties()
public void setProperties(CollectionProperties properties)
properties - propertiespublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.