Class CimIndication

java.lang.Object
net.aifusion.metamodel.CimIndication
All Implemented Interfaces:
CimEvent

public class CimIndication extends Object implements CimEvent
Base class to implement Cim Events. CimIndications provide the capability to send asynchronous events from CIM Event Generators to CIM Listeners.
Author:
Sharad Singhal
  • Constructor Details

    • CimIndication

      public CimIndication(CimEventType type, CimEventGenerator generator, String eventDescription)
      Create a CIM Indication
      Parameters:
      type - - type of event within this indication
      generator - - element that generated the indication
      eventDescription - - Optional subject associated with the indication
  • Method Details

    • getType

      public CimEventType getType()
      Description copied from interface: CimEvent
      Get the type of this event
      Specified by:
      getType in interface CimEvent
      Returns:
      - type of event generated
    • getGenerator

      public CimEventGenerator getGenerator()
      Description copied from interface: CimEvent
      Get the generator that generated this event
      Specified by:
      getGenerator in interface CimEvent
      Returns:
      - reference to the event generator that originated this event
    • getDescription

      public String getDescription()
      Description copied from interface: CimEvent
      Get the description associated with the event
      Specified by:
      getDescription in interface CimEvent
      Returns:
      - description of the event
    • toString

      public String toString()
      Overrides:
      toString in class Object