public class UpdateEventAssociation extends java.lang.Object implements EventChangeRequest
If the association engine does not exist then one will be created.
ADD_CONTEXT_DATA_ELEMENT_CHANGE_REQUEST, ADD_EXTENDED_DATA_ELEMENT_CHANGE_REQUEST, CBE_XPATH_LOCATION_PREFIX, CHANGE_REQUEST_STRINGS, CREATE_EMPTY_EXTENDED_DATA_ELEMENT_CHANGE_REQUEST, UPDATE_ATTRIBUTE_CHANGE_REQUEST, UPDATE_EVENT_ASSOCIATION_CHANGE_REQUEST, UPDATE_EXTENDED_DATA_ELEMENT_CHANGE_REQUEST
Constructor and Description |
---|
UpdateEventAssociation(java.lang.String globalInstanceId,
org.eclipse.hyades.logging.events.cbe.AssociationEngine associationEngine,
java.lang.String[] additionalResolvedEvents)
Creates a new UpdateEventAssociation object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAdditionalResolvedEvents()
Get an array of additional global instance ID's of events that should be
associated to the event with the global instance ID returned from
getGlobalInstanceId.
|
org.eclipse.hyades.logging.events.cbe.AssociationEngine |
getAssociationEngine()
Get the association engine that was used to associate the events.
|
int |
getChangeRequestType()
Get the type of change request this object represents.
|
java.lang.String |
getGlobalInstanceId()
Get the global instance ID of the event that this change request is
modifying.
|
java.lang.String |
toString() |
public UpdateEventAssociation(java.lang.String globalInstanceId, org.eclipse.hyades.logging.events.cbe.AssociationEngine associationEngine, java.lang.String[] additionalResolvedEvents)
globalInstanceId
- The global instance ID of the event whose
attributes will be updated.associationEngine
- The association engine used to associate
events.additionalResolvedEvents
- Array of global instance IDs to be
associated to the event specified by globalInstanceId.java.lang.IllegalArgumentException
- If one of the following conditions
occur public java.lang.String[] getAdditionalResolvedEvents()
public org.eclipse.hyades.logging.events.cbe.AssociationEngine getAssociationEngine()
public int getChangeRequestType()
EventChangeRequest
getChangeRequestType
in interface EventChangeRequest
EventChangeRequest.getChangeRequestType()
public java.lang.String getGlobalInstanceId()
EventChangeRequest
getGlobalInstanceId
in interface EventChangeRequest
EventChangeRequest.getGlobalInstanceId()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()