001/* 002 * Licensed to DuraSpace under one or more contributor license agreements. 003 * See the NOTICE file distributed with this work for additional information 004 * regarding copyright ownership. 005 * 006 * DuraSpace licenses this file to you under the Apache License, 007 * Version 2.0 (the "License"); you may not use this file except in 008 * compliance with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, software 013 * distributed under the License is distributed on an "AS IS" BASIS, 014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 015 * See the License for the specific language governing permissions and 016 * limitations under the License. 017 */ 018package org.fcrepo.client; 019 020/** 021 * Helper constants for resource types used in the Fedora specification. 022 * 023 * @author bbpennel 024 */ 025public class FedoraTypes { 026 027 // Type representing an LDP resource 028 public static final String LDP_RESOURCE = "http://www.w3.org/ns/ldp#Resource"; 029 030 // Type representing an LDP non-RDF source/binary 031 public static final String LDP_NON_RDF_SOURCE = "http://www.w3.org/ns/ldp#NonRDFSource"; 032 033 // Type representing an LDP basic container 034 public static final String LDP_BASIC_CONTAINER = "http://www.w3.org/ns/ldp#BasicContainer"; 035 036 // Type representing an LDP direct container 037 public static final String LDP_DIRECT_CONTAINER = "http://www.w3.org/ns/ldp#DirectContainer"; 038 039 // Type representing an LDP indirect container 040 public static final String LDP_INDIRECT_CONTAINER = "http://www.w3.org/ns/ldp#IndirectContainer"; 041 042 // Type representing a Memento TimeGate 043 public final static String MEMENTO_TIME_GATE_TYPE = "http://mementoweb.org/ns#TimeGate"; 044 045 // Type representing a Memento TimeMap (LDPCv) 046 public final static String MEMENTO_TIME_MAP_TYPE = "http://mementoweb.org/ns#TimeMap"; 047 048 // Type representing a Memento original resource (LDPRv) 049 public final static String MEMENTO_ORIGINAL_TYPE = "http://mementoweb.org/ns#OriginalResource"; 050 051 // Type representing a Memento (LDPRm) 052 public final static String MEMENTO_TYPE = "http://mementoweb.org/ns#Memento"; 053 054 private FedoraTypes() { 055 } 056}