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 TypeMethodDescriptionbooleanTextual direction of this address.getCity()City where this address is located.Country where this address is located.@Null(groups=PrePersist.class) IntegergetKey()Unique identifier, assigned by the persistence store.International postal code of this address.Province, region or area where this address is located.inthashCode()booleanlenientEquals(Address other) Leniently tests if the objects are the same.voidsetAddress(String address) voidvoidsetCountry(Country country) voidvoidsetPostalCode(String postalCode) voidsetProvince(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:LenientEqualsLeniently tests if the objects are the same. Implementors should declare what this means in practice.- Specified by:
lenientEqualsin interfaceLenientEquals<Address>- Parameters:
other- To compare against- Returns:
- true if...
-