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 FEDORA_TIME_MAP = "fedora:TimeMap";
045
046    String FEDORA_WEBAC_ACL = "webac:Acl";
047
048    String MEMENTO = "memento:Memento";
049
050    String MEMENTO_DATETIME = "memento:mementoDatetime";
051
052    String MEMENTO_ORIGINAL = "memento:original";
053
054    String LDP_BASIC_CONTAINER = "ldp:BasicContainer";
055
056    String LDP_CONTAINER = "ldp:Container";
057
058    String LDP_DIRECT_CONTAINER = "ldp:DirectContainer";
059
060    String LDP_INDIRECT_CONTAINER = "ldp:IndirectContainer";
061
062    String LDP_INSERTED_CONTENT_RELATION = "ldp:insertedContentRelation";
063
064    String LDP_NON_RDF_SOURCE = "ldp:NonRDFSource";
065
066    String LDP_RDF_SOURCE = "ldp:RDFSource";
067
068    String FEDORA_LASTMODIFIED = "fedora:lastModified";
069
070    String FEDORA_CREATED = "fedora:created";
071
072    String FEDORA_LASTMODIFIEDBY = "fedora:lastModifiedBy";
073
074    String FEDORA_CREATEDBY = "fedora:createdBy";
075
076    String FILENAME = "ebucore:filename";
077
078    String HAS_MIME_TYPE = "ebucore:hasMimeType";
079
080    String PROXY_FOR = "fedora:proxyFor";
081
082    String REDIRECTS_TO = "fedora:redirectsTo";
083
084    String CONTENT_SIZE = "premis:hasSize";
085
086    String CONTENT_DIGEST = "premis:hasMessageDigest";
087
088    String DEFAULT_DIGEST_ALGORITHM = "fedoraconfig:defaultDigestAlgorithm";
089
090    String FCR_ACL = "fcr:acl";
091
092    String FCR_METADATA = "fcr:metadata";
093
094    String FCR_VERSIONS = "fcr:versions";
095
096    String FCR_FIXITY = "fcr:fixity";
097
098    String LDP_HAS_MEMBER_RELATION = "ldp:hasMemberRelation";
099
100    String LDP_IS_MEMBER_OF_RELATION = "ldp:isMemberOfRelation";
101
102    String LDP_MEMBER_RESOURCE = "ldp:membershipResource";
103}