Class BOWorkOrderHeader
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.workorder.header.BOWorkOrderHeader
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a work order header
It contains the master data of the work order and its relations
with the other needed components such as the address, the operation center and the work cycle.
- 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 TypeMethodDescriptionReturns the address id of the work order header.Gets the appointment begin dateGets the appointment end dateReturns the work order header closing date.getCode()Returns the work order header code.Returns the work order header creation date.Returns the work order header description.Returns the work order header end date.Returns the work order header external code.Returns the work order header external system.getId()Returns the work order header id.getNotes()Returns the work order header notes.Returns the work order header operation center.Returns the header id of the parent work order.Returns the work order header release date.Returns the work order sourceReturns the work order header start date.getState()Returns the work order header state.getType()Returns the work order header type.Returns the work order header urgency.Returns the cardinality of the work order by order.Returns the duration of the work order by order.Returns the residual duration of the work order by order.Returns the work center of the the work order header.Returns the work cycle of the work order header.booleanisClosed()Says if the work order is closedbooleanisNew()Checks if the work order header is new.Checks whether the work order header is by order.voidsetAddress(Long address) Sets the address id of the work order header.voidsetAppointmentBeginDate(Date beginDate) Sets the appointment begin datevoidsetAppointmentEndDate(Date endDate) Sets the appointment end datevoidsetClosingDate(Date closingDate) Sets the work order header closing date.voidSets the work order header code.voidsetCreationDate(Date creationDate) Sets the work order header creation date.voidsetDescription(String description) Sets the work order header description.voidsetEndDate(Date endDate) Sets the work order header end date.voidsetExternalCode(String externalCode) Sets the work order header external code.voidsetExternalSystem(Long externalSystem) Sets the work order header external system.voidSets the work order header id.voidSets the work order header notes.voidsetOperationCenter(Long operationCenter) Sets the work order header operation center.voidsetParentWorkOrder(Long parentWorkOrder) Sets the header id of the parent work order.voidsetReleaseDate(Date releaseDate) Sets the work order header release date.voidSets the work order sourcevoidsetStartDate(Date startDate) Sets the work order header start date.voidSets the work order header state.voidSets the work order header type.voidsetUrgency(Long urgency) Sets the work order header urgency.voidsetWoByOrder(Boolean woByOrder) Sets the work order header by order.voidsetWoByOrderCardinality(Long woByOrderCardinality) Sets the cardinality of the work order by order.voidsetWoByOrderDuration(Long woByOrderDuration) Sets the duration of the work order by order.voidsetWoByOrderResidualDuration(Long woByOrderResidualDuration) Sets the residual duration of the work order by order.voidsetWorkCenter(Long workCenter) Sets the work center of the the work order header.voidsetWorkCycle(Long workCycle) Sets the work cycle of the work order header.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
-
BOWorkOrderHeader
public BOWorkOrderHeader()
-
-
Method Details
-
getId
Returns the work order header id.- Returns:
- the work order header id
-
setId
Sets the work order header id.- Parameters:
id- the work order header id
-
getParentWorkOrder
Returns the header id of the parent work order.- Returns:
- the parent header id
- See Also:
-
setParentWorkOrder
Sets the header id of the parent work order.- Parameters:
parentWorkOrder- the parent header id- See Also:
-
getAddress
Returns the address id of the work order header.- Returns:
- the address id
- See Also:
-
setAddress
Sets the address id of the work order header.- Parameters:
address- the address id- See Also:
-
getType
Returns the work order header type.- Returns:
- the type
- See Also:
-
setType
Sets the work order header type.- Parameters:
type- the type- See Also:
-
getSource
Returns the work order source- Returns:
- the source
- See Also:
-
setSource
Sets the work order source- Parameters:
source- the source- See Also:
-
getState
Returns the work order header state.- Returns:
- the state
- See Also:
-
setState
Sets the work order header state.- Parameters:
state- the state- See Also:
-
getOperationCenter
Returns the work order header operation center.- Returns:
- the operation center
- See Also:
-
setOperationCenter
Sets the work order header operation center.- Parameters:
operationCenter- the operation center- See Also:
-
getCode
Returns the work order header code.- Returns:
- the code
-
setCode
Sets the work order header code.- Parameters:
code- the code
-
getExternalCode
Returns the work order header external code.- Returns:
- the external code
-
setExternalCode
Sets the work order header external code.- Parameters:
externalCode- the external code
-
isWoByOrder
Checks whether the work order header is by order.- Returns:
- the boolean
-
setWoByOrder
Sets the work order header by order.- Parameters:
woByOrder- the wo by order
-
getWoByOrderCardinality
Returns the cardinality of the work order by order.- Returns:
- the work order by order cardinality id
-
setWoByOrderCardinality
Sets the cardinality of the work order by order.- Parameters:
woByOrderCardinality- the work order by order cardinality
-
getWoByOrderResidualDuration
Returns the residual duration of the work order by order.- Returns:
- the work order by order residual duration
-
setWoByOrderResidualDuration
Sets the residual duration of the work order by order.- Parameters:
woByOrderResidualDuration- the work order by order residual duration id
-
getWoByOrderDuration
Returns the duration of the work order by order.- Returns:
- the work order by order duration
-
setWoByOrderDuration
Sets the duration of the work order by order.- Parameters:
woByOrderDuration- the work order by order duration
-
getEndDate
Returns the work order header end date.- Returns:
- the end date
-
setEndDate
Sets the work order header end date.- Parameters:
endDate- the end date
-
getStartDate
Returns the work order header start date.- Returns:
- the start date
-
setStartDate
Sets the work order header start date.- Parameters:
startDate- the start date
-
getWorkCycle
Returns the work cycle of the work order header.- Returns:
- the work cycle
- See Also:
-
setWorkCycle
Sets the work cycle of the work order header.- Parameters:
workCycle- the work cycle- See Also:
-
getExternalSystem
Returns the work order header external system.- Returns:
- the external system
-
setExternalSystem
Sets the work order header external system.- Parameters:
externalSystem- the external system
-
getReleaseDate
Returns the work order header release date.- Returns:
- the release date
-
setReleaseDate
Sets the work order header release date.- Parameters:
releaseDate- the release date
-
getClosingDate
Returns the work order header closing date.- Returns:
- the closing date
-
setClosingDate
Sets the work order header closing date.- Parameters:
closingDate- the closing date
-
getNotes
Returns the work order header notes.- Returns:
- the notes
-
setNotes
Sets the work order header notes.- Parameters:
notes- the notes
-
getDescription
Returns the work order header description.- Returns:
- the description
-
setDescription
Sets the work order header description.- Parameters:
description- the description
-
getUrgency
Returns the work order header urgency.- Returns:
- the urgency
- See Also:
-
setUrgency
Sets the work order header urgency.- Parameters:
urgency- the urgency- See Also:
-
getWorkCenter
Returns the work center of the the work order header.- Returns:
- the work center
- See Also:
-
setWorkCenter
Sets the work center of the the work order header.- Parameters:
workCenter- the work center- See Also:
-
isNew
public boolean isNew()Checks if the work order header is new.- Returns:
- true, if is new
-
getCreationDate
Returns the work order header creation date.- Returns:
- the creation date
-
setCreationDate
Sets the work order header creation date.- Parameters:
creationDate- the creation date
-
isClosed
public boolean isClosed()Says if the work order is closed- Returns:
- true, if the work order is closed
-
getAppointmentBeginDate
Gets the appointment begin date- Returns:
- the appointment begin date
-
setAppointmentBeginDate
Sets the appointment begin date- Parameters:
beginDate- the begin date to sets
-
getAppointmentEndDate
Gets the appointment end date- Returns:
- the appointment end date
-
setAppointmentEndDate
Sets the appointment end date- Parameters:
endDate- the appointment end date
-