Interface IZoneCodeConstraint<Z extends IZoneCode,Q extends IZoneCodeQualification<Z>>
- All Superinterfaces:
IConstraint
,IWorkingHoursLevelConstraint
,Serializable
- All Known Implementing Classes:
AbstractZoneCodeConstraint
,UKPostCodeConstraint
,ZoneNumberConstraint
public interface IZoneCodeConstraint<Z extends IZoneCode,Q extends IZoneCodeQualification<Z>>
extends IWorkingHoursLevelConstraint
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addZoneCode
(Z code) matchCodesAndPenalize
(Q qualification, List<Z> masterCodes, ILogicEntityRoute route, com.dna.jopt.assessment.costadjustment.IEntityCostAdjuster cad, com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider propertyProvider, boolean resultRequested) boolean
matchZoneCodes
(Q qualification, List<Z> masterCodes) void
Methods inherited from interface com.dna.jopt.member.unit.condition.IConstraint
assessConstraint, getTitle, hasMembers, isHard, isSatisfied, setIsHard
-
Method Details
-
addZoneCode
-
getZoneCodes
-
setCodes
-
matchZoneCodes
-
matchCodesAndPenalize
Optional<IViolation> matchCodesAndPenalize(Q qualification, List<Z> masterCodes, ILogicEntityRoute route, com.dna.jopt.assessment.costadjustment.IEntityCostAdjuster cad, com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider propertyProvider, boolean resultRequested) -
getNodeZoneQualification
-