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:
  • Constructor Details

    • 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 code
      pcountryCodeName - country name
      ptrunkCode - trunk code (used for country internal calls)
      pexitCode - exit code (used for international calls
      pareaCodeMustBeFilled - true if area code must be filled in this country
      pcountryCodeData - country code data
  • Method Details

    • 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)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object pobj)
      Overrides:
      equals in class Object