public final class ChangeEvent extends Object implements Serializable
ChangeEvent is fired each time a new ChangeDescriptor is instanciated. It offers access
to the description of the change and the changed Item.ChangeDescriptor,
ChangeListener,
Serialized Form| Constructor and Description |
|---|
ChangeEvent(ChangeDescriptor descriptor)
Creates a new
ChangeEvent for the specified ChangeDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
Item |
getChangedItem()
Returns the
Item, which was modified. |
String |
getTopic()
Returns the topic of the
ChangeEvent. |
public ChangeEvent(ChangeDescriptor descriptor)
ChangeEvent for the specified ChangeDescriptor.descriptor - the ChangeDescriptorpublic String getTopic()
ChangeEvent. (Which equivalent to the changetype of the
ChangeDescriptor; GeneratedChangeDescriptor.getChangeType()).ChangeEventpublic Item getChangedItem()
Item, which was modified. This method can return null, since not always a
change is related to a Item.Item, which was modified.Copyright © 2017 SAP SE. All Rights Reserved.