* Setter for whether the local dial prefix is required for local calls
* <p>
* @param countryIsLocalPrefixRequired Whether the local dial prefix is
- * required
+ * required
*/
void setCountryIsLocalPrefixRequired (final Boolean countryIsLocalPrefixRequired);
@NamedQueries (
@NamedQuery (name = "AllCountries", query = "SELECT c FROM country_data AS c ORDER BY c.countryId ASC")
)
-public class CountryData implements Country, Comparable<Country> {
+public class CountryData implements Country {
/**
* Serial number
@Column (name = "country_phone_code", length = 2, nullable = false, updatable = false)
private Short countryPhoneCode;
- @Override
- public int compareTo (final Country country) {
- throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
- }
-
@Override
public boolean equals (final Object object) {
- if (object == null) {
+ if (null == object) {
return false;
} else if (this.getClass() != object.getClass()) {
return false;