001/*
002 * Copyright 2020 Global Biodiversity Information Facility (GBIF)
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.gbif.api.vocabulary.collections;
017
018/**
019 * Mechanism of preservation applied to a collection.
020 *
021 * Note: The descriptions are the original values migrated from GRBIO.
022 *
023 * Deprecated to use the vocabulary server instead.
024 */
025@Deprecated
026public enum PreservationType {
027
028  STORAGE_OUTDOORS("Storage Environment: Ambient uncontrolled environment (outdoors)"),
029  STORAGE_INDOORS("Storage Environment: Ambient controlled environment (indoors)"),
030  STORAGE_CONTROLLED_ATMOSPHERE("Storage Environment: Controlled atmosphere (N, C02, humidity)"),
031  STORAGE_FROZEN_MINUS_20("Storage Environment: Frozen (-20)"),
032  STORAGE_FROZEN_MINUS_80("Storage Environment: Frozen (-80)"),
033  STORAGE_FROZEN_BETWEEN_MINUS_132_AND_MINUS_196("Storage Environment: Frozen (-132 - -196)"),
034  STORAGE_OTHER("Storage Environment: Other (please define)"),
035  STORAGE_REFRIGERATED("Storage Environment: Refrigerated (+4)"),
036  STORAGE_RECORDED("Storage Environment: Recorded (digital, paper, film, audio, etc.)"),
037  STORAGE_VACUUM("Storage Environment: Vacuum"),
038  SAMPLE_CRYOPRESERVED("Sample Treatment: Cryopreserved"),
039  SAMPLE_DRIED("Sample Treatment: Dried"),
040  SAMPLE_EMBEDDED("Sample Treatment: Embedded"),
041  SAMPLE_FLUID_PRESERVED("Sample Treatment: Fluid preserved"),
042  SAMPLE_PINNED("Sample Treatment: Pinned"),
043  SAMPLE_PRESSED("Sample Treatment: Pressed"),
044  SAMPLE_SKELETONIZED("Sample Treatment: Skeletonized"),
045  SAMPLE_SLIDE_MOUNT("Sample Treatment: Slide mount"),
046  SAMPLE_SURFACE_COATING("Sample Treatment: Surface coating"),
047  SAMPLE_TANNED("Sample Treatment: Tanned"),
048  SAMPLE_WAX_BLOCK("Sample Treatment: Wax Block"),
049  SAMPLE_OTHER("Sample Treatment: Other (please define)"),
050  SAMPLE_FREEZE_DRYING("Sample Treatment: Freeze-drying (or lyophilization)");
051
052  private String description;
053
054  PreservationType(String description) {
055    this.description = description;
056  }
057
058  public String getDescription() {
059    return description;
060  }
061}