Class BOBundleHeader
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.bundler.bl.header.BOBundleHeader
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing the header of a
It contains the main and proper characteristics of the
.
Bundle. It contains the main and proper characteristics of the
Bundle, such as the id and all its main attributes. .
- Since:
- 10.1
- 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 end date of the bundle appointment.Returns the start date of the bundle appointment.Returns the bundle cardinality.Returns the bundle criterion id.Returns the bundle default duration.Returns the bundle end date.getId()Returns the bundle header id.Returns the bundle creation date.Returns the bundle creation user id.Checks whether the bundle must be considered as booking.Checks if the bundle is locked.Returns the bundle maximum cardinality.Returns the microcluster of the bundle.Returns the bundle minimum cardinality.Returns the bundle minimum time for day.Returns the bundle minimum time for suspension.Checks if the bundle is multi-day.getName()Returns the bundle name.Checks if the bundle excludes a related activity when it has on call resources.Checks if the bundle requires only resources that are currently on duty.Returns the id of the operation center of the bundle.Returns the bundle parent id.Returns the bundle start date.Returns the bundle starting point X coordinate.Returns the bundle starting point Y coordinate.Returns the bundle status id.Returns the x coordinate of the bundle.Returns the y coordinate of the bundle.voidsetAppointmentEndDate(Date appointmentEndDate) Sets the end date of the bundle appointment.voidsetAppointmentStartDate(Date appointmentStartDate) Sets the start date of the bundle appointment.voidsetCardinality(Long cardinality) Sets the bundle cardinality.voidsetCriterion(Long criterion) Sets the bundle criterion id.voidsetDefaultDuration(Long defaultDuration) Sets the bundle default duration.voidsetEndDate(Date endDate) Sets the bundle end date.voidSets the bundle header id.voidsetInsertDate(Date creationDate) Sets the bundle creation date.voidsetInsertUser(Long insertUser) Sets the bundle creation user id.voidsetIsBooking(Boolean isBooking) Sets the bundle as booking.voidSets true if bundle must be locked.voidsetMaxCardinality(Long maxCardinality) Sets the bundle maximum cardinality.voidsetMicrocluster(String microcluster) Sets the microcluster of the bundle.voidsetMinCardinality(Long minCardinality) Sets the bundle minimum cardinality.voidsetMinimumTimeForDay(Long minimumTimeForDay) Sets the bundle minimum time for day.voidsetMinimumTimeForSuspension(Long minimumTimeForSuspension) Sets the bundle minimum time for suspension.voidsetMultiDay(Boolean multiDay) Sets true if bundle must be multi-day.voidSets the bundle name.voidsetOnCallExcluded(Boolean onCallExcluded) Sets whether the bundle must exclude a related activity when it has on call resources.voidsetOnDutyOnly(Boolean onDutyOnly) Sets true if the bundle must required only resources that are currently on duty.voidsetOperationCenter(Long operationCenter) Sets the id of the operation center of the bundle.voidsetParentBundle(Long parentBundle) Sets the bundle parent id.voidsetStartDate(Date startDate) Sets the bundle start date.voidsetStartingPointXCoordinate(Double startingPointXCoordinate) Sets the bundle starting point X coordinate.voidsetStartingPointYCoordinate(Double startingPointYCoordinate) Sets the bundle starting point Y coordinate.voidSets the bundle status id.voidsetxCoordinate(Double xCoordinate) Sets the x coordinate of the bundle.voidsetyCoordinate(Double yCoordinate) Sets the y coordinate of the bundle.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
-
BOBundleHeader
public BOBundleHeader()
-
-
Method Details
-
getId
Returns the bundle header id.- Returns:
- the bundle header id
-
setId
Sets the bundle header id.- Parameters:
id- the bundle header id
-
getInsertUser
Returns the bundle creation user id.- Returns:
- the creation user id
-
setInsertUser
Sets the bundle creation user id.- Parameters:
insertUser- the creation user id
-
getInsertDate
Returns the bundle creation date.- Returns:
- the creation date
-
setInsertDate
Sets the bundle creation date.- Parameters:
creationDate- the creation date
-
getStatus
Returns the bundle status id.- Returns:
- the status id
-
setStatus
Sets the bundle status id.- Parameters:
status- the status id
-
getLocked
Checks if the bundle is locked.- Returns:
- true if the bundle is locked, false otherwise
-
setLocked
Sets true if bundle must be locked.- Parameters:
locked- true if the bundle must be locked, false otherwise
-
getOperationCenter
Returns the id of the operation center of the bundle.- Returns:
- the operation center id
-
setOperationCenter
Sets the id of the operation center of the bundle.- Parameters:
operationCenter- the operation center id
-
getCardinality
Returns the bundle cardinality.- Returns:
- the cardinality
-
setCardinality
Sets the bundle cardinality.- Parameters:
cardinality- the cardinality
-
getyCoordinate
Returns the y coordinate of the bundle.- Returns:
- the y coordinate
-
setyCoordinate
Sets the y coordinate of the bundle.- Parameters:
yCoordinate- the y coordinate
-
getxCoordinate
Returns the x coordinate of the bundle.- Returns:
- the x coordinate
-
setxCoordinate
Sets the x coordinate of the bundle.- Parameters:
xCoordinate- the x coordinate
-
getMicrocluster
Returns the microcluster of the bundle.- Returns:
- the microcluster
-
setMicrocluster
Sets the microcluster of the bundle.- Parameters:
microcluster- the microcluster
-
getStartDate
Returns the bundle start date.- Returns:
- the start date
-
setStartDate
Sets the bundle start date.- Parameters:
startDate- the start date
-
getEndDate
Returns the bundle end date.- Returns:
- the end date
-
setEndDate
Sets the bundle end date.- Parameters:
endDate- the end date
-
getAppointmentStartDate
Returns the start date of the bundle appointment.- Returns:
- the appointment start date
-
setAppointmentStartDate
Sets the start date of the bundle appointment.- Parameters:
appointmentStartDate- the appointment start date
-
getAppointmentEndDate
Returns the end date of the bundle appointment.- Returns:
- the appointment end date
-
setAppointmentEndDate
Sets the end date of the bundle appointment.- Parameters:
appointmentEndDate- the appointment end date
-
getIsBooking
Checks whether the bundle must be considered as booking.- Returns:
- true if the bundle is booking, false otherwise
-
setIsBooking
Sets the bundle as booking.- Parameters:
isBooking- true if the bundle must be considered as booking, false otherwise
-
getDefaultDuration
Returns the bundle default duration.- Returns:
- the default duration
-
setDefaultDuration
Sets the bundle default duration.- Parameters:
defaultDuration- the default duration
-
getMultiDay
Checks if the bundle is multi-day.- Returns:
- true if the bundle is multi-day, false otherwise
-
setMultiDay
Sets true if bundle must be multi-day.- Parameters:
multiDay- true if the bundle must be multi-day, false otherwise
-
getOnDutyOnly
Checks if the bundle requires only resources that are currently on duty.- Returns:
- true if the bundle requires only on duty resources, false otherwise
-
setOnDutyOnly
Sets true if the bundle must required only resources that are currently on duty.- Parameters:
onDutyOnly- true if the bundle must require only on duty resources, false otherwise
-
getOnCallExcluded
Checks if the bundle excludes a related activity when it has on call resources.- Returns:
- true if the bundle excludes on call resources' activities, false otherwise
-
setOnCallExcluded
Sets whether the bundle must exclude a related activity when it has on call resources.- Parameters:
onCallExcluded- true if the bundle must exclude on call resources' activities, false otherwise
-
getMinimumTimeForDay
Returns the bundle minimum time for day.- Returns:
- the minimum time for day
-
setMinimumTimeForDay
Sets the bundle minimum time for day.- Parameters:
minimumTimeForDay- the minimum time for day
-
getMinimumTimeForSuspension
Returns the bundle minimum time for suspension.- Returns:
- the minimum time for suspension
-
setMinimumTimeForSuspension
Sets the bundle minimum time for suspension.- Parameters:
minimumTimeForSuspension- the minimum time for suspension
-
getCriterion
Returns the bundle criterion id.- Returns:
- the criterion id
- See Also:
-
setCriterion
Sets the bundle criterion id.- Parameters:
criterion- the criterion id- See Also:
-
getMinCardinality
Returns the bundle minimum cardinality.- Returns:
- the min cardinality
-
setMinCardinality
Sets the bundle minimum cardinality.- Parameters:
minCardinality- the min cardinality
-
getMaxCardinality
Returns the bundle maximum cardinality.- Returns:
- the max cardinality
-
setMaxCardinality
Sets the bundle maximum cardinality.- Parameters:
maxCardinality- the max cardinality
-
getName
Returns the bundle name.- Returns:
- the name
-
setName
Sets the bundle name.- Parameters:
name- the name
-
getStartingPointXCoordinate
Returns the bundle starting point X coordinate.- Returns:
- the starting point X coordinate
-
setStartingPointXCoordinate
Sets the bundle starting point X coordinate.- Parameters:
startingPointXCoordinate- the starting point X coordinate
-
getStartingPointYCoordinate
Returns the bundle starting point Y coordinate.- Returns:
- the starting point Y coordinate
-
setStartingPointYCoordinate
Sets the bundle starting point Y coordinate.- Parameters:
startingPointYCoordinate- the starting point Y coordinate
-
getParentBundle
Returns the bundle parent id. This value will be set only when the bundle is created from another bundle.- Returns:
- the parent id
-
setParentBundle
Sets the bundle parent id. This value will be set only when the bundle is created from another bundle.- Parameters:
parentBundle- the parent id
-