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 Details

    • addZoneCode

      void addZoneCode(Z code)
    • getZoneCodes

      List<Z> getZoneCodes()
    • setCodes

      void setCodes(List<Z> codes)
    • matchZoneCodes

      boolean matchZoneCodes(Q qualification, List<Z> masterCodes)
    • 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

      Optional<Q> getNodeZoneQualification(INode node)