public class AssetEvent extends AssetConsumerEventHeader
| 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)
public Asset getAsset()
public void setAsset(Asset asset)
asset - - properties about the asset.public String toString()
toString in class AssetConsumerEventHeaderpublic boolean equals(Object objectToCompare)
equals in class AssetConsumerEventHeaderobjectToCompare - test objectpublic int hashCode()
hashCode in class AssetConsumerEventHeaderCopyright © 2018–2019 ODPi. All rights reserved.