Package org.gbif.api.model.collections
Class Address
java.lang.Object
org.gbif.api.model.collections.Address
- All Implemented Interfaces:
Serializable
,LenientEquals<Address>
The particulars of the place where a institution of collection is situated.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Textual direction of this address.getCity()
City where this address is located.Country where this address is located.@Null(groups=PrePersist.class) Integer
getKey()
Unique identifier, assigned by the persistence store.International postal code of this address.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
void
setCountry
(Country country) void
void
setPostalCode
(String postalCode) void
setProvince
(String province) toString()
-
Constructor Details
-
Address
public Address()
-
-
Method Details
-
getKey
Unique identifier, assigned by the persistence store. -
setKey
-
getAddress
Textual direction of this address. -
setAddress
-
getCity
City where this address is located. -
setCity
-
getProvince
Province, region or area where this address is located. -
setProvince
-
getPostalCode
International postal code of this address. -
setPostalCode
-
getCountry
Country where this address is located. -
setCountry
-
equals
-
hashCode
-
toString
-
lenientEquals
Description copied from interface:LenientEquals
Leniently tests if the objects are the same. Implementors should declare what this means in practice.- Specified by:
lenientEquals
in interfaceLenientEquals<Address>
- Parameters:
other
- To compare against- Returns:
- true if...
-