Package org.gbif.api.model.collections
Interface CollectionEntity
-
- All Superinterfaces:
Commentable,Contactable,Identifiable,MachineTaggable,OccurrenceMappeable,Serializable,Taggable
- All Known Implementing Classes:
Collection,Institution
public interface CollectionEntity extends Contactable, Taggable, MachineTaggable, Identifiable, Commentable, OccurrenceMappeable, Serializable
Entity .
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<AlternativeCode>getAlternativeCodes()Alternative codes of the entity@NotNull(groups=PrePersist.class) StringgetCode()Identifies an entity at the owner's location.DategetCreated()Date when the records as created.StringgetCreatedBy()Creator of the database record.DategetDeleted()Date when the records was (logically) deleted.@Size(min=1) StringgetDescription()Textual description/summary of the contents of an entity.BooleangetDisplayOnNHCPortal()Flag to display the entity in the NHC portal.List<String>getEmail()Emails of the entityStringgetFeaturedImageAttribution()LicensegetFeaturedImageLicense()URIgetFeaturedImageUrl()UUIDgetKey()Unique identifier.MasterSourceTypegetMasterSource()Master source of the entity.MasterSourceMetadatagetMasterSourceMetadata()Master source metadataDategetModified()Date when the records was last modified.StringgetModifiedBy()Person or agent that modified the database record.@NotNull StringgetName()Descriptive name of an entity.List<String>getPhone()Phones of the entityUUIDgetReplacedBy()Replacement of the entity (if applies).booleanisActive()Is this entity currently active/maintained.voidsetActive(boolean active)voidsetAlternativeCodes(List<AlternativeCode> alternativeCodes)voidsetCode(String code)voidsetCreated(Date created)voidsetCreatedBy(String createdBy)voidsetDeleted(Date deleted)voidsetDescription(String description)voidsetDisplayOnNHCPortal(Boolean displayOnNHCPortal)voidsetEmail(List<String> email)voidsetFeaturedImageAttribution(String featuredImageAttribution)voidsetFeaturedImageLicense(License featuredImageLicense)voidsetFeaturedImageUrl(URI featuredImageUrl)voidsetKey(UUID key)voidsetMasterSource(MasterSourceType masterSource)voidsetMasterSourceMetadata(MasterSourceMetadata masterSourceMetadata)voidsetModified(Date modified)voidsetModifiedBy(String modifiedBy)voidsetName(String name)voidsetPhone(List<String> phone)voidsetReplacedBy(UUID replacedBy)-
Methods inherited from interface org.gbif.api.model.registry.Commentable
getComments, setComments
-
Methods inherited from interface org.gbif.api.model.collections.Contactable
getAddress, getContactPersons, getMailingAddress, setAddress, setContactPersons, setMailingAddress
-
Methods inherited from interface org.gbif.api.model.registry.Identifiable
getIdentifiers, setIdentifiers
-
Methods inherited from interface org.gbif.api.model.registry.MachineTaggable
addMachineTag, getMachineTags, setMachineTags
-
Methods inherited from interface org.gbif.api.model.collections.OccurrenceMappeable
getOccurrenceMappings, setOccurrenceMappings
-
-
-
-
Method Detail
-
getCreatedBy
String getCreatedBy()
Creator of the database record.
-
setCreatedBy
void setCreatedBy(String createdBy)
-
getModifiedBy
String getModifiedBy()
Person or agent that modified the database record.
-
setModifiedBy
void setModifiedBy(String modifiedBy)
-
getCreated
Date getCreated()
Date when the records as created.
-
setCreated
void setCreated(Date created)
-
getModified
Date getModified()
Date when the records was last modified.
-
setModified
void setModified(Date modified)
-
getDeleted
@Nullable Date getDeleted()
Date when the records was (logically) deleted.
-
setDeleted
void setDeleted(Date deleted)
-
getCode
@NotNull(groups=PrePersist.class) @NotNull(groups=PrePersist.class) String getCode()
Identifies an entity at the owner's location.
-
getDescription
@Size(min=1) @Size(min=1) String getDescription()
Textual description/summary of the contents of an entity.
-
setDescription
void setDescription(String description)
-
isActive
boolean isActive()
Is this entity currently active/maintained.
-
setActive
void setActive(boolean active)
-
getReplacedBy
UUID getReplacedBy()
Replacement of the entity (if applies).
-
setReplacedBy
void setReplacedBy(UUID replacedBy)
-
getMasterSource
MasterSourceType getMasterSource()
Master source of the entity.
-
setMasterSource
void setMasterSource(MasterSourceType masterSource)
-
getMasterSourceMetadata
MasterSourceMetadata getMasterSourceMetadata()
Master source metadata
-
setMasterSourceMetadata
void setMasterSourceMetadata(MasterSourceMetadata masterSourceMetadata)
-
getDisplayOnNHCPortal
Boolean getDisplayOnNHCPortal()
Flag to display the entity in the NHC portal.
-
setDisplayOnNHCPortal
void setDisplayOnNHCPortal(Boolean displayOnNHCPortal)
-
getAlternativeCodes
List<AlternativeCode> getAlternativeCodes()
Alternative codes of the entity
-
setAlternativeCodes
void setAlternativeCodes(List<AlternativeCode> alternativeCodes)
-
getFeaturedImageUrl
@Nullable URI getFeaturedImageUrl()
-
setFeaturedImageUrl
void setFeaturedImageUrl(URI featuredImageUrl)
-
getFeaturedImageLicense
@Nullable License getFeaturedImageLicense()
-
setFeaturedImageLicense
void setFeaturedImageLicense(License featuredImageLicense)
-
getFeaturedImageAttribution
@Nullable String getFeaturedImageAttribution()
-
setFeaturedImageAttribution
void setFeaturedImageAttribution(String featuredImageAttribution)
-
-