Class BOOutcomeReason

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

public class BOOutcomeReason extends DynO
Business object representing outcome reason.
Since:
18.0
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 outcome reason code
    • setCode

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

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

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

      public Long getReasonType()
      Returns the reason type id.
      Returns:
      the reason type id
    • setReasonType

      public void setReasonType(Long reasonType)
      Sets the reason type id.
      Parameters:
      reasonType - the reason type id
    • 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
    • getOrder

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

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

      public Boolean isActive()
      Checks if the outcome reason is active.
      Returns:
      true if is 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
    • isMandatoryEncodedNote

      public Boolean isMandatoryEncodedNote()
      Checks if the outcome reason must have a mandatory encoded note.
      Returns:
      true if is the outcome reason must have a mandatory encoded note, false otherwise
    • setMandatoryEncodedNote

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

      public String getColor()
      Returns the outcome reason color.
      Returns:
      the outcome reason color
    • setColor

      public void setColor(String color)
      Sets the outcome reason color.
      Parameters:
      color - the outcome reason color
    • isVisibleOnMobile

      public Boolean isVisibleOnMobile()
      Checks if the outcome reason is visible on mobile.
      Returns:
      true if is the outcome reason is visible on mobile, false otherwise
    • setVisibleOnMobile

      public void setVisibleOnMobile(Boolean visibleOnMobile)
      Sets the outcome reason to visible on mobile.
      Parameters:
      visibleOnMobile - true if the outcome reason must be visible on mobile, false otherwise
    • getOutcomeClass

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

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

      public Boolean isInsufficientSkills()
      Checks if the outcome reason can include insufficient skills.
      Returns:
      true if the outcome reason can include insufficient skills, false otherwise
    • setInsufficientSkills

      public void setInsufficientSkills(Boolean insufficientSkills)
      Sets the outcome reason to include insufficient skills.
      Parameters:
      insufficientSkills - true if the outcome reason can include insufficient skills, false otherwise
    • getResourceRequirementType

      public Long getResourceRequirementType()
      Returns the resource requirement type id.
      Returns:
      the resource requirement type id
    • setResourceRequirementType

      public void setResourceRequirementType(Long resourceRequirementType)
      Sets the resource requirement type id.
      Parameters:
      resourceRequirementType - the resource requirement type id