public class AssetOwnerEvent extends AssetOwnerEventHeader
| Constructor and Description |
|---|
AssetOwnerEvent()
Default constructor
|
AssetOwnerEvent(AssetOwnerEvent 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.
|
AssetOwnerEventType |
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(AssetOwnerEventType eventType)
Set up the type of event.
|
void |
setOriginalAsset(Asset originalAsset)
Set up the original asset description.
|
String |
toString()
JSON-style toString
|
getEventVersionId, setEventVersionIdpublic AssetOwnerEvent()
public AssetOwnerEvent(AssetOwnerEvent template)
template - object to copypublic AssetOwnerEventType getEventType()
public void setEventType(AssetOwnerEventType 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 AssetOwnerEventHeaderpublic boolean equals(Object objectToCompare)
equals in class AssetOwnerEventHeaderobjectToCompare - test objectpublic int hashCode()
hashCode in class AssetOwnerEventHeaderCopyright © 2018–2020 ODPi. All rights reserved.