Interface JobRaiseEvent

    • Method Detail

      • isEventAlreadyRaised

        boolean isEventAlreadyRaised()
        Get the value for EventAlreadyRaised. (Has the event already been raised for this Job? If so, then it does not need to be raised again.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setEvent

        void setEvent​(Event newEvent)
        Set the value for Event. This value is optional.
        Parameters:
        newEvent - is the object to set Event to. If this is set, then the associated Job raised this instance of its associated EventDefinition.
      • setEventDefinition

        void setEventDefinition​(EventDefinition newEventDefinition)
        Set the value for EventDefinition. This value is mandatory.
        Parameters:
        newEventDefinition - is the object to set EventDefinition to. The event definition to raise for a job raise event. If this is null, then the object cannot be persisted.