* <p>
* @return i18n key for country name
*/
- String getCountryI18nkey ();
+ String getCountryI18nKey ();
/**
* Setter for i18n key for country name
* <p>
* @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
@NamedQueries (
{
@NamedQuery (name = "AllCountries", query = "SELECT c FROM country_data AS c ORDER BY c.countryId ASC"),
- @NamedQuery (name = "SearchCountryByCodeI18nKey", query = "SELECT c FROM country_data AS c WHERE c.countryCode = :code OR c.countryI18nkey = :key")
+ @NamedQuery (name = "SearchCountryByCodeI18nKey", query = "SELECT c FROM country_data AS c WHERE c.countryCode = :code OR c.countryI18nKey = :key")
}
)
@SuppressWarnings ("PersistenceUnitPresent")
/**
* Key to i18n key (to have translated country names)
- * @TODO Apply naming convention: camel case
*/
@Basic (optional = false)
@Column (name = "country_i18n_key", length = 100, nullable = false)
- private String countryI18nkey;
+ private String countryI18nKey;
/**
* Id number
if (!Objects.equals(this.getCountryCode(), other.getCountryCode())) {
return false;
- } else if (!Objects.equals(this.getCountryI18nkey(), other.getCountryI18nkey())) {
+ } else if (!Objects.equals(this.getCountryI18nKey(), other.getCountryI18nKey())) {
return false;
} else if (!Objects.equals(this.getCountryId(), other.getCountryId())) {
return false;
public int hashCode () {
int hash = 7;
hash = 41 * hash + Objects.hashCode(this.getCountryCode());
- hash = 41 * hash + Objects.hashCode(this.getCountryI18nkey());
+ hash = 41 * hash + Objects.hashCode(this.getCountryI18nKey());
hash = 41 * hash + Objects.hashCode(this.getCountryId());
return hash;
}
}
@Override
- public String getCountryI18nkey () {
- return this.countryI18nkey;
+ public String getCountryI18nKey () {
+ return this.countryI18nKey;
}
@Override
- public void setCountryI18nkey (final String countryI18nkey) {
- this.countryI18nkey = countryI18nkey;
+ public void setCountryI18nKey (final String countryI18nKey) {
+ this.countryI18nKey = countryI18nKey;
}
@Override