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)
Equals method that returns true if containing properties are the same.
|
ElementHeader |
getElementHeader()
Return the element header associated with the properties.
|
AssetProperties |
getProperties()
Return the description of the asset.
|
int |
hashCode()
Hash of properties
|
void |
setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.
|
void |
setProperties(AssetProperties properties)
Set up the the description of the asset.
|
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 getProperties()
public void setProperties(AssetProperties properties)
properties - of external referencespublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.