Class ViolationFactory
java.lang.Object
com.dna.jopt.member.unit.violation.ViolationFactory
A factory for creating Violation objects.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The Constant CONSTRAINTVIOLATION_CAPACITY_OVERLOAD.static final int
static final int
static final int
static final int
The Constant CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED.static final int
The Constant CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED.static final int
static final int
The Constant CONSTRAINTVIOLATION_MAXTIME_EXCEEDED.static final int
static final int
static final int
static final int
The Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.static final int
The Constant CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
The Constant CONSTRAINTVIOLATION_RELATIONSHIP_WRONG_ORDER.static final int
The Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLY.static final int
The Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.static final int
The Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.static final int
The Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKING.static final String
static final String
static final int
The Constant HC_CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED.static final int
The Constant HC_CONSTRAINTVIOLATION_RESOURCE_NOT_ALLOWED.static final int
The Constant HC_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.static final int
The Constant HC_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE_RESPONSIBLE.static final String
static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_CAPACITY_OVERLOAD.static final IViolation
static final IViolation
static final IViolation
static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED.static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED.static final IViolation
static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED.static final IViolation
static final IViolation
static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED.static final IViolation
static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED.static final IViolation
static final IViolation
static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE.static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE.static final IViolation
static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE.static final IViolation
static final IViolation
static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_WRONG_ORDER.static final IViolation
static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLY.static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.static final IViolation
The Constant VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKING. -
Method Summary
-
Field Details
-
CONSTRAINTVIOLATIONTAG
- See Also:
-
TIMECONSTRAINTCONSTRAINTVIOLATIONTAG
- See Also:
-
EXCEEDEDTAG
- See Also:
-
CONSTRAINTVIOLATION_MAXTIME_EXCEEDED
public static final int CONSTRAINTVIOLATION_MAXTIME_EXCEEDEDThe 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_EXCEEDEDThe 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_ALLOWEDThe Constant CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED.- See Also:
-
CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKING
public static final int CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKINGThe Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKING.- See Also:
-
CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE
public static final int CONSTRAINTVIOLATION_TIMECONSTRAINT_LATEThe Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.- See Also:
-
CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLY
public static final int CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLYThe Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLY.- See Also:
-
CONSTRAINTVIOLATION_CAPACITY_OVERLOAD
public static final int CONSTRAINTVIOLATION_CAPACITY_OVERLOADThe 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_ORDERThe 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_LATEThe Constant HC_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.- See Also:
-
HC_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE_RESPONSIBLE
public static final int HC_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE_RESPONSIBLEThe Constant HC_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE_RESPONSIBLE.- See Also:
-
HC_CONSTRAINTVIOLATION_RESOURCE_NOT_ALLOWED
public static final int HC_CONSTRAINTVIOLATION_RESOURCE_NOT_ALLOWEDThe Constant HC_CONSTRAINTVIOLATION_RESOURCE_NOT_ALLOWED.- See Also:
-
HC_CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED
public static final int HC_CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWEDThe 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_RETURNThe 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_ENDANCHORThe Constant CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE.- See Also:
-
CONSTRAINTVIOLATION_MISSED_SERVICEHOURS
public static final int CONSTRAINTVIOLATION_MISSED_SERVICEHOURSThe 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
The Constant VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED. -
VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED_WITHEND_ANCHOR
-
VIOLATION_CONSTRAINTVIOLATION_MAXTIME_RADIUS_EXCEEDED
The Constant VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED. -
VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED
The Constant VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED. -
VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_RADIUS_EXCEEDED
-
VIOLATION_CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED
The Constant VIOLATION_CONSTRAINTVIOLATION_NODETYPE_RESOURCE_NOT_ALLOWED. -
VIOLATION_CONSTRAINTVIOLATION_NOT_FIRST_NODE
-
VIOLATION_CONSTRAINTVIOLATION_NOT_LAST_NODE
-
VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKING
The Constant VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_POTENTIAL_DOUBLEBOOKING. -
VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE
The Constant VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_LATE. -
VIOLATION_CONSTRAINTVIOLATION_MISSED_SERVICEHOURS
-
VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_AFTERENDANCHOR
-
VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLY
The Constant VIOLATION_CONSTRAINTVIOLATION_TIMECONSTRAINT_EARLY. -
VIOLATION_CONSTRAINTVIOLATION_CAPACITY_OVERLOAD
The Constant VIOLATION_CONSTRAINTVIOLATION_CAPACITY_OVERLOAD. -
VIOLATION_CONSTRAINTVIOLATION_CAPACITY_UNDERLOAD
-
VIOLATION_CONSTRAINTVIOLATION_CAPACITY_TRANSPORT_OVERTIME
-
VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_WRONG_ORDER
The Constant VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_WRONG_ORDER. -
VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE
The Constant VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE. -
VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE_ROUTE
The Constant VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE. -
VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_SAME_RESOURCE
The Constant VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_DIFFERENT_RESOURCE. -
VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_SAME_ROUTE
-
VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_WOH_GAP
-
VIOLATION_CONSTRAINTVIOLATION_RELATIONSHIP_OVERLAP
-
VIOLATION_CONSTRAINTVIOLATION_MAXTIME_EXCEEDED_DUE_TO_RETURN
-
VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED_DUE_TO_RETURN
The Constant VIOLATION_CONSTRAINTVIOLATION_MAXDISTANCE_EXCEEDED. -
VIOLATION_CONSTRAINTVIOLATION_COLOR_CAPACITY_USAGE
-