View Javadoc

1   /*
2    *  $Id: OLR3Definitions.java,v 1.3 2004/08/03 08:33:53 roku Exp $ 
3    *
4    *  Copyright 2004 University of Hannover
5    *
6    *  Licensed under the Apache License, Version 2.0 (the "License");
7    *  you may not use this file except in compliance with the License.
8    *  You may obtain a copy of the License at
9    *
10   *      http://www.apache.org/licenses/LICENSE-2.0
11   *
12   *  Unless required by applicable law or agreed to in writing, software
13   *  distributed under the License is distributed on an "AS IS" BASIS,
14   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   *  See the License for the specific language governing permissions and
16   *  limitations under the License.
17   */
18  
19  package olr.rdf;
20  
21  
22  public abstract class OLR3Definitions extends BasicDefinitions
23  {
24      public static void setValuesFromConfig()
25      {
26          DC_NS = BasicDefinitions.getValue("DC_NS", DC_NS);
27          OLR3_NS = BasicDefinitions.getValue("OLR3_NS", OLR3_NS);
28          RELATIONS_NS = BasicDefinitions.getValue("RELATIONS_NS", RELATIONS_NS);
29          OLR3_COURSE = BasicDefinitions.getValue("OLR3_COURSE", OLR3_COURSE);
30          OLR3_ROOT = BasicDefinitions.getValue("OLR3_ROOT", OLR3_ROOT);
31      }
32  
33      public static String DC_NS = "http://purl.org/dc/elements/1.1/";
34      public static String OLR3_NS = "http://www.kbs.uni-hannover.de/Projekte/OLR/rdf/olr3#";
35      public static String RELATIONS_NS = "http://www.kbs.uni-hannover.de/Projekte/OLR/rdf/relations#";
36      public static final String OLR3_UNIQUENECESSARYPROPERTY  = String.valueOf(String.valueOf(OLR3_NS)).concat("UniqueNecessaryProperty");
37      public static final String OLR3_NONINSTANCIABLE = String.valueOf(String.valueOf(OLR3_NS)).concat("NonInstantiable");
38      public static final String OLR3_SHOWLINK = String.valueOf(String.valueOf(OLR3_NS)).concat("showLink");
39      public static final String OLR3_BELONGSTO = String.valueOf(String.valueOf(OLR3_NS)).concat("belongsTo");
40      public static final String OLR3_KEYWORD = String.valueOf(String.valueOf(DC_NS)).concat("subject");
41      public static final String OLR3_DESCRIPTION  = String.valueOf(String.valueOf(OLR3_NS)).concat("hasDescription");
42      public static final String OLR3_BOOKMARK = String.valueOf(String.valueOf(OLR3_NS)).concat("hasBookmark");
43      public static final String OLR3_ENGINEIMAGE = String.valueOf(String.valueOf(OLR3_NS)).concat("engineImage");
44      public static String OLR3_COURSE_NAME = "Course";
45      public static String OLR3_COURSE = String.valueOf(String.valueOf(OLR3_NS)).concat(OLR3_COURSE_NAME);
46      public static String OLR3_HAS_COURSE_NAME = "hasCourse";
47      public static String OLR3_HAS_COURSE = String.valueOf(String.valueOf(OLR3_NS)).concat(OLR3_HAS_COURSE_NAME);    
48      public static String OLR3_ROOT_NAME = "Model";
49      public static String OLR3_MODEL_NAME = "modelroot";
50      public static String OLR3_ROOT = String.valueOf(String.valueOf(OLR3_NS)).concat(OLR3_ROOT_NAME);
51      public static String OLR3_HASSEQUENCE = String.valueOf(String.valueOf(OLR3_NS)).concat("hasSequence");
52      public static final char dbEscapeChar = 92;
53  
54  }