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

public class DTOBundle extends DynO
DTO representing a bundle.
Since:
21.0
See Also:
GCApi:
dto
  • Constructor Details

    • DTOBundle

      public DTOBundle()
  • Method Details

    • getId

      public final Long getId()
      Returns the bundle ID.
      Returns:
      the bundle ID
    • setId

      public final void setId(Long id)
      Sets the bundle ID.
      Parameters:
      id - the bundle ID to set
    • getInsertUser

      public final Long getInsertUser()
      Returns the bundle creation user id.
      Returns:
      the creation user id
    • setInsertUser

      public final void setInsertUser(Long insertUser)
      Sets the bundle creation user id.
      Parameters:
      insertUser - the creation user id
    • getInsertDate

      public final ZonedDateTime getInsertDate()
      Returns the bundle creation date.
      Returns:
      the creation date
    • setInsertDate

      public final void setInsertDate(ZonedDateTime insertDate)
      Sets the bundle creation date.
      Parameters:
      insertDate - the creation date
    • getStatus

      public final Long getStatus()
      Returns the bundle status id.
      Returns:
      the status id
    • setStatus

      public final void setStatus(Long status)
      Sets the bundle status id.
      Parameters:
      status - the status id
    • getLocked

      public final Boolean getLocked()
      Returns whether the bundle is locked.
      Returns:
      true if the bundle is locked, false otherwise
    • setLocked

      public final void setLocked(Boolean locked)
      Sets whether the bundle is locked.
      Parameters:
      locked - true if the bundle is locked, false otherwise
    • getOperationCenter

      public final Long getOperationCenter()
      Returns the bundle operation center id.
      Returns:
      the operation center id
    • setOperationCenter

      public final void setOperationCenter(Long operationCenter)
      Sets the bundle operation center id.
      Parameters:
      operationCenter - the operation center id
    • getCardinality

      public final Long getCardinality()
      Returns the bundle cardinality.
      Returns:
      the cardinality
    • setCardinality

      public final void setCardinality(Long cardinality)
      Sets the bundle cardinality.
      Parameters:
      cardinality - the cardinality
    • getYCoordinate

      public final Double getYCoordinate()
      Returns the bundle Y coordinate.
      Returns:
      the Y coordinate
    • setYCoordinate

      public final void setYCoordinate(Double yCoordinate)
      Sets the bundle Y coordinate.
      Parameters:
      yCoordinate - the Y coordinate
    • getXCoordinate

      public final Double getXCoordinate()
      Returns the bundle X coordinate.
      Returns:
      the X coordinate
    • setXCoordinate

      public final void setXCoordinate(Double xCoordinate)
      Sets the bundle X coordinate.
      Parameters:
      xCoordinate - the X coordinate
    • getMicrocluster

      public final String getMicrocluster()
      Returns the bundle microcluster.
      Returns:
      the microcluster
    • setMicrocluster

      public final void setMicrocluster(String microcluster)
      Sets the bundle microcluster.
      Parameters:
      microcluster - the microcluster
    • getStartDate

      public final ZonedDateTime getStartDate()
      Returns the bundle start date.
      Returns:
      the start date
    • setStartDate

      public final void setStartDate(ZonedDateTime startDate)
      Sets the bundle start date.
      Parameters:
      startDate - the start date
    • getEndDate

      public final ZonedDateTime getEndDate()
      Returns the bundle end date.
      Returns:
      the end date
    • setEndDate

      public final void setEndDate(ZonedDateTime endDate)
      Sets the bundle end date.
      Parameters:
      endDate - the end date
    • getAppointmentStartDate

      public final ZonedDateTime getAppointmentStartDate()
      Returns the bundle appointment start date.
      Returns:
      the appointment start date
    • setAppointmentStartDate

      public final void setAppointmentStartDate(ZonedDateTime appointmentStartDate)
      Sets the bundle appointment start date.
      Parameters:
      appointmentStartDate - the appointment start date
    • getAppointmentEndDate

      public final ZonedDateTime getAppointmentEndDate()
      Returns the bundle appointment end date.
      Returns:
      the appointment end date
    • setAppointmentEndDate

      public final void setAppointmentEndDate(ZonedDateTime appointmentEndDate)
      Sets the bundle appointment end date.
      Parameters:
      appointmentEndDate - the appointment end date
    • getIsBooking

      public final Boolean getIsBooking()
      Returns whether the bundle is a booking.
      Returns:
      true if the bundle is a booking, false otherwise
    • setIsBooking

      public final void setIsBooking(Boolean isBooking)
      Sets whether the bundle is a booking.
      Parameters:
      isBooking - true if the bundle is a booking, false otherwise
    • getDefaultDuration

      public final Long getDefaultDuration()
      Returns the bundle default duration.
      Returns:
      the default duration
    • setDefaultDuration

      public final void setDefaultDuration(Long defaultDuration)
      Sets the bundle default duration.
      Parameters:
      defaultDuration - the default duration
    • getMultiDay

      public final Boolean getMultiDay()
      Returns whether the bundle spans multiple days.
      Returns:
      true if the bundle spans multiple days, false otherwise
    • setMultiDay

      public final void setMultiDay(Boolean multiDay)
      Sets whether the bundle spans multiple days.
      Parameters:
      multiDay - true if the bundle spans multiple days, false otherwise
    • getOnDutyOnly

      public final Boolean 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

      public final void setOnDutyOnly(Boolean onDutyOnly)
      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

      public final Boolean getOnCallExcluded()
      Returns whether on-call resources are excluded from the bundle.
      Returns:
      true if on-call resources are excluded, false otherwise
    • setOnCallExcluded

      public final void setOnCallExcluded(Boolean onCallExcluded)
      Sets whether on-call resources are excluded from the bundle.
      Parameters:
      onCallExcluded - true if on-call resources are excluded, false otherwise
    • getMinimumTimeForDay

      public final Long getMinimumTimeForDay()
      Returns the bundle minimum time for day.
      Returns:
      the minimum time for day
    • setMinimumTimeForDay

      public final void setMinimumTimeForDay(Long minimumTimeForDay)
      Sets the bundle minimum time for day.
      Parameters:
      minimumTimeForDay - the minimum time for day
    • getMinimumTimeForSuspension

      public final Long getMinimumTimeForSuspension()
      Returns the bundle minimum time for suspension.
      Returns:
      the minimum time for suspension
    • setMinimumTimeForSuspension

      public final void setMinimumTimeForSuspension(Long minimumTimeForSuspension)
      Sets the bundle minimum time for suspension.
      Parameters:
      minimumTimeForSuspension - the minimum time for suspension
    • getMandatoryResources

      public final List<String> getMandatoryResources()
      Returns the list of bundle mandatory resources.
      Returns:
      the list of all mandatory resources
    • setMandatoryResources

      public final void setMandatoryResources(List<String> mandatoryResources)
      Sets the list of bundle mandatory resources.
      Parameters:
      mandatoryResources - the list of all mandatory resources
    • getPreferredResources

      public final List<String> getPreferredResources()
      Returns the list of bundle preferred resources.
      Returns:
      the list of all preferred resources
    • setPreferredResources

      public final void setPreferredResources(List<String> preferredResources)
      Sets the list of bundle preferred resources.
      Parameters:
      preferredResources - the list of all preferred resources
    • getCriterion

      public final Long getCriterion()
      Returns the bundle criterion id.
      Returns:
      the criterion id
    • setCriterion

      public final void setCriterion(Long criterion)
      Sets the bundle criterion id.
      Parameters:
      criterion - the criterion id
    • getMinCardinality

      public final Long getMinCardinality()
      Returns the bundle minimum cardinality.
      Returns:
      the minimum cardinality
    • setMinCardinality

      public final void setMinCardinality(Long minCardinality)
      Sets the bundle minimum cardinality.
      Parameters:
      minCardinality - the minimum cardinality
    • getMaxCardinality

      public final Long getMaxCardinality()
      Returns the bundle maximum cardinality.
      Returns:
      the maximum cardinality
    • setMaxCardinality

      public final void setMaxCardinality(Long maxCardinality)
      Sets the bundle maximum cardinality.
      Parameters:
      maxCardinality - the maximum cardinality
    • getName

      public final String getName()
      Returns the bundle name.
      Returns:
      the bundle name
    • setName

      public final void setName(String name)
      Sets the bundle name.
      Parameters:
      name - the bundle name
    • getStartingPointXCoordinate

      public final Double getStartingPointXCoordinate()
      Returns the bundle starting point X coordinate.
      Returns:
      the starting point X coordinate
    • setStartingPointXCoordinate

      public final void setStartingPointXCoordinate(Double startingPointXCoordinate)
      Sets the bundle starting point X coordinate.
      Parameters:
      startingPointXCoordinate - the starting point X coordinate
    • getStartingPointYCoordinate

      public final Double getStartingPointYCoordinate()
      Returns the bundle starting point Y coordinate.
      Returns:
      the starting point Y coordinate
    • setStartingPointYCoordinate

      public final void setStartingPointYCoordinate(Double startingPointYCoordinate)
      Sets the bundle starting point Y coordinate.
      Parameters:
      startingPointYCoordinate - the starting point Y coordinate