Add a constraint to the model that maxConsecutiveDays in EiConstraint is present only if schedule is not and vice versa

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • wd23
    • Affects Version/s: wd22
    • Component/s: None
    • None
    • Environment:

      William Cox

    • Hide

      Add a constraint to the model to indicated that consecutiveDays is mutually exclusive with schedule.

      Show
      Add a constraint to the model to indicated that consecutiveDays is mutually exclusive with schedule.
    • Hide

      These constraints are now in EMIX wd22 - maxConsecutiveDurations, availability schedule. Use that rather than this version.

      Show
      These constraints are now in EMIX wd22 - maxConsecutiveDurations, availability schedule. Use that rather than this version.

      The class EiConstraint has three associations to EiConstraintSchedule:

      (a) acceptSchedule
      (b) maxConsecutiveDays
      (c) notAcceptSchedule

      All need filter:EiConstraintBehavior, but consecutiveDays is mutually exclusive with schedule.

      The alternative would require that EiConstraint have two classes rather than one.

      (Simpler solution in Resolution)

            Assignee:
            William Cox (Inactive)
            Reporter:
            William Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: