public class Institution extends Object implements CollectionEntity, LenientEquals<Institution>
| Constructor and Description |
|---|
Institution() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMachineTag(MachineTag machineTag) |
List<String> |
getAdditionalNames()
Alternative names of institution.
|
@Valid Address |
getAddress()
Physical or associated address.
|
List<AlternativeCode> |
getAlternativeCodes()
Alternative codes for an institution.
|
URI |
getApiUrl()
Machine-consumable endpoint of an institution and probably its collections.
|
URI |
getCatalogUrl()
URL to the main catalogue of an institution.
|
String |
getCitesPermitNumber()
CITES (see http://ec.europa.eu/environment/cites/info_permits_en.htm) licence given for this
collection.
|
String |
getCity() |
@NotNull(groups=PrePersist.class) String |
getCode()
Code used to identify the collection.
|
List<Comment> |
getComments() |
@Valid List<Contact> |
getContactPersons()
List of associated contacts.
|
UUID |
getConvertedToCollection() |
String |
getCountry() |
Date |
getCreated()
Date when the records as created.
|
String |
getCreatedBy()
Creator of the database record.
|
Date |
getDeleted()
Date when the records was (logically) deleted.
|
@Size(min=1) String |
getDescription()
Textual description of institution.
|
List<Discipline> |
getDisciplines()
Activities to which an institution is dedicated.
|
Boolean |
getDisplayOnNHCPortal()
Flag to display the entity in the NHC portal.
|
List<String> |
getEmail()
Emails of the entity
|
Integer |
getFoundingDate()
Date when the institution was founded or established.
|
String |
getGeographicDescription()
Geographical coverage of the activities performed by an institution.
|
URI |
getHomepage()
URL to the home page of an institution.
|
List<Identifier> |
getIdentifiers() |
InstitutionGovernance |
getInstitutionalGovernance()
Governance nature of an institution.
|
UUID |
getKey()
GBIF unique identifier.
|
BigDecimal |
getLatitude()
Decimal latitude of where this institution is located.
|
URI |
getLogoUrl()
Logo/Image that identifies the institution.
|
BigDecimal |
getLongitude()
Decimal longitude of where this institution is located.
|
@NotNull List<MachineTag> |
getMachineTags() |
@Valid Address |
getMailingAddress()
Address used to send and receive mail.
|
MasterSourceType |
getMasterSource()
Master source of the entity.
|
MasterSourceMetadata |
getMasterSourceMetadata()
Master source metadata
|
Date |
getModified()
Date when the records was last modified.
|
String |
getModifiedBy()
Person or agent that modified the database record.
|
@NotNull String |
getName()
Name or title of an institution.
|
Integer |
getNumberSpecimens()
Estimated number of specimens hosted by an institution.
|
Integer |
getOccurrenceCount() |
List<OccurrenceMapping> |
getOccurrenceMappings() |
List<String> |
getPhone()
Phones of the entity
|
String |
getProvince() |
UUID |
getReplacedBy()
Replacement of the entity (if applies).
|
List<Tag> |
getTags() |
String |
getTaxonomicDescription()
Taxonomic description of the collections maintained by an institution.
|
InstitutionType |
getType()
Describes the main activity of an institution.
|
Integer |
getTypeSpecimenCount() |
boolean |
isActive()
Is the institution active/operational?.
|
boolean |
isIndexHerbariorumRecord()
Was the institution record imported form Index Herbariorum.
|
boolean |
lenientEquals(Institution other)
Leniently tests if the objects are the same.
|
void |
setActive(boolean active) |
void |
setAdditionalNames(List<String> additionalNames) |
void |
setAddress(Address address) |
void |
setAlternativeCodes(List<AlternativeCode> alternativeCodes) |
void |
setApiUrl(URI apiUrl) |
void |
setCatalogUrl(URI catalogUrl) |
void |
setCitesPermitNumber(String citesPermitNumber) |
void |
setCode(String code) |
void |
setComments(List<Comment> comments) |
void |
setContactPersons(List<Contact> contactPersons) |
void |
setConvertedToCollection(UUID convertedToCollection) |
void |
setCreated(Date created) |
void |
setCreatedBy(String createdBy) |
void |
setDeleted(Date deleted) |
void |
setDescription(String description) |
void |
setDisciplines(List<Discipline> disciplines) |
void |
setDisplayOnNHCPortal(Boolean displayOnNHCPortal) |
void |
setEmail(List<String> email) |
void |
setFoundingDate(Integer foundingDate) |
void |
setGeographicDescription(String geographicDescription) |
void |
setHomepage(URI homepage) |
void |
setIdentifiers(List<Identifier> identifiers) |
void |
setIndexHerbariorumRecord(boolean indexHerbariorumRecord) |
void |
setInstitutionalGovernance(InstitutionGovernance institutionalGovernance) |
void |
setKey(UUID key) |
void |
setLatitude(BigDecimal latitude) |
void |
setLogoUrl(URI logoUrl) |
void |
setLongitude(BigDecimal longitude) |
void |
setMachineTags(List<MachineTag> machineTags) |
void |
setMailingAddress(Address mailingAddress) |
void |
setMasterSource(MasterSourceType masterSource) |
void |
setMasterSourceMetadata(MasterSourceMetadata masterSourceMetadata) |
void |
setModified(Date modified) |
void |
setModifiedBy(String modifiedBy) |
void |
setName(String name) |
void |
setNumberSpecimens(Integer numberSpecimens) |
void |
setOccurrenceCount(Integer occurrenceCount) |
void |
setOccurrenceMappings(List<OccurrenceMapping> occurrenceMappings) |
void |
setPhone(List<String> phone) |
void |
setReplacedBy(UUID replacedBy) |
void |
setTags(List<Tag> tags) |
void |
setTaxonomicDescription(String taxonomicDescription) |
void |
setType(InstitutionType type) |
void |
setTypeSpecimenCount(Integer typeSpecimenCount) |
public Institution()
public UUID getKey()
getKey in interface CollectionEntitypublic void setKey(UUID key)
setKey in interface CollectionEntity@NotNull(groups=PrePersist.class) public @NotNull(groups=PrePersist.class) String getCode()
getCode in interface CollectionEntitypublic void setCode(String code)
setCode in interface CollectionEntity@NotNull public @NotNull String getName()
getName in interface CollectionEntitypublic void setName(String name)
setName in interface CollectionEntity@Nullable @Size(min=1) public @Size(min=1) String getDescription()
getDescription in interface CollectionEntitypublic void setDescription(String description)
setDescription in interface CollectionEntitypublic InstitutionType getType()
public void setType(InstitutionType type)
public boolean isActive()
isActive in interface CollectionEntitypublic void setActive(boolean active)
setActive in interface CollectionEntitypublic List<String> getEmail()
CollectionEntitygetEmail in interface CollectionEntitypublic void setEmail(List<String> email)
setEmail in interface CollectionEntitypublic List<String> getPhone()
CollectionEntitygetPhone in interface CollectionEntitypublic void setPhone(List<String> phone)
setPhone in interface CollectionEntity@Nullable public URI getHomepage()
public void setHomepage(URI homepage)
@Nullable public URI getCatalogUrl()
public void setCatalogUrl(URI catalogUrl)
@Nullable public URI getApiUrl()
public InstitutionGovernance getInstitutionalGovernance()
public void setInstitutionalGovernance(InstitutionGovernance institutionalGovernance)
public List<Discipline> getDisciplines()
public void setDisciplines(List<Discipline> disciplines)
public BigDecimal getLatitude()
public void setLatitude(BigDecimal latitude)
public BigDecimal getLongitude()
public void setLongitude(BigDecimal longitude)
@Nullable @Valid public @Valid Address getMailingAddress()
ContactablegetMailingAddress in interface Contactablepublic void setMailingAddress(Address mailingAddress)
setMailingAddress in interface Contactable@Nullable @Valid public @Valid Address getAddress()
ContactablegetAddress in interface Contactablepublic void setAddress(Address address)
setAddress in interface Contactablepublic List<String> getAdditionalNames()
public void setAdditionalNames(List<String> additionalNames)
public Integer getFoundingDate()
public void setFoundingDate(Integer foundingDate)
public String getGeographicDescription()
public void setGeographicDescription(String geographicDescription)
public String getTaxonomicDescription()
public void setTaxonomicDescription(String taxonomicDescription)
public Integer getNumberSpecimens()
public void setNumberSpecimens(Integer numberSpecimens)
public boolean isIndexHerbariorumRecord()
public void setIndexHerbariorumRecord(boolean indexHerbariorumRecord)
@Nullable public URI getLogoUrl()
public void setLogoUrl(URI logoUrl)
public String getCitesPermitNumber()
public void setCitesPermitNumber(String citesPermitNumber)
public String getCreatedBy()
CollectionEntitygetCreatedBy in interface CollectionEntitypublic void setCreatedBy(String createdBy)
setCreatedBy in interface CollectionEntitypublic String getModifiedBy()
CollectionEntitygetModifiedBy in interface CollectionEntitypublic void setModifiedBy(String modifiedBy)
setModifiedBy in interface CollectionEntitypublic Date getCreated()
CollectionEntitygetCreated in interface CollectionEntitypublic void setCreated(Date created)
setCreated in interface CollectionEntitypublic Date getModified()
CollectionEntitygetModified in interface CollectionEntitypublic void setModified(Date modified)
setModified in interface CollectionEntitypublic Date getDeleted()
CollectionEntitygetDeleted in interface CollectionEntitypublic void setDeleted(Date deleted)
setDeleted in interface CollectionEntitypublic List<Identifier> getIdentifiers()
getIdentifiers in interface Identifiablepublic void setIdentifiers(List<Identifier> identifiers)
setIdentifiers in interface Identifiable@Valid public @Valid List<Contact> getContactPersons()
ContactablegetContactPersons in interface Contactablepublic void setContactPersons(List<Contact> contactPersons)
setContactPersons in interface Contactable@NotNull public @NotNull List<MachineTag> getMachineTags()
getMachineTags in interface MachineTaggablepublic void setMachineTags(List<MachineTag> machineTags)
setMachineTags in interface MachineTaggablepublic void addMachineTag(MachineTag machineTag)
addMachineTag in interface MachineTaggablepublic List<AlternativeCode> getAlternativeCodes()
getAlternativeCodes in interface CollectionEntitypublic void setAlternativeCodes(List<AlternativeCode> alternativeCodes)
setAlternativeCodes in interface CollectionEntitypublic List<Comment> getComments()
getComments in interface Commentablepublic void setComments(List<Comment> comments)
setComments in interface Commentablepublic List<OccurrenceMapping> getOccurrenceMappings()
getOccurrenceMappings in interface OccurrenceMappeablepublic void setOccurrenceMappings(List<OccurrenceMapping> occurrenceMappings)
setOccurrenceMappings in interface OccurrenceMappeablepublic UUID getReplacedBy()
CollectionEntitygetReplacedBy in interface CollectionEntitypublic void setReplacedBy(UUID replacedBy)
setReplacedBy in interface CollectionEntitypublic UUID getConvertedToCollection()
public void setConvertedToCollection(UUID convertedToCollection)
public MasterSourceType getMasterSource()
CollectionEntitygetMasterSource in interface CollectionEntitypublic void setMasterSource(MasterSourceType masterSource)
setMasterSource in interface CollectionEntitypublic MasterSourceMetadata getMasterSourceMetadata()
CollectionEntitygetMasterSourceMetadata in interface CollectionEntitypublic void setMasterSourceMetadata(MasterSourceMetadata masterSourceMetadata)
setMasterSourceMetadata in interface CollectionEntitypublic Boolean getDisplayOnNHCPortal()
CollectionEntitygetDisplayOnNHCPortal in interface CollectionEntitypublic void setDisplayOnNHCPortal(Boolean displayOnNHCPortal)
setDisplayOnNHCPortal in interface CollectionEntitypublic Integer getOccurrenceCount()
public void setOccurrenceCount(Integer occurrenceCount)
public Integer getTypeSpecimenCount()
public void setTypeSpecimenCount(Integer typeSpecimenCount)
public String getCountry()
public String getProvince()
public boolean lenientEquals(Institution other)
LenientEqualslenientEquals in interface LenientEquals<Institution>other - To compare againstCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.