Package org.gbif.api.model.registry
Interface Address
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Contact
,Network
,Node
,Organization
public interface Address extends Serializable
A package visible providing the commonality for addresses, including the constraint validations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getAddress()
deliveryPoint in EML@Size(min=1) String
getCity()
city in EMLCountry
getCountry()
country in EMLList<String>
getEmail()
electronicMailAddress in EMLList<URI>
getHomepage()
List of homepage websites.@Size(min=2) String
getOrganization()
Institution name as part of the addressList<String>
getPhone()
phone in EML@Size(min=1) String
getPostalCode()
postalCode in EML@Size(min=1) String
getProvince()
administrativeArea in EMLvoid
setAddress(List<String> address)
void
setCity(String city)
void
setCountry(Country country)
void
setEmail(List<String> email)
void
setHomepage(List<URI> homepage)
void
setOrganization(String organization)
void
setPhone(List<String> phone)
void
setPostalCode(String postalCode)
void
setProvince(String province)
-
-
-
Method Detail
-
getAddress
List<String> getAddress()
deliveryPoint in EML
-
setAddress
void setAddress(List<String> address)
-
getProvince
@Nullable @Size(min=1) @Size(min=1) String getProvince()
administrativeArea in EML
-
setProvince
void setProvince(String province)
-
getCountry
@Nullable Country getCountry()
country in EML
-
setCountry
void setCountry(Country country)
-
getPostalCode
@Nullable @Size(min=1) @Size(min=1) String getPostalCode()
postalCode in EML
-
setPostalCode
void setPostalCode(String postalCode)
-
getOrganization
@Nullable @Size(min=2) @Size(min=2) String getOrganization()
Institution name as part of the address
-
setOrganization
void setOrganization(String organization)
-
getHomepage
List<URI> getHomepage()
List of homepage websites.
-
setHomepage
void setHomepage(List<URI> homepage)
-
-