Methods Summary |
---|
public boolean | equals(java.lang.Object other)
Location l = (Location) other;
return l.getCity().equals(city) && l.getStreetName().equals(streetName) && l.getCountryCode().equals(countryCode) && l.getStreetNumber()==streetNumber;
|
public java.lang.String | getCity()Returns the city.
return city;
|
public java.lang.String | getCountryCode()Returns the countryCode.
return countryCode;
|
public java.lang.String | getDescription()Returns the description.
return description;
|
public java.util.Locale | getLocale()Returns the locale.
return locale;
|
public java.lang.String | getStreetName()Returns the streetName.
return streetName;
|
public int | getStreetNumber()Returns the streetNumber.
return streetNumber;
|
public int | hashCode()
return streetName.hashCode();
|
public void | setCity(java.lang.String city)Sets the city.
this.city = city;
|
public void | setCountryCode(java.lang.String countryCode)Sets the countryCode.
this.countryCode = countryCode;
|
public void | setDescription(java.lang.String description)Sets the description.
this.description = description;
|
public void | setLocale(java.util.Locale locale)Sets the locale.
this.locale = locale;
|
public void | setStreetName(java.lang.String streetName)Sets the streetName.
this.streetName = streetName;
|
public void | setStreetNumber(int streetNumber)Sets the streetNumber.
this.streetNumber = streetNumber;
|