public class Address extends Object implements Serializable, LenientEquals<Address>
Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAddress()
Textual direction of this address.
|
String |
getCity()
City where this address is located.
|
Country |
getCountry()
Country where this address is located.
|
@Null(groups=PrePersist.class) Integer |
getKey()
Unique identifier, assigned by the persistence store.
|
String |
getPostalCode()
International postal code of this address.
|
String |
getProvince()
Province, region or area where this address is located.
|
int |
hashCode() |
boolean |
lenientEquals(Address other)
Leniently tests if the objects are the same.
|
void |
setAddress(String address) |
void |
setCity(String city) |
void |
setCountry(Country country) |
void |
setKey(Integer key) |
void |
setPostalCode(String postalCode) |
void |
setProvince(String province) |
String |
toString() |
public Address()
@Null(groups=PrePersist.class) public @Null(groups=PrePersist.class) Integer getKey()
public String getAddress()
public void setAddress(String address)
public String getProvince()
public void setProvince(String province)
public String getPostalCode()
public void setPostalCode(String postalCode)
@Nullable public Country getCountry()
public void setCountry(Country country)
public boolean lenientEquals(Address other)
LenientEquals
lenientEquals
in interface LenientEquals<Address>
other
- To compare againstCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.