public class UpdatedAssetEvent extends AssetEvent
| Constructor and Description |
|---|
UpdatedAssetEvent()
Default constructor
|
UpdatedAssetEvent(UpdatedAssetEvent 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 |
getOriginalAsset()
Return the original values of the Asset before the update.
|
Date |
getUpdateTime()
Return the time that the asset was updated.
|
int |
hashCode()
Return hash code for this object
|
void |
setOriginalAsset(Asset originalAsset)
Set up details of the original asset - if available.
|
void |
setUpdateTime(Date updateTime)
Set up the time that the asset was updated.
|
String |
toString()
JSON-style toString
|
getAsset, setAssetgetEventType, getEventVersionId, setEventType, setEventVersionIdpublic UpdatedAssetEvent()
public UpdatedAssetEvent(UpdatedAssetEvent template)
template - object to copypublic Date getUpdateTime()
public void setUpdateTime(Date updateTime)
updateTime - date/timepublic Asset getOriginalAsset()
public void setOriginalAsset(Asset originalAsset)
originalAsset - original asset values.public String toString()
toString in class AssetEventpublic boolean equals(Object objectToCompare)
equals in class AssetEventobjectToCompare - test objectpublic int hashCode()
hashCode in class AssetEventCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.