Class InterventionOutcomeNotificationInput<BOInterventionOutcome>

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.utilities.core.bl.common.notification.NotificationInput<BOInterventionOutcome>
overit.geocallapp.wfm.execution.bl.outcome.intervention.event.InterventionOutcomeNotificationInput<BOInterventionOutcome>
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class InterventionOutcomeNotificationInput<BOInterventionOutcome> extends NotificationInput<BOInterventionOutcome>
Object used as an input bean for the for InterventionOutcomeNotificationEvent.
Since:
18.0
See Also:
  • Constructor Details

    • InterventionOutcomeNotificationInput

      public InterventionOutcomeNotificationInput()
  • Method Details

    • getAppointment

      public Long getAppointment()
      Returns the appointment id.
      Returns:
      the appointment id
    • setAppointment

      public void setAppointment(Long appointment)
      Sets the appointment id.
      Parameters:
      appointment - the appointment id
    • getIntervention

      public Long getIntervention()
      Returns the intervention id.
      Returns:
      the intervention id
    • setIntervention

      public void setIntervention(Long intervention)
      Sets the intervention id.
      Parameters:
      intervention - the intervention id
    • getWorkOrderOperation

      public Long getWorkOrderOperation()
      Returns the work order operation id.
      Returns:
      the work order operation id
    • setWorkOrderOperation

      public void setWorkOrderOperation(Long workOrderOperation)
      Sets the work order operation id.
      Parameters:
      workOrderOperation - the work order operation id
    • isLastAppointment

      public boolean isLastAppointment()
      Checks if the appointment is the last one for the intervention.
      Returns:
      true if the appointment is the last one for the intervention, false otherwise
    • setLastAppointment

      public void setLastAppointment(boolean isLastAppointment)
      Sets the appointment to the last one for the intervention.
      Parameters:
      isLastAppointment - true if the appointment must be the last one for the intervention, false otherwise
    • getOutcomeType

      public Long getOutcomeType()
      Returns the outcome type id.
      Returns:
      the outcome type id
    • setOutcomeType

      public void setOutcomeType(Long outcomeType)
      Sets the outcome type id.
      Parameters:
      outcomeType - the outcome type id
    • getLimitDate

      public Date getLimitDate()
      Returns the limit date.
      Returns:
      the limit date
    • setLimitDate

      public void setLimitDate(Date limitDate)
      Sets the limit date.
      Parameters:
      limitDate - the limit date
    • getOutcomeStartDate

      public Date getOutcomeStartDate()
      Returns the outcome start date.
      Returns:
      the outcome start date
    • setOutcomeStartDate

      public void setOutcomeStartDate(Date outcomeStartDate)
      Sets the outcome start date.
      Parameters:
      outcomeStartDate - the outcome start date
    • getOutcomeEndDate

      public Date getOutcomeEndDate()
      Returns the outcome end date.
      Returns:
      the outcome end date
    • setOutcomeEndDate

      public void setOutcomeEndDate(Date outcomeEndDate)
      Sets the outcome end date.
      Parameters:
      outcomeEndDate - the outcome end date