From: Roland Haeder Date: Mon, 11 Apr 2016 12:17:33 +0000 (+0200) Subject: sorted members X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7c41f97ee2e90080059fe88dbe5ae5c1e98c1cf9;p=jcountry-core.git sorted members --- diff --git a/src/org/mxchange/jcountry/data/CountryData.java b/src/org/mxchange/jcountry/data/CountryData.java index 1a70523..6df9435 100644 --- a/src/org/mxchange/jcountry/data/CountryData.java +++ b/src/org/mxchange/jcountry/data/CountryData.java @@ -71,6 +71,14 @@ public class CountryData implements Country { @Column (name = "country_entry_created", nullable = false, updatable = false) private Calendar countryEntryCreated; + /** + * Dial prefix to be dialed before the area/city number is dialed. In + * Germany, this is 0. + */ + @Basic (optional = false) + @Column (name = "country_exyernal_dial_prefix", length = 10) + private String countryExternalDialPrefix; + /** * Key to i18n key (to have translated country names) */ @@ -94,14 +102,6 @@ public class CountryData implements Country { @Column (name = "country_is_local_prefix_required", nullable = false) private Boolean countryIsLocalPrefixRequired; - /** - * Dial prefix to be dialed before the area/city number is dialed. - * In Germany, this is 0. - */ - @Basic (optional = false) - @Column (name = "country_exyernal_dial_prefix", length = 10) - private String countryExternalDialPrefix; - /** * 2-digit country's phone code (example: 49 for Germany, 63 for * Philippines) @@ -160,6 +160,16 @@ public class CountryData implements Country { this.countryEntryCreated = countryEntryCreated; } + @Override + public String getCountryExternalDialPrefix () { + return this.countryExternalDialPrefix; + } + + @Override + public void setCountryExternalDialPrefix (final String countryExternalDialPrefix) { + this.countryExternalDialPrefix = countryExternalDialPrefix; + } + @Override public String getCountryI18nkey () { return this.countryI18nkey; @@ -190,16 +200,6 @@ public class CountryData implements Country { this.countryIsLocalPrefixRequired = countryIsLocalPrefixRequired; } - @Override - public String getCountryExternalDialPrefix () { - return this.countryExternalDialPrefix; - } - - @Override - public void setCountryExternalDialPrefix (final String countryExternalDialPrefix) { - this.countryExternalDialPrefix = countryExternalDialPrefix; - } - @Override public Short getCountryPhoneCode () { return this.countryPhoneCode;