Interface ZDMVConsistencyStrategy
-
- All Known Implementing Classes:
DefaultZDMVConsistencyStrategy
public interface ZDMVConsistencyStrategyStrategy for consistency check forZoneDeliveryModeModel.- Spring Bean ID:
- zdmvConsistencyStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<CountryModel,java.util.Set<ZoneModel>>getAmbiguousCountriesForZones(java.util.Set<ZoneModel> zones)Gets allCountryModels and its correspondingZoneModels when theCountryModelbelongs to more than oneZoneModel.
-
-
-
Method Detail
-
getAmbiguousCountriesForZones
java.util.Map<CountryModel,java.util.Set<ZoneModel>> getAmbiguousCountriesForZones(java.util.Set<ZoneModel> zones)
Gets allCountryModels and its correspondingZoneModels when theCountryModelbelongs to more than oneZoneModel.- Parameters:
zones- the zones- Returns:
- a
Mapwhich containsCountryModeland itsZoneModels, when theCountryModelbelongs to more than oneZoneModel. Collections.EMPTY_MAP otherwise.
-
-