001/* 002 * Licensed under the Apache License, Version 2.0 (the "License"); 003 * you may not use this file except in compliance with the License. 004 * You may obtain a copy of the License at 005 * 006 * http://www.apache.org/licenses/LICENSE-2.0 007 * 008 * Unless required by applicable law or agreed to in writing, software 009 * distributed under the License is distributed on an "AS IS" BASIS, 010 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 011 * See the License for the specific language governing permissions and 012 * limitations under the License. 013 */ 014package org.gbif.ws.paths; 015 016/** 017 * Commons constants of occurrence service. 018 */ 019public final class OccurrencePaths { 020 021 public static final String OCCURRENCE_PATH = "occurrence"; 022 023 public static final String OCC_SEARCH_PATH = OCCURRENCE_PATH + "/search"; 024 025 public static final String EVENT_PATH = "event"; 026 027 public static final String EVENT_SEARCH_PATH = EVENT_PATH + "/search"; 028 029 public static final String RECORDED_BY_PATH = "recordedBy"; 030 031 public static final String IDENTIFIED_BY_PATH = "identifiedBy"; 032 033 public static final String RECORD_NUMBER_PATH = "recordNumber"; 034 035 public static final String CATALOG_NUMBER_PATH = "catalogNumber"; 036 037 public static final String INSTITUTION_CODE_PATH = "institutionCode"; 038 039 public static final String COLLECTION_CODE_PATH = "collectionCode"; 040 041 public static final String OCCURRENCE_ID_PATH = "occurrenceId"; 042 043 public static final String ORGANISM_ID_PATH = "organismId"; 044 045 public static final String LOCALITY_PATH = "locality"; 046 047 public static final String WATER_BODY_PATH = "waterBody"; 048 049 public static final String STATE_PROVINCE_PATH = "stateProvince"; 050 051 public static final String SAMPLING_PROTOCOL_PATH = "samplingProtocol"; 052 053 public static final String EVENT_ID_PATH = "eventId"; 054 055 public static final String PARENT_EVENT_ID_PATH = "parentEventId"; 056 057 public static final String VERBATIM_PATH = "verbatim"; 058 059 public static final String FRAGMENT_PATH = "fragment"; 060 061 public static final String DATASET_NAME_PATH = "datasetName"; 062 063 public static final String OTHER_CATALOG_NUMBERS_PATH = "otherCatalogNumbers"; 064 065 /** 066 * Private default constructor. 067 */ 068 private OccurrencePaths() { 069 // empty constructor 070 } 071}