KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > hp > hpl > jena > vocabulary > DB


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

5
6 /* Vocabulary Class for DB.
7  *
8  */

9
10 package com.hp.hpl.jena.vocabulary;
11
12 import com.hp.hpl.jena.rdf.model.*;
13
14 /**
15  * Vocabulary for Database properties.
16  *
17  * @author csayers
18  * @version $Revision: 1.12 $
19  */

20 public class DB {
21
22     public static final String JavaDoc uri = "http://jena.hpl.hp.com/2003/04/DB#";
23
24     /** returns the URI for this schema
25      * @return the URI for this schema
26      */

27     public static String JavaDoc getURI() {
28           return uri;
29     }
30
31     public static final Resource systemGraphName = ResourceFactory.createResource(uri + "SystemGraph" );
32     public static final Resource layoutVersion = ResourceFactory.createResource( uri + "LayoutVersion" );
33     public static final Property engineType = ResourceFactory.createProperty(uri + "EngineType" );
34     public static final Property driverVersion = ResourceFactory.createProperty(uri + "DriverVersion" );
35     public static final Property formatDate = ResourceFactory.createProperty(uri + "FormatDate" );
36     public static final Property graph = ResourceFactory.createProperty(uri + "Graph" );
37     
38     public static final Property longObjectLength = ResourceFactory.createProperty(uri + "LongObjectLength" );
39     public static final Property indexKeyLength = ResourceFactory.createProperty(uri + "IndexKeyLength" );
40     public static final Property isTransactionDb = ResourceFactory.createProperty(uri + "IsTransactionDb" );
41     public static final Property doCompressURI = ResourceFactory.createProperty(uri + "DoCompressURI" );
42     public static final Property compressURILength = ResourceFactory.createProperty(uri + "CompressURILength" );
43     public static final Property tableNamePrefix = ResourceFactory.createProperty(uri + "TableNamePrefix" );
44
45     public static final Property graphName = ResourceFactory.createProperty(uri + "GraphName" );
46     public static final Property graphType = ResourceFactory.createProperty(uri + "GraphType" );
47     public static final Property graphLSet = ResourceFactory.createProperty(uri + "GraphLSet" );
48     public static final Property graphPrefix = ResourceFactory.createProperty(uri + "GraphPrefix" );
49     public static final Property graphId = ResourceFactory.createProperty(uri + "GraphId" );
50     public static final Property graphDBSchema = ResourceFactory.createProperty(uri + "GraphDBSchema" );
51     public static final Property stmtTable = ResourceFactory.createProperty(uri + "StmtTable" );
52     public static final Property reifTable = ResourceFactory.createProperty(uri + "ReifTable" );
53
54
55     public static final Property prefixValue = ResourceFactory.createProperty(uri + "PrefixValue" );
56     public static final Property prefixURI = ResourceFactory.createProperty(uri + "PrefixURI" );
57
58     public static final Property lSetName = ResourceFactory.createProperty(uri + "LSetName" );
59     public static final Property lSetType = ResourceFactory.createProperty(uri + "LSetType" );
60     public static final Property lSetPSet = ResourceFactory.createProperty(uri + "LSetPSet" );
61
62     public static final Property pSetName = ResourceFactory.createProperty(uri + "PSetName" );
63     public static final Property pSetType = ResourceFactory.createProperty(uri + "PSetType" );
64     public static final Property pSetTable = ResourceFactory.createProperty(uri + "PSetTable" );
65
66     public static final Resource undefined = ResourceFactory.createResource(uri + "undefined" ) ;
67 }
68
69 /*
70  * (c) Copyright 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP
71  * All rights reserved.
72  *
73  * Redistribution and use in source and binary forms, with or without
74  * modification, are permitted provided that the following conditions
75  * are met:
76  * 1. Redistributions of source code must retain the above copyright
77  * notice, this list of conditions and the following disclaimer.
78  * 2. Redistributions in binary form must reproduce the above copyright
79  * notice, this list of conditions and the following disclaimer in the
80  * documentation and/or other materials provided with the distribution.
81  * 3. The name of the author may not be used to endorse or promote products
82  * derived from this software without specific prior written permission.
83  *
84  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
85  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
86  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
87  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
88  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
89  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
90  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
91  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
92  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
93  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
94  */

95
96
Popular Tags