Class RequestEventFacade

All Implemented Interfaces:
IEvent, IRequestEvent, IFacade

public class RequestEventFacade extends AbstractEventFacade
  • Constructor Details

    • RequestEventFacade

      public RequestEventFacade(RequestEvent event)
  • Method Details

    • consume

      public void consume()
      Description copied from interface: IEvent
      Indicate that this event does not need to be propagated any further as it is already processed by some listener.
    • getArgs

      public Object getArgs()
    • getEventType

      public EventType getEventType()
      Description copied from interface: IEvent
      A type for this event.
      Returns:
      A type for this event.
    • getName

      public String getName()
      Description copied from interface: IEvent
      A name for this event.
      Returns:
      A name for this event.
    • getRc

      public boolean getRc()
    • getSource

      public Object getSource()
      Description copied from interface: IEvent
      The object originating the event instance.
      Returns:
      The object originating the event instance.
    • getTarget

      public Object getTarget()
    • getType

      public String getType()
      Specified by:
      getType in class AbstractEventFacade
    • getValue

      public Object getValue()
    • getVeto

      public boolean getVeto()
      Specified by:
      getVeto in class AbstractEventFacade
    • isConsumed

      public boolean isConsumed()
      Description copied from interface: IEvent
      true if this event is already consumed by some listener.
      Returns:
      true if this event is already consumed by some listener.
    • isVetoed

      public boolean isVetoed()
      Description copied from interface: IEvent
      true if this event is already vetoed by some listener.
      Returns:
      true if this event is already vetoed by some listener.
    • setRc

      public void setRc(boolean value)
    • setTarget

      public void setTarget(Object target)
    • setValue

      public void setValue(Object value)
    • setVeto

      public void setVeto(boolean value)
      Specified by:
      setVeto in class AbstractEventFacade
    • veto

      public void veto()
      Description copied from interface: IEvent
      Indicate that the behavior associated with this event should not be performed by the source.