Class BOOutcomeReason
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
Business object representing a outcome reason
- Since:
- 9.2
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChecks if the outcome reason is active.getCode()Returns the outcome reason code.Returns the outcome reason description.getId()Returns the outcome reason id.Checks if is the outcome reason is suspensive.Checks if the outcome reason has a mandatory encoded note.getOrder()Returns the order.Returns the outcome class id.Returns the outcome type id.getType()Returns the outcome reason type id.Checks if the outcome reason visibility on mobile device is active.voidSets the outcome reason to active.voidSets the outcome reason code.voidsetDescription(LocalizedString description) Sets the outcome reason description.voidSets the outcome reason id.voidsetIsSuspensive(Boolean isSuspensive) Sets the outcome reason to suspensive.voidsetMandatoryEncodedNote(Boolean mandatoryEncodedNote) Sets the mandatory encoded note of the outcome reason.voidSets the order.voidsetOutcomeClass(Long outcomeClass) Sets the outcome class id.voidsetOutcomeType(Long outcomeType) Sets the outcome type id.voidSets the outcome reason id.voidsetVisibleOnMobileDevice(Boolean visibleOnMobileDevice) Sets the outcome reason visibility on mobile device.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
BOOutcomeReason
public BOOutcomeReason()
-
-
Method Details
-
getId
Returns the outcome reason id.- Returns:
- the the outcome reason id
-
setId
Sets the outcome reason id.- Parameters:
id- the outcome reason id
-
getCode
Returns the outcome reason code.- Returns:
- the code
-
setCode
Sets the outcome reason code.- Parameters:
code- the code
-
getDescription
Returns the outcome reason description.- Returns:
- the description
-
setDescription
Sets the outcome reason description.- Parameters:
description- the description
-
getType
Returns the outcome reason type id.- Returns:
- the type id
- See Also:
-
setType
Sets the outcome reason id.- Parameters:
type- the type id- See Also:
-
getOutcomeType
Returns the outcome type id.- Returns:
- the outcome type id
- See Also:
-
setOutcomeType
Sets the outcome type id.- Parameters:
outcomeType- the outcome type id- See Also:
-
getOrder
Returns the order.- Returns:
- the order
-
setOrder
Sets the order.- Parameters:
order- the order
-
getActive
Checks if the outcome reason is active.- Returns:
- true if the outcome reason is active, false otherwise
-
setActive
Sets the outcome reason to active.- Parameters:
active- true if the outcome reason must be active, false otherwise
-
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
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
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
Sets the outcome reason visibility on mobile device.- Parameters:
visibleOnMobileDevice- true if the outcome reason must be visible on mobile device, false otherwise
-
getOutcomeClass
Returns the outcome class id.- Returns:
- the outcome class id
- See Also:
-
setOutcomeClass
Sets the outcome class id.- Parameters:
outcomeClass- the outcome class id- See Also:
-
getIsSuspensive
Checks if is the outcome reason is suspensive.- Returns:
- true if the outcome reason is suspensive, false otherwise
-
setIsSuspensive
Sets the outcome reason to suspensive.- Parameters:
isSuspensive- true if the outcome reason must be suspensive, false otherwise
-