Class Collection

java.lang.Object
org.gbif.api.model.registry.eml.Collection
All Implemented Interfaces:
Serializable

public class Collection extends Object implements Serializable
Collection data for the Dataset.
See Also:
  • Constructor Details

  • Method Details

    • getIdentifier

      The URI (LSID or URL) of the collection. In RDF, used as URI of the collection resource.
      Returns:
      the collection identifier
    • setIdentifier

      public void setIdentifier(String identifier)
    • getName

      public String getName()
      The official name of the Collection in the local language.
      Returns:
      the collection name.
    • setName

      public void setName(String name)
    • getCuratorialUnits

      The quantitative descriptor (number of specimens, samples or batches). The actual quantification could be covered by 1) an exact number of “JGI-units” in the collection plus a measure of uncertainty (+/- x); 2) a range of numbers (x to x), with the lower value representing an exact number, when the higher value is omitted. The discussion concluded that the quantification should encompass all specimens, not only those that have not yet been digitised. This is to avoid having to update the numbers too often. The number of non-public data (not digitised or not accessible) can be calculated from the GBIF numbers as opposed to the JGTI-data.
      Returns:
      the list of curatorial units
    • setCuratorialUnits

      public void setCuratorialUnits(List<CuratorialUnitComposite> curatorialUnits)
    • getParentIdentifier

      The identifier for the parent collection for this sub-collection. Enables a hierarchy of collections and sub collections to be built.
      Returns:
      the parent collection identifier
    • setParentIdentifier

      public void setParentIdentifier(String parentIdentifier)
    • getSpecimenPreservationMethod

      Picklist keyword indicating the process or technique used to prevent physical deterioration of non-living collections. Expected to contain an instance from the Specimen Preservation Method Type Term vocabulary.
      Returns:
      the preservation method type
    • setSpecimenPreservationMethod

      public void setSpecimenPreservationMethod(PreservationMethodType specimenPreservationMethod)
    • addCuratorialUnitComposite

      public void addCuratorialUnitComposite(CuratorialUnitComposite curatorialUnitComposite)
      Adds a CuratorialUnitComposite to the Collection's list of CuratorialUnitComposit.
      Parameters:
      curatorialUnitComposite - curatorial unit
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object