Package org.gbif.api.model.collections
Class Institution
java.lang.Object
org.gbif.api.model.collections.Institution
- All Implemented Interfaces:
Serializable,CollectionEntity,Contactable,OccurrenceMappeable,Commentable,Identifiable,LenientEquals<Institution>,MachineTaggable,Taggable
The owner or location of collection. Usually an established organization or foundation,
especially one dedicated to education, public service, or culture.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMachineTag(MachineTag machineTag) @Valid AddressPhysical or associated address.Alternative codes for an institution.Machine-consumable endpoint of an institution and probably its collections.URL to the main catalogue of an institution.getCity()@NotNull(groups=PrePersist.class) StringgetCode()Code used to identify the collection.List of associated contacts.Date when the records as created.Creator of the database record.Date when the records was (logically) deleted.@Size(min=1) StringTextual description of institution.Flag to display the entity in the NHC portal.getEmail()Emails of the entityURL to the home page of an institution.getKey()GBIF unique identifier.Logo/Image that identifies the institution.@NotNull List<MachineTag>@Valid AddressAddress used to send and receive mail.Master source of the entity.Master source metadataDate when the records was last modified.Person or agent that modified the database record.@NotNull StringgetName()Name or title of an institution.getPhone()Phones of the entityReplacement of the entity (if applies).getTags()booleanisActive()Is the institution active/operational?.booleanlenientEquals(Institution other) Leniently tests if the objects are the same.voidsetActive(boolean active) voidsetAddress(Address address) voidsetAlternativeCodes(List<AlternativeCode> alternativeCodes) voidvoidsetComments(List<Comment> comments) voidsetContactPersons(List<Contact> contactPersons) voidsetCreated(Date created) voidsetCreatedBy(String createdBy) voidsetDeleted(Date deleted) voidsetDescription(String description) voidsetDisplayOnNHCPortal(Boolean displayOnNHCPortal) voidvoidsetFeaturedImageAttribution(String featuredImageAttribution) voidsetFeaturedImageLicense(License featuredImageLicense) voidsetFeaturedImageUrl(URI featuredImageUrl) voidsetIdentifiers(List<Identifier> identifiers) voidvoidsetMachineTags(List<MachineTag> machineTags) voidsetMailingAddress(Address mailingAddress) voidsetMasterSource(MasterSourceType masterSource) voidsetMasterSourceMetadata(MasterSourceMetadata masterSourceMetadata) voidsetModified(Date modified) voidsetModifiedBy(String modifiedBy) voidvoidsetOccurrenceMappings(List<OccurrenceMapping> occurrenceMappings) voidvoidsetReplacedBy(UUID replacedBy) void
-
Constructor Details
-
Institution
public Institution()
-
-
Method Details
-
getKey
GBIF unique identifier.- Specified by:
getKeyin interfaceCollectionEntity
-
setKey
- Specified by:
setKeyin interfaceCollectionEntity
-
getCode
Code used to identify the collection.- Specified by:
getCodein interfaceCollectionEntity
-
setCode
- Specified by:
setCodein interfaceCollectionEntity
-
getName
Name or title of an institution.- Specified by:
getNamein interfaceCollectionEntity
-
setName
- Specified by:
setNamein interfaceCollectionEntity
-
getDescription
Textual description of institution.- Specified by:
getDescriptionin interfaceCollectionEntity
-
setDescription
- Specified by:
setDescriptionin interfaceCollectionEntity
-
isActive
Is the institution active/operational?.- Specified by:
isActivein interfaceCollectionEntity
-
setActive
- Specified by:
setActivein interfaceCollectionEntity
-
getEmail
Description copied from interface:CollectionEntityEmails of the entity- Specified by:
getEmailin interfaceCollectionEntity
-
setEmail
- Specified by:
setEmailin interfaceCollectionEntity
-
getPhone
Description copied from interface:CollectionEntityPhones of the entity- Specified by:
getPhonein interfaceCollectionEntity
-
setPhone
- Specified by:
setPhonein interfaceCollectionEntity
-
getHomepage
URL to the home page of an institution. -
getCatalogUrls
URL to the main catalogue of an institution. -
getApiUrls
Machine-consumable endpoint of an institution and probably its collections. -
getMailingAddress
Description copied from interface:ContactableAddress used to send and receive mail.- Specified by:
getMailingAddressin interfaceContactable
-
setMailingAddress
- Specified by:
setMailingAddressin interfaceContactable
-
getAddress
Description copied from interface:ContactablePhysical or associated address.- Specified by:
getAddressin interfaceContactable
-
setAddress
- Specified by:
setAddressin interfaceContactable
-
getLogoUrl
Logo/Image that identifies the institution. -
getCreatedBy
Description copied from interface:CollectionEntityCreator of the database record.- Specified by:
getCreatedByin interfaceCollectionEntity
-
setCreatedBy
- Specified by:
setCreatedByin interfaceCollectionEntity
-
getModifiedBy
Description copied from interface:CollectionEntityPerson or agent that modified the database record.- Specified by:
getModifiedByin interfaceCollectionEntity
-
setModifiedBy
- Specified by:
setModifiedByin interfaceCollectionEntity
-
getCreated
Description copied from interface:CollectionEntityDate when the records as created.- Specified by:
getCreatedin interfaceCollectionEntity
-
setCreated
- Specified by:
setCreatedin interfaceCollectionEntity
-
getModified
Description copied from interface:CollectionEntityDate when the records was last modified.- Specified by:
getModifiedin interfaceCollectionEntity
-
setModified
- Specified by:
setModifiedin interfaceCollectionEntity
-
getDeleted
Description copied from interface:CollectionEntityDate when the records was (logically) deleted.- Specified by:
getDeletedin interfaceCollectionEntity
-
setDeleted
- Specified by:
setDeletedin interfaceCollectionEntity
-
getIdentifiers
- Specified by:
getIdentifiersin interfaceIdentifiable
-
setIdentifiers
- Specified by:
setIdentifiersin interfaceIdentifiable
-
getTags
-
setTags
-
getContactPersons
Description copied from interface:ContactableList of associated contacts.- Specified by:
getContactPersonsin interfaceContactable
-
setContactPersons
- Specified by:
setContactPersonsin interfaceContactable
-
getMachineTags
- Specified by:
getMachineTagsin interfaceMachineTaggable
-
setMachineTags
- Specified by:
setMachineTagsin interfaceMachineTaggable
-
addMachineTag
- Specified by:
addMachineTagin interfaceMachineTaggable
-
getAlternativeCodes
Alternative codes for an institution.- Specified by:
getAlternativeCodesin interfaceCollectionEntity
-
setAlternativeCodes
- Specified by:
setAlternativeCodesin interfaceCollectionEntity
-
getComments
- Specified by:
getCommentsin interfaceCommentable
-
setComments
- Specified by:
setCommentsin interfaceCommentable
-
getOccurrenceMappings
- Specified by:
getOccurrenceMappingsin interfaceOccurrenceMappeable
-
setOccurrenceMappings
- Specified by:
setOccurrenceMappingsin interfaceOccurrenceMappeable
-
getReplacedBy
Description copied from interface:CollectionEntityReplacement of the entity (if applies).- Specified by:
getReplacedByin interfaceCollectionEntity
-
setReplacedBy
- Specified by:
setReplacedByin interfaceCollectionEntity
-
getMasterSource
Description copied from interface:CollectionEntityMaster source of the entity.- Specified by:
getMasterSourcein interfaceCollectionEntity
-
setMasterSource
- Specified by:
setMasterSourcein interfaceCollectionEntity
-
getMasterSourceMetadata
Description copied from interface:CollectionEntityMaster source metadata- Specified by:
getMasterSourceMetadatain interfaceCollectionEntity
-
setMasterSourceMetadata
- Specified by:
setMasterSourceMetadatain interfaceCollectionEntity
-
getDisplayOnNHCPortal
Description copied from interface:CollectionEntityFlag to display the entity in the NHC portal.- Specified by:
getDisplayOnNHCPortalin interfaceCollectionEntity
-
setDisplayOnNHCPortal
- Specified by:
setDisplayOnNHCPortalin interfaceCollectionEntity
-
getFeaturedImageUrl
- Specified by:
getFeaturedImageUrlin interfaceCollectionEntity
-
setFeaturedImageUrl
- Specified by:
setFeaturedImageUrlin interfaceCollectionEntity
-
getFeaturedImageLicense
- Specified by:
getFeaturedImageLicensein interfaceCollectionEntity
-
setFeaturedImageLicense
- Specified by:
setFeaturedImageLicensein interfaceCollectionEntity
-
getFeaturedImageAttribution
- Specified by:
getFeaturedImageAttributionin interfaceCollectionEntity
-
setFeaturedImageAttribution
- Specified by:
setFeaturedImageAttributionin interfaceCollectionEntity
-
getCountry
-
getCity
-
getProvince
-
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<Institution>- Parameters:
other- To compare against- Returns:
- true if...
-