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