Class ViolationFactory

java.lang.Object
com.dna.jopt.member.unit.violation.ViolationFactory

public class ViolationFactory extends Object
A factory for creating Violation objects.
  • Field Details

    • CONSTRAINTVIOLATIONTAG

      public static final String CONSTRAINTVIOLATIONTAG
      See Also:
    • TIMECONSTRAINTCONSTRAINTVIOLATIONTAG

      public static final String TIMECONSTRAINTCONSTRAINTVIOLATIONTAG
      See Also:
    • EXCEEDEDTAG

      public static final String EXCEEDEDTAG
      See Also:
    • CONSTRAINTVIOLATION_MAXTIME_EXCEEDED

      public static final int CONSTRAINTVIOLATION_MAXTIME_EXCEEDED
      The Constant CONSTRAINTVIOLATION_MAXTIME_EXCEEDED.
      See Also:
    • CONSTRAINTVIOLATION_MAXTIME_EXCEEDED_WITH_END_ANCHOR

      public static final int CONSTRAINTVIOLATION_MAXTIME_EXCEEDED_WITH_END_ANCHOR
      See Also:
    • CONSTRAINTVIOLATION_MAXTIME_RADIUS_EXCEEDED

      public static final int CONSTRAINTVIOLATION_MAXTIME_RADIUS_EXCEEDED
      See Also:
    • CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED

      public static final int CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED
      The Constant CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED.
      See Also:
    • CONSTRAINTVIOLATION_MAXDISTANCE_RADIUS_EXCEEDED

      public static final int CONSTRAINTVIOLATION_MAXDISTANCE_RADIUS_EXCEEDED
      See Also:
    • CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED

      public static final int CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED
      The Constant CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED.
      See Also:
    • CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKING

      public static final int CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKING
      The Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKING.
      See Also:
    • CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE

      public static final int CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE
      The Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.
      See Also:
    • CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLY

      public static final int CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLY
      The Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLY.
      See Also:
    • CONSTRAINTVIOLATION_CAPACITY_OVERLOAD

      public static final int CONSTRAINTVIOLATION_CAPACITY_OVERLOAD
      The Constant CONSTRAINTVIOLATION_CAPACITY_OVERLOAD.
      See Also:
    • CONSTRAINTVIOLATION_CAPACITY_UNDERLOAD

      public static final int CONSTRAINTVIOLATION_CAPACITY_UNDERLOAD
      See Also:
    • CONSTRAINTVIOLATION_CAPACITY_TRANSPORT_OVERTIME

      public static final int CONSTRAINTVIOLATION_CAPACITY_TRANSPORT_OVERTIME
      See Also:
    • CONSTRAINTVIOLATION_RELATIONSHIP_WRONG_ORDER

      public static final int CONSTRAINTVIOLATION_RELATIONSHIP_WRONG_ORDER
      The Constant CONSTRAINTVIOLATION_RELATIONSHIP_WRONG_ORDER.
      See Also:
    • CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE

      public static final int CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE
      See Also:
    • CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE_ROUTE

      public static final int CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE_ROUTE
      See Also:
    • CONSTRAINTVIOLATION_RELATIONSHIP_SAME_RESOURCE

      public static final int CONSTRAINTVIOLATION_RELATIONSHIP_SAME_RESOURCE
      See Also:
    • CONSTRAINTVIOLATION_RELATIONSHIP_SAME_ROUTE

      public static final int CONSTRAINTVIOLATION_RELATIONSHIP_SAME_ROUTE
      See Also:
    • CONSTRAINTVIOLATION_RELATIONSHIP_WOH_GAP

      public static final int CONSTRAINTVIOLATION_RELATIONSHIP_WOH_GAP
      See Also:
    • CONSTRAINTVIOLATION_RELATIONSHIP_OVERLAP

      public static final int CONSTRAINTVIOLATION_RELATIONSHIP_OVERLAP
      See Also:
    • HC_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE

      public static final int HC_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE
      The Constant HC_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.
      See Also:
    • HC_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE_RESPONSIBLE

      public static final int HC_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE_RESPONSIBLE
      The Constant HC_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE_RESPONSIBLE.
      See Also:
    • HC_CONSTRAINTVIOLATION_RESOURCE_NOT_ALLOWED

      public static final int HC_CONSTRAINTVIOLATION_RESOURCE_NOT_ALLOWED
      The Constant HC_CONSTRAINTVIOLATION_RESOURCE_NOT_ALLOWED.
      See Also:
    • HC_CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED

      public static final int HC_CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED
      The Constant HC_CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED.
      See Also:
    • CONSTRAINTVIOLATION_MAXTIME_EXCEEDED_DUE_TO_RETURN

      public static final int CONSTRAINTVIOLATION_MAXTIME_EXCEEDED_DUE_TO_RETURN
      See Also:
    • CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED_DUE_TO_RETURN

      public static final int CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED_DUE_TO_RETURN
      The Constant CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED.
      See Also:
    • CONSTRAINTVIOLATION_COLOR_CAPACITY_USAGE

      public static final int CONSTRAINTVIOLATION_COLOR_CAPACITY_USAGE
      See Also:
    • CONSTRAINTVIOLATION_TIMECONSTRAINT_ENDANCHOR

      public static final int CONSTRAINTVIOLATION_TIMECONSTRAINT_ENDANCHOR
      The Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.
      See Also:
    • CONSTRAINTVIOLATION_MISSED_SERVICEHOURS

      public static final int CONSTRAINTVIOLATION_MISSED_SERVICEHOURS
      The Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.
      See Also:
    • CONSTRAINTVIOLATION_NOT_FIRST_NODE

      public static final int CONSTRAINTVIOLATION_NOT_FIRST_NODE
      See Also:
    • CONSTRAINTVIOLATION_NOT_LAST_NODE

      public static final int CONSTRAINTVIOLATION_NOT_LAST_NODE
      See Also:
    • VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED
      The Constant VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED.
    • VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED_WITHEND_ANCHOR

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED_WITHEND_ANCHOR
    • VIOLATION_CONSTRAINTVIOLATION_MAXTIME_RADIUS_EXCEEDED

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_MAXTIME_RADIUS_EXCEEDED
      The Constant VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED.
    • VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED
      The Constant VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED.
    • VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_RADIUS_EXCEEDED

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_RADIUS_EXCEEDED
    • VIOLATION_CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED
      The Constant VIOLATION_CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED.
    • VIOLATION_CONSTRAINTVIOLATION_NOT_FIRST_NODE

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_NOT_FIRST_NODE
    • VIOLATION_CONSTRAINTVIOLATION_NOT_LAST_NODE

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_NOT_LAST_NODE
    • VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKING

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKING
      The Constant VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKING.
    • VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE
      The Constant VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.
    • VIOLATION_CONSTRAINTVIOLATION_MISSED_SERVICEHOURS

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_MISSED_SERVICEHOURS
    • VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_AFTERENDANCHOR

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_AFTERENDANCHOR
    • VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLY

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLY
      The Constant VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLY.
    • VIOLATION_CONSTRAINTVIOLATION_CAPACITY_OVERLOAD

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_CAPACITY_OVERLOAD
      The Constant VIOLATION_CONSTRAINTVIOLATION_CAPACITY_OVERLOAD.
    • VIOLATION_CONSTRAINTVIOLATION_CAPACITY_UNDERLOAD

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_CAPACITY_UNDERLOAD
    • VIOLATION_CONSTRAINTVIOLATION_CAPACITY_TRANSPORT_OVERTIME

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_CAPACITY_TRANSPORT_OVERTIME
    • VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_WRONG_ORDER

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_WRONG_ORDER
      The Constant VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_WRONG_ORDER.
    • VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE
      The Constant VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE.
    • VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE_ROUTE

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE_ROUTE
      The Constant VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE.
    • VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_SAME_RESOURCE

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_SAME_RESOURCE
      The Constant VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE.
    • VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_SAME_ROUTE

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_SAME_ROUTE
    • VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_WOH_GAP

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_WOH_GAP
    • VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_OVERLAP

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_OVERLAP
    • VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED_DUE_TO_RETURN

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED_DUE_TO_RETURN
    • VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED_DUE_TO_RETURN

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED_DUE_TO_RETURN
      The Constant VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED.
    • VIOLATION_CONSTRAINTVIOLATION_COLOR_CAPACITY_USAGE

      public static final IViolation VIOLATION_CONSTRAINTVIOLATION_COLOR_CAPACITY_USAGE