Class DTOBundlingRuleUpdate

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.bundler.rs1.bundlingrule.DTOBundlingRuleUpdate
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class DTOBundlingRuleUpdate extends DynO
DTO to update a bundling rule.
Since:
20.1
See Also:
GCApi:
dto
  • Constructor Details

    • DTOBundlingRuleUpdate

      public DTOBundlingRuleUpdate()
  • Method Details

    • getCode

      public final Optional<String> getCode()
      Returns the bundling rule code.
      Returns:
      the code
    • setCode

      public final void setCode(Optional<String> code)
      Sets the bundling rule code.
      Parameters:
      code - the code
    • getDescription

      public final Optional<LocalizedString> getDescription()
      Returns the bundling rule description.
      Returns:
      the description
    • setDescription

      public final void setDescription(Optional<LocalizedString> description)
      Sets the bundling rule description.
      Parameters:
      description - the description
    • getPriority

      public final Optional<Long> getPriority()
      Returns the bundling rule priority.
      Returns:
      the priority
    • setPriority

      public final void setPriority(Optional<Long> priority)
      Sets the bundling rule priority.
      Parameters:
      priority - the priority
    • getActive

      public final Optional<Boolean> getActive()
      Checks if the bundling rule is active.
      Returns:
      true if the bundling rule is active, false otherwise
    • setActive

      public final void setActive(Optional<Boolean> active)
      Sets the bundling rule to active.
      Parameters:
      active - true if the bundling rule must be active, false otherwise
    • getManualExecution

      public final Optional<Boolean> getManualExecution()
      Checks if the bundling rule execution is manual.
      Returns:
      true if the bundling rule execution is manual, false otherwise
    • setManualExecution

      public final void setManualExecution(Optional<Boolean> manualExecution)
      Sets the bundling rule execution to manual.
      Parameters:
      manualExecution - true if the bundling rule execution can be manual, false otherwise
    • getAutomaticExecution

      public final Optional<Boolean> getAutomaticExecution()
      Checks if the bundling rule execution is automatic.
      Returns:
      true if the bundling rule execution is automatic, false otherwise
    • setAutomaticExecution

      public final void setAutomaticExecution(Optional<Boolean> automaticExecution)
      Sets the bundling rule execution to automatic.
      Parameters:
      automaticExecution - true if the bundling rule execution can be automatic, false otherwise
    • getMinBundleSize

      public final Optional<Long> getMinBundleSize()
      Returns the min permitted size for the Bundles created with this rule.
      Returns:
      the min permitted bundle size
    • setMinBundleSize

      public final void setMinBundleSize(Optional<Long> minBundleSize)
      Sets the min permitted size for the Bundles created with this rule.
      Parameters:
      minBundleSize - the min permitted bundle size
    • getMaxBundleSize

      public final Optional<Long> getMaxBundleSize()
      Returns the max permitted size for the Bundles created with this rule.
      Returns:
      the max permitted bundle size
    • setMaxBundleSize

      public final void setMaxBundleSize(Optional<Long> maxBundleSize)
      Sets the max permitted size for the Bundles created with this rule.
      Parameters:
      maxBundleSize - the max permitted bundle size
    • getMaxBundleDuration

      public final Optional<Long> getMaxBundleDuration()
      Returns the max permitted size for the Bundles created with this rule.
      Returns:
      the max permitted bundle duration
    • setMaxBundleDuration

      public final void setMaxBundleDuration(Optional<Long> maxBundleDuration)
      Sets the max permitted size for the Bundles created with this rule.
      Parameters:
      maxBundleDuration - the max permitted bundle duration
    • getTechnicalObjectBundlingType

      public final Optional<Long> getTechnicalObjectBundlingType()
      Returns the technical object bundling type of this rule.
      Returns:
      the technical object bundling type
      See Also:
    • setTechnicalObjectBundlingType

      public final void setTechnicalObjectBundlingType(Optional<Long> technicalObjectBundlingType)
      Sets the technical object bundling type of this rule.
      Parameters:
      technicalObjectBundlingType - the technical object bundling type
      See Also:
    • getLocationBundlingType

      public final Optional<Long> getLocationBundlingType()
      Returns the location bundling type of this rule.
      Returns:
      the location bundling type
      See Also:
    • setLocationBundlingType

      public final void setLocationBundlingType(Optional<Long> locationBundlingType)
      Sets the location bundling type of this rule.
      Parameters:
      locationBundlingType - the location bundling type
      See Also:
    • getBundlingByRequestType

      public final Optional<Boolean> getBundlingByRequestType()
      Checks if the bundling rule is by request type.
      Returns:
      true if the bundling rule is by request type, false otherwise
    • setBundlingByRequestType

      public final void setBundlingByRequestType(Optional<Boolean> bundlingByRequestType)
      Sets the bundling rule by request type.
      Parameters:
      bundlingByRequestType - true if the bundling rule must be by request type, false otherwise
    • getBundlingByServiceType

      public final Optional<Boolean> getBundlingByServiceType()
      Checks if the bundling rule is by service type.
      Returns:
      true if the bundling rule is by service type, false otherwise
    • setBundlingByServiceType

      public final void setBundlingByServiceType(Optional<Boolean> bundlingByServiceType)
      Sets the bundling rule by service type.
      Parameters:
      bundlingByServiceType - true if the bundling rule must be by service type, false otherwise
    • getBundlingByTechnicalObjectType

      public final Optional<Boolean> getBundlingByTechnicalObjectType()
      Checks if the bundling rule is by technical object type.
      Returns:
      true if the bundling rule is by technical object type, false otherwise
    • setBundlingByTechnicalObjectType

      public final void setBundlingByTechnicalObjectType(Optional<Boolean> bundlingByTechnicalObjectType)
      Sets the bundling rule by technical object type.
      Parameters:
      bundlingByTechnicalObjectType - true if the bundling rule must be by technical object type, false otherwise
    • getBundlingByOperationType

      public final Optional<Boolean> getBundlingByOperationType()
      Checks if the bundling rule is by operation type.
      Returns:
      true if the bundling rule is by operation type, false otherwise
    • setBundlingByOperationType

      public final void setBundlingByOperationType(Optional<Boolean> bundlingByOperationType)
      Sets the bundling rule by operation type.
      Parameters:
      bundlingByOperationType - true if the bundling rule must be by operation type, false otherwise
    • getBundlingByTeamCardinality

      public final Optional<Boolean> getBundlingByTeamCardinality()
      Checks if the bundling rule is by team cardinality.
      Returns:
      true if the rule is by team cardinality, false otherwise
    • setBundlingByTeamCardinality

      public final void setBundlingByTeamCardinality(Optional<Boolean> bundlingByTeamCardinality)
      Sets the bundling rule by team cardinality.
      Parameters:
      bundlingByTeamCardinality - true if the rule must be by team cardinality, false otherwise
    • getTimeIntervalBundlingType

      public final Optional<Long> getTimeIntervalBundlingType()
      Returns the time interval bundling type of this rule.
      Returns:
      the time interval bundling type
      See Also:
    • setTimeIntervalBundlingType

      public final void setTimeIntervalBundlingType(Optional<Long> timeIntervalBundlingType)
      Sets the time interval bundling type of this rule.
      Parameters:
      timeIntervalBundlingType - the time interval bundling type
      See Also:
    • getIsDefault

      public final Optional<Boolean> getIsDefault()
      Checks if the bundling rule is set as default.
      Returns:
      true if the rule is set as default, false otherwise
    • setIsDefault

      public final void setIsDefault(Optional<Boolean> isDefault)
      Sets if the bundling rule is default.
      Parameters:
      isDefault - true if the rule is default, false otherwise