public class AssetConsumerEvent extends AssetConsumerEventHeader
| Constructor and Description |
|---|
AssetConsumerEvent()
Default constructor
|
AssetConsumerEvent(AssetConsumerEvent 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.
|
AssetConsumerEventType |
getEventType()
Return the type of event.
|
Asset |
getOriginalAsset()
Return the original asset description.
|
int |
hashCode()
Return hash code for this object
|
void |
setAsset(Asset asset)
Set up the asset description.
|
void |
setEventType(AssetConsumerEventType eventType)
Set up the type of event.
|
void |
setOriginalAsset(Asset originalAsset)
Set up the original asset description.
|
String |
toString()
JSON-style toString
|
getEventVersionId, setEventVersionIdpublic AssetConsumerEvent()
public AssetConsumerEvent(AssetConsumerEvent template)
public AssetConsumerEventType getEventType()
public void setEventType(AssetConsumerEventType eventType)
eventType - - event type enumpublic Asset getOriginalAsset()
public void setOriginalAsset(Asset originalAsset)
originalAsset - - properties about the asset.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 ODPi. All rights reserved.