Class BOWorkCycle
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.workorders.bl.workcycle.BOWorkCycle
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a generic Work Cycle.
- Since:
- 18.0
- 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 work cycle requires on field acceptation.getCode()Returns the work cycle code.Returns the work cycle description.Checks if the work cycle is generable from mobile.getId()Returns the work cycle id.getOrder()Returns the work cycle order.Returns the work cycle team cardinality.Checks if the work cycle is visibleChecks if the work cycle's work order is by order.Returns the work cycle duration.Returns the work order type.voidsetAcceptOnFieldRequired(Boolean acceptOnFieldRequired) Sets whether the work cycle must require the on field acceptation.voidSets the work cycle code.voidsetDescription(LocalizedString description) Sets the work cycle description.voidsetGenerableFromMobile(Boolean generableFromMobile) Sets whether the work cycle must be generable from mobile.voidSets the work cycle id.voidSets the work cycle order.voidsetTeamCardinality(Long teamCardinality) Sets the work cycle team cardinality.voidsetVisible(Boolean visible) Sets the work cycle to visible.voidsetWoByOrder(Boolean woByOrder) Sets whether the work cycle's work order must be a work order by order.voidsetWorkOrderDuration(Long workOrderDuration) Sets the work cycle duration.voidsetWorkOrderType(Long workOrderType) Sets the work order type.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
-
BOWorkCycle
public BOWorkCycle()
-
-
Method Details
-
getId
Returns the work cycle id.- Returns:
- the work cycle id
-
setId
Sets the work cycle id.- Parameters:
id- the work cycle id
-
getWorkOrderType
Returns the work order type.- Returns:
- the work order type
-
setWorkOrderType
Sets the work order type.- Parameters:
workOrderType- the work order type
-
getCode
Returns the work cycle code.- Returns:
- the code
-
setCode
Sets the work cycle code.- Parameters:
code- the work cycle code
-
getDescription
Returns the work cycle description.- Returns:
- the description
-
setDescription
Sets the work cycle description.- Parameters:
description- the description
-
getWoByOrder
Checks if the work cycle's work order is by order.- Returns:
- true if the work order is by order, false otherwise
-
setWoByOrder
Sets whether the work cycle's work order must be a work order by order.- Parameters:
woByOrder- true if the work order must be by order, false otherwise
-
getVisible
Checks if the work cycle is visible- Returns:
- true if the work cycle is visible, false otherwise
-
setVisible
Sets the work cycle to visible.- Parameters:
visible- true if the work cycle must be visible, false otherwise
-
getOrder
Returns the work cycle order.- Returns:
- the order
-
setOrder
Sets the work cycle order.- Parameters:
order- the order
-
getTeamCardinality
Returns the work cycle team cardinality.- Returns:
- the team cardinality
-
setTeamCardinality
Sets the work cycle team cardinality.- Parameters:
teamCardinality- the team cardinality
-
getWorkOrderDuration
Returns the work cycle duration.- Returns:
- the work cycle duration
-
setWorkOrderDuration
Sets the work cycle duration.- Parameters:
workOrderDuration- the work cycle duration
-
getGenerableFromMobile
Checks if the work cycle is generable from mobile.- Returns:
- true if the work cycle is generable from mobile, false otherwise
-
setGenerableFromMobile
Sets whether the work cycle must be generable from mobile.- Parameters:
generableFromMobile- true if the work cycle must be generable from mobile, false otherwise
-
getAcceptOnFieldRequired
Checks if the work cycle requires on field acceptation.- Returns:
- true if the work cycle requires the acceptation on field, false otherwise
-
setAcceptOnFieldRequired
Sets whether the work cycle must require the on field acceptation.- Parameters:
acceptOnFieldRequired- true if the work cycle must require the on field acceptation, false otherwise.
-