Class BOWorkOrderOperation
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.workorder.operation.BOWorkOrderOperation
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a work order operation.
It contains the master data of the work order's operation and its relations
with the associated technical objects, the address ù
and other entities such as materials, tools, surveys and performances.
- Since:
- 9.2
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class"ATTACHMENTS" it indicates the work order operation's attachments
"objectsList" it indicates theTechnicalObjectListof the the work order operation
"ASSOCIATED_MATERIALS" it indicates the set of materials associated to the work order operation
"WITHDRAWN_MATERIALS" it indicates the set of withdrawn materials associated to the work order operation
"ASSOCIATED_PERFORMANCES" it indicates the set of performances associated to the work order operationNested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLinkedOperation(Long linkedOperation) Returns the activity id of the work order operation.Returns the address id of the work order operation address.Returns the work order operation cardinality .getCode()Returns the work order operation code.Returns the current duration of the work order operation.Returns the work order operation default duration.Returns the work order operation description.Returns the work order operation end date.Returns the work order operation execution order.getId()Returns the work order operation id.Returns the list of the linked operations.Returns the linked operations list as a string.getNote()Returns the work order operation note.Returns the outcome end date of the work order operation.Returns the outcome start date of the work order operation.Returns the work order operation parent id.Returns the work order operation start date.getState()Returns the work order operation state.getType()Returns the work order operation type.Returns the work center id of the work order operation.Returns the work cycle header id of the work order operation.Returns the work order header id of the operation.booleanisNew()Checks if is the work order operation is new.voidremoveLinkedOperation(Long linkedOperation) voidsetActivity(Long activity) Sets the activity id of the work order operation.voidsetAddress(Long address) Sets the address id of the work order operation.voidsetCardinality(Long cardinality) Sets the work order operation cardinality.voidSets the work order operation code.voidsetCurrentDuration(Long currentDuration) Sets the current duration of the work order operation.voidsetDefaultDuration(Long defaultDuration) Sets the work order operation default duration.voidsetDescription(String description) Sets the work order operation description.voidsetEndDate(Date endDate) Sets the work order operation end date.voidsetExecutionOrder(Long executionOrder) Sets the work order operation execution.voidSets the work order operation id.voidsetLinkedOperations(List<Long> linkedOperations) Sets the list of the linked operations.voidsetLinkedOperationsString(String linkedOperationString) Sets the linked operations list as a string.voidSets the work order operation note.voidsetOutcomeEndDate(Date outcomeEndDate) Sets the outcome end date of the work order operation.voidsetOutcomeStartDate(Date outcomeStartDate) Sets the outcome start date of the work order operation.voidsetParentOperation(Long parentOperation) Sets the work order operation parent id.voidsetStartDate(Date startDate) Sets the work order operation start date.voidSets the work order operation state.voidSets the work order operation type.voidsetWorkCenter(Long workCenter) Sets the work center id of the work order operation.voidsetWorkCycleOperation(Long workCycleOperation) Sets the work cycle header id of the work order operation.voidsetWorkOrder(Long workOrder) Sets the work order header id of the operation.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
-
BOWorkOrderOperation
public BOWorkOrderOperation()
-
-
Method Details
-
getParentOperation
Returns the work order operation parent id.- Returns:
- the operation parent id
- See Also:
-
setParentOperation
Sets the work order operation parent id.- Parameters:
parentOperation- the operation parent id- See Also:
-
getState
Returns the work order operation state.- Returns:
- the operation state
- See Also:
-
setState
Sets the work order operation state.- Parameters:
state- the operation state- See Also:
-
getExecutionOrder
Returns the work order operation execution order.- Returns:
- the execution order
-
setExecutionOrder
Sets the work order operation execution.- Parameters:
executionOrder- the execution order
-
getId
Returns the work order operation id.- Returns:
- the the work order operation id
-
setId
Sets the work order operation id.- Parameters:
id- the work order operation id
-
getType
Returns the work order operation type.- Returns:
- the operation type
- See Also:
-
setType
Sets the work order operation type.- Parameters:
type- the operation type- See Also:
-
getDescription
Returns the work order operation description.- Returns:
- the operation description
-
setDescription
Sets the work order operation description.- Parameters:
description- the operation description
-
getWorkCycleOperation
Returns the work cycle header id of the work order operation.- Returns:
- the work cycle header id
- See Also:
-
setWorkCycleOperation
Sets the work cycle header id of the work order operation.- Parameters:
workCycleOperation- the work cycle header id- See Also:
-
getAddress
Returns the address id of the work order operation address.- Returns:
- the operation address id
- See Also:
-
setAddress
Sets the address id of the work order operation.- Parameters:
address- the operation address id- See Also:
-
getDefaultDuration
Returns the work order operation default duration.- Returns:
- the operation default duration
-
setDefaultDuration
Sets the work order operation default duration.- Parameters:
defaultDuration- the operation default duration
-
getCode
Returns the work order operation code.- Returns:
- the operation code
-
setCode
Sets the work order operation code.- Parameters:
code- the operation code
-
getCurrentDuration
Returns the current duration of the work order operation.- Returns:
- the operation current duration
-
setCurrentDuration
Sets the current duration of the work order operation.- Parameters:
currentDuration- the operation current duration
-
getCardinality
Returns the work order operation cardinality .- Returns:
- the operation cardinality
-
setCardinality
Sets the work order operation cardinality.- Parameters:
cardinality- the operation cardinality
-
getNote
Returns the work order operation note.- Returns:
- the operation note
-
setNote
Sets the work order operation note.- Parameters:
note- the operation note
-
getStartDate
Returns the work order operation start date.- Returns:
- the operation start date
-
setStartDate
Sets the work order operation start date.- Parameters:
startDate- the operation start date
-
getEndDate
Returns the work order operation end date.- Returns:
- the operation end date
-
setEndDate
Sets the work order operation end date.- Parameters:
endDate- the operation end date
-
isNew
public boolean isNew()Checks if is the work order operation is new.- Returns:
- true, if the operation is new
-
getOutcomeStartDate
Returns the outcome start date of the work order operation.- Returns:
- the outcome start date
-
setOutcomeStartDate
Sets the outcome start date of the work order operation.- Parameters:
outcomeStartDate- the outcome start date
-
getOutcomeEndDate
Returns the outcome end date of the work order operation.- Returns:
- the outcome end date
-
setOutcomeEndDate
Sets the outcome end date of the work order operation.- Parameters:
outcomeEndDate- the outcome end date
-
getWorkCenter
Returns the work center id of the work order operation.- Returns:
- the operation work center id
- See Also:
-
setWorkCenter
Sets the work center id of the work order operation.- Parameters:
workCenter- the operation work center id- See Also:
-
getActivity
Returns the activity id of the work order operation.- Returns:
- the operation activity id
- See Also:
-
setActivity
Sets the activity id of the work order operation.- Parameters:
activity- the operation activity id- See Also:
-
getWorkOrder
Returns the work order header id of the operation.- Returns:
- the work order id
- See Also:
-
setWorkOrder
Sets the work order header id of the operation.- Parameters:
workOrder- the work order id- See Also:
-
getLinkedOperations
Returns the list of the linked operations.- Returns:
- the linked operations ids
-
getLinkedOperationsString
Returns the linked operations list as a string.- Returns:
- the linked operations status list as a string
-
setLinkedOperations
Sets the list of the linked operations.- Parameters:
linkedOperations- the linked operations ids
-
setLinkedOperationsString
Sets the linked operations list as a string.- Parameters:
linkedOperationString- the linked operations list as a string
-
addLinkedOperation
-
removeLinkedOperation
-