001/*
002 * Copyright 2014 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.model;
017
018import java.util.UUID;
019
020/**
021 * Common variables used by API.
022 */
023public final class Constants {
024
025  /**
026   * The dataset key for the GBIF backbone (nub) taxonomy.
027   */
028  public static final UUID NUB_DATASET_KEY = UUID.fromString("d7dddbf4-2cf0-4f39-9b2a-bb099caae36c");
029
030  /**
031   * The network key for the GBIF backbone sources.
032   */
033  public static final UUID NUB_NETWORK_KEY = UUID.fromString("029f9226-0d8a-4f28-97fe-13180e9eb0e5");
034
035  /**
036   * The dataset key for the Catalog of Life.
037   */
038  public static final UUID COL_DATASET_KEY = UUID.fromString("7ddf754f-d193-4cc9-b351-99906754a03b");
039
040  /**
041   * The publisher/organisation key for Plazi.
042   */
043  public static final UUID PLAZI_ORG_KEY = UUID.fromString("7ce8aef0-9e92-11dc-8738-b8a03c50a862");
044
045  /**
046   * The maximum key for a nub usage. All non nub usages have a key above this limit, so it can be used as a simple way
047   * to distinguish between nub and checklist usages.
048   */
049  public static final int NUB_MAXIMUM_KEY = 99999999;
050
051  private Constants() {
052    throw new UnsupportedOperationException("Can't initialize class");
053  }
054
055}