Class BOIntervention
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.execution.bl.intervention.BOIntervention
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing an intervention.
- 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 TypeMethodDescriptionReturns the appointment id.Returns the default duration.Returns the intervention end date.Returns the foreman id.getId()Returns the intervention id.Returns the id of the intervention parent.Returns the intervention start date.Returns the status id.Returns the work order operation id.booleanChecks if this is the main operation intervention.voidsetAppointment(Long appointment) Sets the appointment id.voidsetDefaultDuration(Long defaultDuration) Sets the default duration.voidsetEndDate(Date endDate) Sets the intervention end date.voidsetForeman(Long foreman) Sets the foreman id.voidSets the intervention id.voidSets the id of the intervention parent.voidsetStartDate(Date startDate) Sets the intervention start date.voidSets the status id.voidsetWorkOrderOperation(Long workOrderOperation) Sets the work order operation id.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
-
BOIntervention
public BOIntervention()
-
-
Method Details
-
getId
Returns the intervention id.- Returns:
- the the intervention id
-
setId
Sets the intervention id.- Parameters:
id- the intervention id
-
getStatus
Returns the status id.- Returns:
- the status id
-
setStatus
Sets the status id.- Parameters:
status- the status id
-
getStartDate
Returns the intervention start date.- Returns:
- the intervention start date
-
setStartDate
Sets the intervention start date.- Parameters:
startDate- the intervention start date
-
getEndDate
Returns the intervention end date.- Returns:
- the intervention end date
-
setEndDate
Sets the intervention end date.- Parameters:
endDate- the intervention end date
-
getWorkOrderOperation
Returns the work order operation id.- Returns:
- the work order operation id
-
setWorkOrderOperation
Sets the work order operation id.- Parameters:
workOrderOperation- the work order operation id
-
getAppointment
Returns the appointment id.- Returns:
- the appointment id
-
setAppointment
Sets the appointment id.- Parameters:
appointment- the appointment id
-
getForeman
Returns the foreman id.- Returns:
- the foreman id
-
setForeman
Sets the foreman id.- Parameters:
foreman- the foreman id
-
getDefaultDuration
Returns the default duration.- Returns:
- the default duration
-
setDefaultDuration
Sets the default duration.- Parameters:
defaultDuration- the default duration
-
getParent
Returns the id of the intervention parent. Used in work order by order management.- Returns:
- the parent id
-
setParent
Sets the id of the intervention parent. Used in work order by order management.- Parameters:
parent- the parent id
-
isMainOperationIntervention
public boolean isMainOperationIntervention()Checks if this is the main operation intervention.- Returns:
- true, if this is the main operation intervention
-