java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.schedule.intervention.outcome.reason.BOOutcomeReason
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOOutcomeReason extends DynO
Business object representing a outcome reason
Since:
9.2
See Also:
GCApi:
bo
  • Constructor Details

    • BOOutcomeReason

      public BOOutcomeReason()
  • Method Details

    • getId

      public Long getId()
      Returns the outcome reason id.
      Returns:
      the the outcome reason id
    • setId

      public void setId(Long id)
      Sets the outcome reason id.
      Parameters:
      id - the outcome reason id
    • getCode

      public String getCode()
      Returns the outcome reason code.
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Sets the outcome reason code.
      Parameters:
      code - the code
    • getDescription

      public LocalizedString getDescription()
      Returns the outcome reason description.
      Returns:
      the description
    • setDescription

      public void setDescription(LocalizedString description)
      Sets the outcome reason description.
      Parameters:
      description - the description
    • getType

      public Long getType()
      Returns the outcome reason type id.
      Returns:
      the type id
      See Also:
    • setType

      public void setType(Long type)
      Sets the outcome reason id.
      Parameters:
      type - the type id
      See Also:
    • getOutcomeType

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

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

      public Long getOrder()
      Returns the order.
      Returns:
      the order
    • setOrder

      public void setOrder(Long order)
      Sets the order.
      Parameters:
      order - the order
    • getActive

      public Boolean getActive()
      Checks if the outcome reason is active.
      Returns:
      true if the outcome reason is active, false otherwise
    • setActive

      public void setActive(Boolean active)
      Sets the outcome reason to active.
      Parameters:
      active - true if the outcome reason must be active, false otherwise
    • getMandatoryEncodedNote

      public Boolean getMandatoryEncodedNote()
      Checks if the outcome reason has a mandatory encoded note.
      Returns:
      true if the outcome reason has a mandatory encoded note, false otherwise
    • setMandatoryEncodedNote

      public void setMandatoryEncodedNote(Boolean mandatoryEncodedNote)
      Sets the mandatory encoded note of the outcome reason.
      Parameters:
      mandatoryEncodedNote - true if the outcome reason must have a mandatory encoded note, false otherwise
    • getVisibleOnMobileDevice

      public Boolean getVisibleOnMobileDevice()
      Checks if the outcome reason visibility on mobile device is active.
      Returns:
      true if the outcome reason is visible on mobile device, false otherwise
    • setVisibleOnMobileDevice

      public void setVisibleOnMobileDevice(Boolean visibleOnMobileDevice)
      Sets the outcome reason visibility on mobile device.
      Parameters:
      visibleOnMobileDevice - true if the outcome reason must be visible on mobile device, false otherwise
    • getOutcomeClass

      public Long getOutcomeClass()
      Returns the outcome class id.
      Returns:
      the outcome class id
      See Also:
    • setOutcomeClass

      public void setOutcomeClass(Long outcomeClass)
      Sets the outcome class id.
      Parameters:
      outcomeClass - the outcome class id
      See Also:
    • getIsSuspensive

      public Boolean getIsSuspensive()
      Checks if is the outcome reason is suspensive.
      Returns:
      true if the outcome reason is suspensive, false otherwise
    • setIsSuspensive

      public void setIsSuspensive(Boolean isSuspensive)
      Sets the outcome reason to suspensive.
      Parameters:
      isSuspensive - true if the outcome reason must be suspensive, false otherwise