java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.bundler.bl.configuration.bundling.rule.ordering.BOBundlingRuleOrdering
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, Comparable<BOBundlingRuleOrdering>, overit.geocall.timezone.model.TimeZoned

public class BOBundlingRuleOrdering extends DynO implements Comparable<BOBundlingRuleOrdering>
Business object representing a bundling rule ordering.
It represents the link between the bundle rule entity and an operation ordering for the bundling process. It also permits to specified a priority for the specific the bundling rule.
Since:
11.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOBundlingRuleOrdering

      public BOBundlingRuleOrdering()
  • Method Details

    • getId

      public Long getId()
      Returns the bundling rule ordering id.
      Returns:
      the bundling rule ordering id
    • setId

      public void setId(Long id)
      Sets the bundling rule ordering id.
      Parameters:
      id - the bundling rule ordering id
    • getBundlingRule

      public Long getBundlingRule()
      Returns the bundling rule header id.
      Returns:
      the bundling rule header id
      See Also:
    • setBundlingRule

      public void setBundlingRule(Long bundlingRule)
      Sets the bundling rule header id.
      Parameters:
      bundlingRule - the bundling rule header id
      See Also:
    • getOrdering

      public Long getOrdering()
      Returns the bundle operation ordering.
      Returns:
      the bundle operation ordering id
      See Also:
    • setOrdering

      public void setOrdering(Long ordering)
      Sets the bundle operation ordering.
      Parameters:
      ordering - the bundle operation ordering id
      See Also:
    • getPriority

      public Long getPriority()
      Returns the bundling rule priority.
      Returns:
      the priority
    • setPriority

      public void setPriority(Long priority)
      Sets the bundling rule priority.
      Parameters:
      priority - the priority
    • compareTo

      public int compareTo(BOBundlingRuleOrdering bundlingRuleOrdering)
      Compares the current bundling rule ordering to the given one.
      Specified by:
      compareTo in interface Comparable<BOBundlingRuleOrdering>
      Parameters:
      bundlingRuleOrdering - the given bundling rule ordering that needs to be compared with the current
      Returns:
      a negative integer, zero, or a positive integer as the current bundling rule has a priority that is less than, equal to, or greater than the given one.