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.kernel.api; 019 020/** 021 * Convenience class with constants for commonly used Fedora types. 022 * 023 * @author ajs6f 024 * @since Apr 25, 2013 025 */ 026public interface FedoraTypes { 027 028 String FEDORA_BINARY = "fedora:Binary"; 029 030 String FEDORA_CONTAINER = "fedora:Container"; 031 032 String FEDORA_NON_RDF_SOURCE_DESCRIPTION = "fedora:NonRdfSourceDescription"; 033 034 String FEDORA_PAIRTREE = "fedora:Pairtree"; 035 036 String FEDORA_REPOSITORY_ROOT = "fedora:RepositoryRoot"; 037 038 String FEDORA_RESOURCE = "fedora:Resource"; 039 040 String FEDORA_SKOLEM = "fedora:Skolem"; 041 042 String FEDORA_TOMBSTONE = "fedora:Tombstone"; 043 044 String LDP_BASIC_CONTAINER = "ldp:BasicContainer"; 045 046 String LDP_CONTAINER = "ldp:Container"; 047 048 String LDP_DIRECT_CONTAINER = "ldp:DirectContainer"; 049 050 String LDP_INDIRECT_CONTAINER = "ldp:IndirectContainer"; 051 052 String LDP_INSERTED_CONTENT_RELATION = "ldp:insertedContentRelation"; 053 054 String LDP_NON_RDF_SOURCE = "ldp:NonRDFSource"; 055 056 String LDP_RDF_SOURCE = "ldp:RDFSource"; 057 058 String FEDORA_LASTMODIFIED = "fedora:lastModified"; 059 060 String FILENAME = "ebucore:filename"; 061 062 String HAS_MIME_TYPE = "ebucore:hasMimeType"; 063 064 String CONTENT_SIZE = "premis:hasSize"; 065 066 String CONTENT_DIGEST = "premis:hasMessageDigest"; 067 068 String DEFAULT_DIGEST_ALGORITHM = "config:defaultDigestAlgorithm"; 069 070 String FCR_METADATA = "fcr:metadata"; 071 072 String FCR_VERSIONS = "fcr:versions"; 073 074 String LDP_HAS_MEMBER_RELATION = "ldp:hasMemberRelation"; 075 076 String LDP_IS_MEMBER_OF_RELATION = "ldp:isMemberOfRelation"; 077 078 String LDP_MEMBER_RESOURCE = "ldp:membershipResource"; 079 080}