KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > joseki > vocabulary > JosekiSchema


1 /*
2  * (c) Copyright 2003, 2004 Hewlett-Packard Development Company, LP
3  * [See end of file]
4  */

5
6 /* Vocabulary Class generated by Jena vocabulary generator
7  *
8  * Version $Id: JosekiSchema.java,v 1.5 2004/04/29 18:04:21 andy_seaborne Exp $
9  */

10
11 package org.joseki.vocabulary;
12
13 import com.hp.hpl.jena.rdf.model.*;
14  
15 /**
16  * Vocabulary definitions for Joseki configuration vocabulary.
17  * @author Auto-generated by schemagen on 01 Jul 2003
18  */

19 public class JosekiSchema {
20     /** <p>The RDF model that holds the vocabulary terms</p> */
21     private static Model m_model = ModelFactory.createDefaultModel();
22     
23     /** <p>The namespace of the vocabalary as a string ({@value})</p> */
24     public static final String JavaDoc NS = "http://joseki.org/2003/07/configuration#";
25     
26     /** <p>The namespace of the vocabalary as a string</p>
27      * @see #NS */

28     public static String JavaDoc getURI() {return NS;}
29     
30     /** <p>The namespace of the vocabalary as a resource</p> */
31     public static final Resource NAMESPACE = m_model.createResource( NS );
32     
33     /** <p>This model uses an adapter</p> */
34     public static final Property sourceController = m_model.createProperty( "http://joseki.org/2003/07/configuration#sourceController" );
35     
36     /** <p>Other resources to read and merge (e.g. file:...)</p> */
37     public static final Property alsoInclude = m_model.createProperty( "http://joseki.org/2003/07/configuration#alsoInclude" );
38     
39     /** <p>Type for a relational database</p> */
40     public static final Property dbType = m_model.createProperty( "http://joseki.org/2003/07/configuration#dbType" );
41     
42     /** <p>The name used identify the operationon this model</p> */
43     public static final Property operationName = m_model.createProperty( "http://joseki.org/2003/07/configuration#operationName" );
44     
45     /** <p>The name used identify the operation on this model - can be a URI or a short
46      * name (string)</p>
47      */

48     public static final Property queryOperationName = m_model.createProperty( "http://joseki.org/2003/07/configuration#queryOperationName" );
49     
50     /** <p>The namespace URI part of a namespace prefix</p> */
51     public static final Property nsURI = m_model.createProperty( "http://joseki.org/2003/07/configuration#nsURI" );
52     
53     /** <p>Multi-instance property</p> */
54     public static final Property hasOperation = m_model.createProperty( "http://joseki.org/2003/07/configuration#hasOperation" );
55     
56     /** <p>Driver name relational databases</p> */
57     public static final Property dbDriver = m_model.createProperty( "http://joseki.org/2003/07/configuration#dbDriver" );
58     
59     /** <p>User ID for relational database</p> */
60     public static final Property user = m_model.createProperty( "http://joseki.org/2003/07/configuration#user" );
61     
62     /** <p>Indicate whether this model changes</p> */
63     public static final Property isImmutable = m_model.createProperty( "http://joseki.org/2003/07/configuration#isImmutable" );
64     
65     /** <p>Model name a relational database model</p> */
66     public static final Property dbModelName = m_model.createProperty( "http://joseki.org/2003/07/configuration#dbModelName" );
67     
68     public static final Property josekiSchema = m_model.createProperty( "http://joseki.org/2003/07/configuration#josekiSchema" );
69     
70     /** <p>Model spec to be used in creating the Jena model to back an attached model</p> */
71     public static final Property modelSpec = m_model.createProperty( "http://joseki.org/2003/07/configuration#modelSpec" );
72     
73     /** <p>code to load</p> */
74     public static final Property className = m_model.createProperty( "http://joseki.org/2003/07/configuration#className" );
75     
76     /** <p>Required property</p> */
77     public static final Property attachedModel = m_model.createProperty( "http://joseki.org/2003/07/configuration#attachedModel" );
78     
79     /** <p>The query language of this request</p> */
80     public static final Property requestQueryLanguage = m_model.createProperty( "http://joseki.org/2003/07/configuration#requestQueryLanguage" );
81     
82     /** <p>Port number (if not implicit through servlet)Not normally needed</p> */
83     public static final Property serverPort = m_model.createProperty( "http://joseki.org/2003/07/configuration#serverPort" );
84     
85     /** <p>Optional specification of an OWL ontology to use with this data</p> */
86     public static final Property ontology = m_model.createProperty( "http://joseki.org/2003/07/configuration#ontology" );
87     
88     /** <p>URI of this server - Not normally needed</p> */
89     public static final Property serverURI = m_model.createProperty( "http://joseki.org/2003/07/configuration#serverURI" );
90     
91     /** <p>Password for relational database</p> */
92     public static final Property password = m_model.createProperty( "http://joseki.org/2003/07/configuration#password" );
93     
94     /** <p>The namespace prefix part of a namespace prefix</p> */
95     public static final Property prefix = m_model.createProperty( "http://joseki.org/2003/07/configuration#prefix" );
96     
97     /** <p>Optional specification of an RDFS vocabulary to use with this data</p> */
98     public static final Property vocabulary = m_model.createProperty( "http://joseki.org/2003/07/configuration#vocabulary" );
99     
100     /** <p>Defines an optional namespace prefix for this model.</p> */
101     public static final Property namespacePrefix = m_model.createProperty( "http://joseki.org/2003/07/configuration#namespacePrefix" );
102     
103     /** <p></p> */
104     public static final Property operation = m_model.createProperty( "http://joseki.org/2003/07/configuration#operation" );
105     
106     /** <p>The query as a string</p> */
107     public static final Property queryScript = m_model.createProperty( "http://joseki.org/2003/07/configuration#queryScript" );
108     
109     /** <p>Set server debugging mode</p> */
110     public static final Property serverDebug = m_model.createProperty( "http://joseki.org/2003/07/configuration#serverDebug" );
111     
112     /** <p>Optionally set the document manager for the ontology</p> */
113     public static final Property ontDocumentManager = m_model.createProperty( "http://joseki.org/2003/07/configuration#ontDocumentManager" );
114     
115     /** <p></p> */
116     public static final Property queryOperation = m_model.createProperty( "http://joseki.org/2003/07/configuration#queryOperation" );
117     
118     /** <p>Query language descriptionMulti-instance property</p> */
119     public static final Property hasQueryOperation = m_model.createProperty( "http://joseki.org/2003/07/configuration#hasQueryOperation" );
120     
121     /** <p>Set the MIME type for the protocol</p> */
122     public static final Property useContentType = m_model.createProperty( "http://joseki.org/2003/07/configuration#useContentType" );
123     
124     public static final Resource QueryLanguage = m_model.createResource( "http://joseki.org/2003/07/configuration#QueryLanguage" );
125     
126     public static final Resource QueryLanguageBinding = m_model.createResource( "http://joseki.org/2003/07/configuration#QueryLanguageBinding" );
127     
128     public static final Resource Operation = m_model.createResource( "http://joseki.org/2003/07/configuration#Operation" );
129     
130     public static final Resource QueryOperation = m_model.createResource( "http://joseki.org/2003/07/configuration#QueryOperation" );
131     
132     public static final Resource OperationBinding = m_model.createResource( "http://joseki.org/2003/07/configuration#OperationBinding" );
133     
134     public static final Resource AttachedModel = m_model.createResource( "http://joseki.org/2003/07/configuration#AttachedModel" );
135     
136     /** <p>An adapter to an external model source</p> */
137     public static final Resource SourceController = m_model.createResource( "http://joseki.org/2003/07/configuration#SourceController" );
138     
139     /** <p>Required type</p> */
140     public static final Resource JosekiServer = m_model.createResource( "http://joseki.org/2003/07/configuration#JosekiServer" );
141     
142     public static final Resource ModelDescription = m_model.createResource( "http://joseki.org/2003/07/configuration#ModelDescription" );
143     
144     public static final Resource QueryOperationBinding = m_model.createResource( "http://joseki.org/2003/07/configuration#QueryOperationBinding" );
145     
146     public static final Resource opQueryModel = m_model.createResource( "http://joseki.org/2003/07/configuration#opQueryModel" );
147     
148     public static final Resource opUpdate = m_model.createResource( "http://joseki.org/2003/07/configuration#opUpdate" );
149     
150     public static final Resource opUnlock = m_model.createResource( "http://joseki.org/2003/07/configuration#opUnlock" );
151     
152     public static final Resource opRemove = m_model.createResource( "http://joseki.org/2003/07/configuration#opRemove" );
153     
154     public static final Resource queryRDQL = m_model.createResource( "http://joseki.org/2003/07/configuration#queryRDQL" );
155     
156     public static final Resource opLock = m_model.createResource( "http://joseki.org/2003/07/configuration#opLock" );
157     
158     public static final Resource opAdd = m_model.createResource( "http://joseki.org/2003/07/configuration#opAdd" );
159     
160     public static final Resource opOptions = m_model.createResource( "http://joseki.org/2003/07/configuration#opOptions" );
161     
162     public static final Resource queryGET = m_model.createResource( "http://joseki.org/2003/07/configuration#queryGET" );
163     
164 }
165
166
167
168 /*
169  * (c) Copyright 2003, 2004 Hewlett-Packard Development Company, LP
170  * All rights reserved.
171  *
172  * Redistribution and use in source and binary forms, with or without
173  * modification, are permitted provided that the following conditions
174  * are met:
175  * 1. Redistributions of source code must retain the above copyright
176  * notice, this list of conditions and the following disclaimer.
177  * 2. Redistributions in binary form must reproduce the above copyright
178  * notice, this list of conditions and the following disclaimer in the
179  * documentation and/or other materials provided with the distribution.
180  * 3. The name of the author may not be used to endorse or promote products
181  * derived from this software without specific prior written permission.
182  *
183  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
184  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
185  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
186  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
187  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
188  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
189  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
190  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
191  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
192  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
193  */

194
Popular Tags