Class PhoneCountryData
- java.lang.Object
-
- de.knightsoftnet.validators.shared.data.PhoneCountryData
-
- All Implemented Interfaces:
Serializable
public class PhoneCountryData extends Object implements Serializable
phone number country data.- Author:
- Manfred Tremmel
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PhoneCountryData()PhoneCountryData(String pcountryCode, String pcountryCodeName, String ptrunkCode, String pexitCode, boolean pareaCodeMustBeFilled, PhoneCountryCodeData pcountryCodeData)constructor initializing fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object pobj)StringgetCountryCode()PhoneCountryCodeDatagetCountryCodeData()StringgetCountryCodeName()StringgetExitCode()StringgetTrunkCode()inthashCode()booleanisAreaCodeMustBeFilled()voidsetAreaCodeMustBeFilled(boolean areaCodeMustBeFilled)voidsetCountryCode(String countryCode)voidsetCountryCodeData(PhoneCountryCodeData countryCodeData)voidsetCountryCodeName(String countryCodeName)voidsetExitCode(String exitCode)voidsetTrunkCode(String trunkCode)
-
-
-
Constructor Detail
-
PhoneCountryData
public PhoneCountryData()
-
PhoneCountryData
public PhoneCountryData(String pcountryCode, String pcountryCodeName, String ptrunkCode, String pexitCode, boolean pareaCodeMustBeFilled, PhoneCountryCodeData pcountryCodeData)
constructor initializing fields.- Parameters:
pcountryCode- country iso codepcountryCodeName- country nameptrunkCode- trunk code (used for country internal calls)pexitCode- exit code (used for international callspareaCodeMustBeFilled- true if area code must be filled in this countrypcountryCodeData- country code data
-
-
Method Detail
-
getCountryCode
public String getCountryCode()
-
getCountryCodeName
public String getCountryCodeName()
-
getTrunkCode
public String getTrunkCode()
-
getExitCode
public String getExitCode()
-
isAreaCodeMustBeFilled
public boolean isAreaCodeMustBeFilled()
-
getCountryCodeData
public PhoneCountryCodeData getCountryCodeData()
-
setCountryCode
public void setCountryCode(String countryCode)
-
setCountryCodeName
public void setCountryCodeName(String countryCodeName)
-
setTrunkCode
public void setTrunkCode(String trunkCode)
-
setExitCode
public void setExitCode(String exitCode)
-
setAreaCodeMustBeFilled
public void setAreaCodeMustBeFilled(boolean areaCodeMustBeFilled)
-
setCountryCodeData
public void setCountryCodeData(PhoneCountryCodeData countryCodeData)
-
-