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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PhoneCountryConstantsImpl()default constructor.PhoneCountryConstantsImpl(Set<PhoneCountryCodeData> pcountryCode, Map<String,PhoneCountryData> pcountryMap)constructor initializing set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,PhoneCountryData>getCountriesMap()Set<PhoneCountryCodeData>getCountryCode()voidsetCountriesMap(Map<String,PhoneCountryData> countriesMap)map of countries.voidsetCountryCode(Set<PhoneCountryCodeData> countryCode)setter for country code set.
-
-
-
Constructor Detail
-
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 Detail
-
getCountryCode
public Set<PhoneCountryCodeData> getCountryCode()
- Specified by:
getCountryCodein interfacePhoneCountrySharedConstants
-
getCountriesMap
public Map<String,PhoneCountryData> getCountriesMap()
- Specified by:
getCountriesMapin interfacePhoneCountrySharedConstants
-
setCountryCode
public void setCountryCode(Set<PhoneCountryCodeData> countryCode)
setter for country code set.- Parameters:
countryCode- set of country codes.
-
setCountriesMap
public void setCountriesMap(Map<String,PhoneCountryData> countriesMap)
map of countries.- Parameters:
countriesMap- map to set
-
-