Class PhoneCountryConstantsImpl
java.lang.Object
de.knightsoftnet.validators.shared.data.PhoneCountryConstantsImpl
- All Implemented Interfaces:
PhoneCountrySharedConstants,Serializable
public class PhoneCountryConstantsImpl
extends Object
implements PhoneCountrySharedConstants, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptiondefault constructor.PhoneCountryConstantsImpl(Set<PhoneCountryCodeData> pcountryCode, Map<String, PhoneCountryData> pcountryMap) constructor initializing set. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCountriesMap(Map<String, PhoneCountryData> countriesMap) map of countries.voidsetCountryCode(Set<PhoneCountryCodeData> countryCode) setter for country code set.
-
Constructor Details
-
PhoneCountryConstantsImpl
public PhoneCountryConstantsImpl()default constructor. -
PhoneCountryConstantsImpl
public PhoneCountryConstantsImpl(Set<PhoneCountryCodeData> pcountryCode, Map<String, PhoneCountryData> pcountryMap) constructor initializing set.- Parameters:
pcountryCode- set of country codespcountryMap- map of countries with corresponding PhoneCountryCodeData
-
-
Method Details
-
getCountryCode
- Specified by:
getCountryCodein interfacePhoneCountrySharedConstants
-
getCountriesMap
- Specified by:
getCountriesMapin interfacePhoneCountrySharedConstants
-
setCountryCode
setter for country code set.- Parameters:
countryCode- set of country codes.
-
setCountriesMap
map of countries.- Parameters:
countriesMap- map to set
-