Class DTOBundle
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.bundler.rs1.bundle.DTOBundle
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
DTO representing a bundle.
- Since:
- 21.0
- See Also:
- GCApi:
- dto
-
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 TypeMethodDescriptionfinal ZonedDateTimeReturns the bundle appointment end date.final ZonedDateTimeReturns the bundle appointment start date.final LongReturns the bundle cardinality.final LongReturns the bundle criterion id.final LongReturns the bundle default duration.final ZonedDateTimeReturns the bundle end date.final LonggetId()Returns the bundle ID.final ZonedDateTimeReturns the bundle creation date.final LongReturns the bundle creation user id.final BooleanReturns whether the bundle is a booking.final BooleanReturns whether the bundle is locked.Returns the list of bundle mandatory resources.final LongReturns the bundle maximum cardinality.final StringReturns the bundle microcluster.final LongReturns the bundle minimum cardinality.final LongReturns the bundle minimum time for day.final LongReturns the bundle minimum time for suspension.final BooleanReturns whether the bundle spans multiple days.final StringgetName()Returns the bundle name.final BooleanReturns whether on-call resources are excluded from the bundle.final BooleanReturns whether the bundle is for on-duty resources only.final LongReturns the bundle operation center id.Returns the list of bundle preferred resources.final ZonedDateTimeReturns the bundle start date.final DoubleReturns the bundle starting point X coordinate.final DoubleReturns the bundle starting point Y coordinate.final LongReturns the bundle status id.final DoubleReturns the bundle X coordinate.final DoubleReturns the bundle Y coordinate.final voidsetAppointmentEndDate(ZonedDateTime appointmentEndDate) Sets the bundle appointment end date.final voidsetAppointmentStartDate(ZonedDateTime appointmentStartDate) Sets the bundle appointment start date.final voidsetCardinality(Long cardinality) Sets the bundle cardinality.final voidsetCriterion(Long criterion) Sets the bundle criterion id.final voidsetDefaultDuration(Long defaultDuration) Sets the bundle default duration.final voidsetEndDate(ZonedDateTime endDate) Sets the bundle end date.final voidSets the bundle ID.final voidsetInsertDate(ZonedDateTime insertDate) Sets the bundle creation date.final voidsetInsertUser(Long insertUser) Sets the bundle creation user id.final voidsetIsBooking(Boolean isBooking) Sets whether the bundle is a booking.final voidSets whether the bundle is locked.final voidsetMandatoryResources(List<String> mandatoryResources) Sets the list of bundle mandatory resources.final voidsetMaxCardinality(Long maxCardinality) Sets the bundle maximum cardinality.final voidsetMicrocluster(String microcluster) Sets the bundle microcluster.final voidsetMinCardinality(Long minCardinality) Sets the bundle minimum cardinality.final voidsetMinimumTimeForDay(Long minimumTimeForDay) Sets the bundle minimum time for day.final voidsetMinimumTimeForSuspension(Long minimumTimeForSuspension) Sets the bundle minimum time for suspension.final voidsetMultiDay(Boolean multiDay) Sets whether the bundle spans multiple days.final voidSets the bundle name.final voidsetOnCallExcluded(Boolean onCallExcluded) Sets whether on-call resources are excluded from the bundle.final voidsetOnDutyOnly(Boolean onDutyOnly) Sets whether the bundle is for on-duty resources only.final voidsetOperationCenter(Long operationCenter) Sets the bundle operation center id.final voidsetPreferredResources(List<String> preferredResources) Sets the list of bundle preferred resources.final voidsetStartDate(ZonedDateTime startDate) Sets the bundle start date.final voidsetStartingPointXCoordinate(Double startingPointXCoordinate) Sets the bundle starting point X coordinate.final voidsetStartingPointYCoordinate(Double startingPointYCoordinate) Sets the bundle starting point Y coordinate.final voidSets the bundle status id.final voidsetXCoordinate(Double xCoordinate) Sets the bundle X coordinate.final voidsetYCoordinate(Double yCoordinate) Sets the bundle Y coordinate.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
-
DTOBundle
public DTOBundle()
-
-
Method Details
-
getId
Returns the bundle ID.- Returns:
- the bundle ID
-
setId
Sets the bundle ID.- Parameters:
id- the bundle ID to set
-
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:
insertDate- 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
Returns whether the bundle is locked.- Returns:
- true if the bundle is locked, false otherwise
-
setLocked
Sets whether the bundle is locked.- Parameters:
locked- true if the bundle is locked, false otherwise
-
getOperationCenter
Returns the bundle operation center id.- Returns:
- the operation center id
-
setOperationCenter
Sets the bundle operation center id.- 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 bundle Y coordinate.- Returns:
- the Y coordinate
-
setYCoordinate
Sets the bundle Y coordinate.- Parameters:
yCoordinate- the Y coordinate
-
getXCoordinate
Returns the bundle X coordinate.- Returns:
- the X coordinate
-
setXCoordinate
Sets the bundle X coordinate.- Parameters:
xCoordinate- the X coordinate
-
getMicrocluster
Returns the bundle microcluster.- Returns:
- the microcluster
-
setMicrocluster
Sets the bundle microcluster.- 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 bundle appointment start date.- Returns:
- the appointment start date
-
setAppointmentStartDate
Sets the bundle appointment start date.- Parameters:
appointmentStartDate- the appointment start date
-
getAppointmentEndDate
Returns the bundle appointment end date.- Returns:
- the appointment end date
-
setAppointmentEndDate
Sets the bundle appointment end date.- Parameters:
appointmentEndDate- the appointment end date
-
getIsBooking
Returns whether the bundle is a booking.- Returns:
- true if the bundle is a booking, false otherwise
-
setIsBooking
Sets whether the bundle is a booking.- Parameters:
isBooking- true if the bundle is a 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
Returns whether the bundle spans multiple days.- Returns:
- true if the bundle spans multiple days, false otherwise
-
setMultiDay
Sets whether the bundle spans multiple days.- Parameters:
multiDay- true if the bundle spans multiple days, false otherwise
-
getOnDutyOnly
Returns whether the bundle is for on-duty resources only.- Returns:
- true if the bundle is for on-duty resources only, false otherwise
-
setOnDutyOnly
Sets whether the bundle is for on-duty resources only.- Parameters:
onDutyOnly- true if the bundle is for on-duty resources only, false otherwise
-
getOnCallExcluded
Returns whether on-call resources are excluded from the bundle.- Returns:
- true if on-call resources are excluded, false otherwise
-
setOnCallExcluded
Sets whether on-call resources are excluded from the bundle.- Parameters:
onCallExcluded- true if on-call resources are excluded, 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
-
getMandatoryResources
Returns the list of bundle mandatory resources.- Returns:
- the list of all mandatory resources
-
setMandatoryResources
Sets the list of bundle mandatory resources.- Parameters:
mandatoryResources- the list of all mandatory resources
-
getPreferredResources
Returns the list of bundle preferred resources.- Returns:
- the list of all preferred resources
-
setPreferredResources
Sets the list of bundle preferred resources.- Parameters:
preferredResources- the list of all preferred resources
-
getCriterion
Returns the bundle criterion id.- Returns:
- the criterion id
-
setCriterion
Sets the bundle criterion id.- Parameters:
criterion- the criterion id
-
getMinCardinality
Returns the bundle minimum cardinality.- Returns:
- the minimum cardinality
-
setMinCardinality
Sets the bundle minimum cardinality.- Parameters:
minCardinality- the minimum cardinality
-
getMaxCardinality
Returns the bundle maximum cardinality.- Returns:
- the maximum cardinality
-
setMaxCardinality
Sets the bundle maximum cardinality.- Parameters:
maxCardinality- the maximum cardinality
-
getName
Returns the bundle name.- Returns:
- the bundle name
-
setName
Sets the bundle name.- Parameters:
name- the bundle 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
-