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.modeshape; 017 018/** 019 * Convenience class with constants for commonly used JCR types. 020 * 021 * @author ajs6f 022 * @author acoburn 023 * @since Apr 25, 2013 024 */ 025public final class FedoraJcrConstants { 026 027 public static final String JCR_LASTMODIFIED = "jcr:lastModified"; 028 029 public static final String JCR_LASTMODIFIEDBY = "jcr:lastModifiedBy"; 030 031 public static final String JCR_CREATED = "jcr:created"; 032 033 public static final String JCR_CREATEDBY = "jcr:createdBy"; 034 035 public static final String JCR_FROZEN_NODE = "jcr:frozenNode"; 036 037 public static final String FROZEN_NODE = "nt:frozenNode"; 038 039 public static final String FROZEN_MIXIN_TYPES = "jcr:frozenMixinTypes"; 040 041 public static final String FROZEN_PRIMARY_TYPE = "jcr:frozenPrimaryType"; 042 043 public static final String ROOT = "mode:root"; 044 045 public static final String VERSIONABLE = "mix:versionable"; 046 047 private FedoraJcrConstants() { 048 // Prevent instantiation 049 } 050}