com.ibm.events.access

Class UpdateEventAssociation

  • java.lang.Object
    • com.ibm.events.access.UpdateEventAssociation
  • All Implemented Interfaces:
    EventChangeRequest, java.io.Serializable


    public class UpdateEventAssociation
    extends java.lang.Object
    implements EventChangeRequest
    A change request used for updating event associations.

    If the association engine does not exist then one will be created.

    Since:
    6.0.0
    Version:
    1.3 5/28/14
    See Also:
    Serialized Form
    • Constructor Detail

      • UpdateEventAssociation

        public UpdateEventAssociation(java.lang.String globalInstanceId,
                              org.eclipse.hyades.logging.events.cbe.AssociationEngine associationEngine,
                              java.lang.String[] additionalResolvedEvents)
        Creates a new UpdateEventAssociation object.
        Parameters:
        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.
        Throws:
        java.lang.IllegalArgumentException - If one of the following conditions occur
        1. any of the parameters are null
        2. additionalResolvedEvents is an empty array or has a null element
        3. associationEngine is not valid
    • Method Detail

      • getAdditionalResolvedEvents

        public 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.
        Returns:
        An array of global instance ID's that is associated to an event.
      • getAssociationEngine

        public org.eclipse.hyades.logging.events.cbe.AssociationEngine getAssociationEngine()
        Get the association engine that was used to associate the events.
        Returns:
        The association engine used to associate events.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
IBM Business Process ManagerTM
Release 8