From: Roland Haeder Date: Mon, 11 Apr 2016 12:14:27 +0000 (+0200) Subject: It is the dial-prefix for making calls outside local city (mostly 0). X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5ee94e59d72bb3e8d1bb22acd22e449211e2df8b;p=jcountry-core.git It is the dial-prefix for making calls outside local city (mostly 0). Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jcountry/data/Country.java b/src/org/mxchange/jcountry/data/Country.java index e76d656..90b46cb 100644 --- a/src/org/mxchange/jcountry/data/Country.java +++ b/src/org/mxchange/jcountry/data/Country.java @@ -36,9 +36,9 @@ public interface Country extends Serializable { /** * Setter for country code (example: 49 for Germany, 63 for Philippines) *

- * @param phoneCountryCode Country code + * @param countryPhoneCode Country code */ - void setCountryPhoneCode (final Short phoneCountryCode); + void setCountryPhoneCode (final Short countryPhoneCode); /** * Getter for id number @@ -73,14 +73,14 @@ public interface Country extends Serializable { *

* @return Local dial prefix */ - String getCountryLocalDialPrefix (); + String getCountryExternalDialPrefix (); /** * Setter for local dial prefix *

- * @param countryLocalDialPrefix Local dial prefix + * @param countryExternalDialPrefix Local dial prefix */ - void setCountryLocalDialPrefix (final String countryLocalDialPrefix); + void setCountryExternalDialPrefix (final String countryExternalDialPrefix); /** * Getter for abroad dial prefix @@ -106,9 +106,9 @@ public interface Country extends Serializable { /** * Setter for i18n key for country name *

- * @param countryI18nkey i18n key for country name + * @param countryI18nKey i18n key for country name */ - void setCountryI18nkey (final String countryI18nkey); + void setCountryI18nkey (final String countryI18nKey); /** * Getter for whether the local dial prefix is required for local calls @@ -120,8 +120,7 @@ public interface Country extends Serializable { /** * Setter for whether the local dial prefix is required for local calls *

- * @param countryIsLocalPrefixRequired Whether the local dial prefix is - * required + * @param countryIsLocalPrefixRequired Whether the local dial prefix is required */ void setCountryIsLocalPrefixRequired (final Boolean countryIsLocalPrefixRequired); @@ -144,4 +143,5 @@ public interface Country extends Serializable { @Override int hashCode (); + } diff --git a/src/org/mxchange/jcountry/data/CountryData.java b/src/org/mxchange/jcountry/data/CountryData.java index 450d079..1a70523 100644 --- a/src/org/mxchange/jcountry/data/CountryData.java +++ b/src/org/mxchange/jcountry/data/CountryData.java @@ -95,12 +95,12 @@ public class CountryData implements Country { private Boolean countryIsLocalPrefixRequired; /** - * Dial prefix to be dialed before the area/city number is dialed locally. + * Dial prefix to be dialed before the area/city number is dialed. * In Germany, this is 0. */ @Basic (optional = false) - @Column (name = "country_local_dial_prefix", length = 10) - private String countryLocalDialPrefix; + @Column (name = "country_exyernal_dial_prefix", length = 10) + private String countryExternalDialPrefix; /** * 2-digit country's phone code (example: 49 for Germany, 63 for @@ -191,13 +191,13 @@ public class CountryData implements Country { } @Override - public String getCountryLocalDialPrefix () { - return this.countryLocalDialPrefix; + public String getCountryExternalDialPrefix () { + return this.countryExternalDialPrefix; } @Override - public void setCountryLocalDialPrefix (final String countryLocalDialPrefix) { - this.countryLocalDialPrefix = countryLocalDialPrefix; + public void setCountryExternalDialPrefix (final String countryExternalDialPrefix) { + this.countryExternalDialPrefix = countryExternalDialPrefix; } @Override