public interface Event
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
getAllPropertyNames()
Gets all the property names in this event.
|
java.lang.String |
getDestinationURI()
Gets the destination URI associated with this event
|
java.lang.String |
getEventUri()
Gets the eventUri of this event
|
java.lang.String |
getExtId()
Gets the unique ID representing this event
|
byte[] |
getPayload()
Gets the payload of this event
|
java.lang.Object |
getPropertyValue(java.lang.String name)
Gets the value of a property by name.
|
void |
setDestinationURI(java.lang.String destinationURI)
Sets the destination URI associated with this event
|
void |
setEventUri(java.lang.String eventUri)
Sets the eventUri of this event
|
void |
setExtId(java.lang.String extId)
Sets the unique ID representing this event
|
void |
setPayload(byte[] payload)
Sets the payload of this event
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets the value of a property by name.
|
java.lang.String getExtId()
void setExtId(java.lang.String extId)
extId
- unique idjava.lang.String getDestinationURI()
void setDestinationURI(java.lang.String destinationURI)
destinationURI
- the URI of the destinationbyte[] getPayload()
void setPayload(byte[] payload)
payload
- a byte array representing the payloadjava.lang.String getEventUri()
void setEventUri(java.lang.String eventUri)
eventUri
- the eventUri to be set to this eventvoid setProperty(java.lang.String name, java.lang.Object value)
name
- name of the event property.value
- the Object
value to be set. The type of value
must be consistent with the type defined in the model.java.lang.Object getPropertyValue(java.lang.String name)
name
- name of the event property.java.util.Collection getAllPropertyNames()