001/** 002 * Copyright 2015 DuraSpace, Inc. 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.fcrepo.kernel.api; 017 018/** 019 * Convenience class with constants for commonly used Fedora types. 020 * 021 * @author ajs6f 022 * @since Apr 25, 2013 023 */ 024public interface FedoraTypes { 025 026 String FEDORA_RESOURCE = "fedora:Resource"; 027 028 String FEDORA_NON_RDF_SOURCE_DESCRIPTION = "fedora:NonRdfSourceDescription"; 029 030 String FEDORA_BINARY = "fedora:Binary"; 031 032 String FEDORA_PAIRTREE = "fedora:Pairtree"; 033 034 String FEDORA_TOMBSTONE = "fedora:Tombstone"; 035 036 String FEDORA_SKOLEM = "fedora:Skolem"; 037 038 String FEDORA_CONTAINER = "fedora:Container"; 039 040 String LDP_BASIC_CONTAINER = "ldp:BasicContainer"; 041 042 String LDP_DIRECT_CONTAINER = "ldp:DirectContainer"; 043 044 String LDP_INDIRECT_CONTAINER = "ldp:IndirectContainer"; 045 046 String LDP_INSERTED_CONTENT_RELATION = "ldp:insertedContentRelation"; 047 048 String FILENAME = "ebucore:filename"; 049 050 String HAS_MIME_TYPE = "ebucore:hasMimeType"; 051 052 String CONTENT_SIZE = "premis:hasSize"; 053 054 String CONTENT_DIGEST = "premis:hasMessageDigest"; 055 056 String FCR_METADATA = "fcr:metadata"; 057 058 String FCR_VERSIONS = "fcr:versions"; 059 060 String LDP_HAS_MEMBER_RELATION = "ldp:hasMemberRelation"; 061 062 String LDP_IS_MEMBER_OF_RELATION = "ldp:isMemberOfRelation"; 063 064 String LDP_MEMBER_RESOURCE = "ldp:membershipResource"; 065 066}