Package org.gbif.api.model.collections
Interface Contactable
-
- All Known Subinterfaces:
CollectionEntity
- All Known Implementing Classes:
Collection
,Institution
public interface Contactable
Entity that can have a list of contacts and addresses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Address
getAddress()
Physical or associated address.List<Contact>
getContactPersons()
List of associated contacts.Address
getMailingAddress()
Address used to send and receive mail.void
setAddress(Address address)
void
setContactPersons(List<Contact> contacts)
void
setMailingAddress(Address mailingAddress)
-
-
-
Method Detail
-
getContactPersons
@Nullable List<Contact> getContactPersons()
List of associated contacts.
-
setContactPersons
void setContactPersons(List<Contact> contacts)
-
getMailingAddress
@Nullable Address getMailingAddress()
Address used to send and receive mail.
-
setMailingAddress
void setMailingAddress(Address mailingAddress)
-
getAddress
@Nullable Address getAddress()
Physical or associated address.
-
setAddress
void setAddress(Address address)
-
-