KickJava   Java API By Example, From Geeks To Geeks.

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


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

5
6 package org.joseki.vocabulary;
7
8 //import com.hp.hpl.jena.rdf.model.* ;
9

10 /** Vocabulary Class initially generated by Jena vocabulary generator
11  * This class adds the non-schema-generated defintions.
12  *
13  * @author Andy Seaborne
14  * @version $Id: JosekiVocab.java,v 1.4 2004/04/30 14:13:14 andy_seaborne Exp $
15  */

16
17 public class JosekiVocab extends JosekiSchema
18 {
19     
20     // Not mechanically generated.
21
// Resource versions omitted : we probably want the resource inth model (with properties).
22

23     public static String JavaDoc opQuery = getURI()+"OpQuery" ;
24     //public static Resource r_opQuery = ResourceFactory.createResource(opQuery) ;
25
public static String JavaDoc opQueryModel = getURI()+"OpQueryModel" ;
26     //public static Resource r_opQueryModel = ResourceFactory.createResource(opQueryModel) ;
27
public static String JavaDoc opOptions = getURI()+"OpOptions" ;
28     //public static Resource r_opOptions = ResourceFactory.createResource(opOptions) ;
29
public static String JavaDoc opPing = getURI()+"OpPing" ;
30     //public static Resource r_opPing = ResourceFactory.createResource(opPing) ;
31

32     public static String JavaDoc opAdd = getURI()+"OpAdd" ;
33     //public static Resource r_opAdd = ResourceFactory.createResource(opAdd) ;
34
public static String JavaDoc opRemove = getURI()+"OpRemove" ;
35     //public static Resource r_opRemove = ResourceFactory.createResource(opRemove) ;
36
public static String JavaDoc opUpdate = getURI()+"OpUpdate" ;
37     //public static Resource r_opUpdate = ResourceFactory.createResource(opUpdate) ;
38

39     public static String JavaDoc opLock = getURI()+"OpLock" ;
40     //public static Resource r_opLock = ResourceFactory.createResource(opLock) ;
41
public static String JavaDoc opUnlock = getURI()+"OpUnlock" ;
42     //public static Resource r_opUnlock = ResourceFactory.createResource(opUnlock) ;
43

44     public static String JavaDoc queryOperationRDQL = getURI()+"QueryOperationRDQL" ;
45     //public static Resource r_queryRDQL = ResourceFactory.createResource(queryOperationRDQL) ;
46
public static String JavaDoc queryOperationGET = getURI()+"QueryOperationGET" ;
47     //public static Resource r_queryGET = ResourceFactory.createResource(queryOperationGET) ;
48
public static String JavaDoc queryOperationFetch = getURI()+"QueryOperationFetch" ;
49     //public static Resource r_queryFetch = ResourceFactory.createResource(queryOperationFetch) ;
50
public static String JavaDoc queryOperationSPO = getURI()+"QueryOperationSPO" ;
51     //public static Resource r_querySPO = ResourceFactory.createResource(queryOperationSPO) ;
52

53     // Fetch modules
54
public static String JavaDoc fetchClosure = getURI()+"FetchClosure" ;
55     //public static Resource r_fetchClosure = ResourceFactory.createResource(fetchClosure) ;
56

57     // SourceController interface and built-in defintions
58

59     public static String JavaDoc sourceControllerFile = getURI()+"SourceControllerFile" ;
60     //public static Resource r_sourceControllerFile = ResourceFactory.createResource(sourceControllerFile) ;
61
public static String JavaDoc sourceControllerRDB = getURI()+"SourceControllerRDB" ;
62     //public static Resource r_sourceControllerRDB = ResourceFactory.createResource(sourceControllerRDB) ;
63
}
64
65 /*
66  * (c) Copyright 2003, 2004 Hewlett-Packard Development Company, LP
67  * All rights reserved.
68  *
69  * Redistribution and use in source and binary forms, with or without
70  * modification, are permitted provided that the following conditions
71  * are met:
72  * 1. Redistributions of source code must retain the above copyright
73  * notice, this list of conditions and the following disclaimer.
74  * 2. Redistributions in binary form must reproduce the above copyright
75  * notice, this list of conditions and the following disclaimer in the
76  * documentation and/or other materials provided with the distribution.
77  * 3. The name of the author may not be used to endorse or promote products
78  * derived from this software without specific prior written permission.
79  *
80  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
81  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
82  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
83  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
84  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
85  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
86  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
87  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
88  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
89  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
90  */

91
Popular Tags