View Javadoc

1   /*
2    * ModeShape (http://www.modeshape.org)
3    * See the COPYRIGHT.txt file distributed with this work for information
4    * regarding copyright ownership.  Some portions may be licensed
5    * to Red Hat, Inc. under one or more contributor license agreements.
6    * See the AUTHORS.txt file in the distribution for a full listing of 
7    * individual contributors. 
8    *
9    * ModeShape is free software. Unless otherwise indicated, all code in ModeShape
10   * is licensed to you under the terms of the GNU Lesser General Public License as
11   * published by the Free Software Foundation; either version 2.1 of
12   * the License, or (at your option) any later version.
13   *
14   * ModeShape is distributed in the hope that it will be useful,
15   * but WITHOUT ANY WARRANTY; without even the implied warranty of
16   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17   * Lesser General Public License for more details.
18   *
19   * You should have received a copy of the GNU Lesser General Public
20   * License along with this software; if not, write to the Free
21   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
23   */
24  package org.modeshape.jcr;
25  
26  import net.jcip.annotations.Immutable;
27  import org.modeshape.graph.property.Name;
28  import org.modeshape.graph.property.basic.BasicName;
29  
30  /**
31   * Lexicon of names from the standard JCR "<code>http://www.jcp.org/jcr/1.0</code>" namespace.
32   */
33  @Immutable
34  public class JcrLexicon extends org.modeshape.graph.JcrLexicon {
35  
36      public static final Name BASE_VERSION = new BasicName(Namespace.URI, "baseVersion");
37      public static final Name CHILD_VERSION_HISTORY = new BasicName(Namespace.URI, "childVersionHistory");
38      public static final Name CONTENT = new BasicName(Namespace.URI, "content");
39      public static final Name COPIED_FROM = new BasicName(Namespace.URI, "copiedFrom");
40      public static final Name DATA = new BasicName(Namespace.URI, "data");
41      public static final Name ENCODING = new BasicName(Namespace.URI, "encoding");
42      public static final Name ETAG = new BasicName(Namespace.URI, "etag");
43      public static final Name FROZEN_MIXIN_TYPES = new BasicName(Namespace.URI, "frozenMixinTypes");
44      public static final Name FROZEN_NODE = new BasicName(Namespace.URI, "frozenNode");
45      public static final Name FROZEN_PRIMARY_TYPE = new BasicName(Namespace.URI, "frozenPrimaryType");
46      public static final Name FROZEN_UUID = new BasicName(Namespace.URI, "frozenUuid");
47      public static final Name IS_CHECKED_OUT = new BasicName(Namespace.URI, "isCheckedOut");
48      public static final Name LANGUAGE = new BasicName(Namespace.URI, "language");
49      public static final Name LOCK_IS_DEEP = new BasicName(Namespace.URI, "lockIsDeep");
50      public static final Name LOCK_OWNER = new BasicName(Namespace.URI, "lockOwner");
51      public static final Name MERGE_FAILED = new BasicName(Namespace.URI, "mergeFailed");
52      public static final Name NODE_TYPES = new BasicName(Namespace.URI, "nodeTypes");
53      /** The "jcr:path" pseudo-column used in queries */
54      public static final Name PATH = new BasicName(Namespace.URI, "path");
55      public static final Name PREDECESSORS = new BasicName(Namespace.URI, "predecessors");
56      public static final Name ROOT = new BasicName(Namespace.URI, "root");
57      public static final Name ROOT_VERSION = new BasicName(Namespace.URI, "rootVersion");
58      /** The "jcr:score" pseudo-column used in queries */
59      public static final Name SCORE = new BasicName(Namespace.URI, "score");
60      public static final Name STATEMENT = new BasicName(Namespace.URI, "statement");
61      public static final Name SUCCESSORS = new BasicName(Namespace.URI, "successors");
62      public static final Name SYSTEM = new BasicName(Namespace.URI, "system");
63      public static final Name VERSIONABLE_UUID = new BasicName(Namespace.URI, "versionableUuid");
64      public static final Name VERSION_HISTORY = new BasicName(Namespace.URI, "versionHistory");
65      public static final Name VERSION_LABELS = new BasicName(Namespace.URI, "versionLabels");
66      public static final Name VERSION_STORAGE = new BasicName(Namespace.URI, "versionStorage");
67      public static final Name XMLTEXT = new BasicName(Namespace.URI, "xmltext");
68      public static final Name XMLCHARACTERS = new BasicName(Namespace.URI, "xmlcharacters");
69  
70  }