public class AssetEvent extends AssetConsumerEvent
| Constructor and Description |
|---|
AssetEvent()
Default constructor
|
AssetEvent(AssetEvent template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
Asset |
getAsset()
Return the asset description.
|
int |
hashCode()
Return hash code for this object
|
void |
setAsset(Asset asset)
Set up the asset description.
|
String |
toString()
JSON-style toString
|
getEventType, getEventVersionId, setEventType, setEventVersionIdpublic AssetEvent()
public AssetEvent(AssetEvent template)
template - object to copypublic Asset getAsset()
public void setAsset(Asset asset)
asset - - properties about the asset.public String toString()
toString in class AssetConsumerEventpublic boolean equals(Object objectToCompare)
equals in class AssetConsumerEventobjectToCompare - test objectpublic int hashCode()
hashCode in class AssetConsumerEventCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.