001: /*
002: * (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
003: * [see end of file]
004: */
005:
006: /* Vocabulary Class for DB.
007: *
008: */
009:
010: package com.hp.hpl.jena.vocabulary;
011:
012: import com.hp.hpl.jena.rdf.model.*;
013:
014: /**
015: * Vocabulary for Database properties.
016: *
017: * @author csayers
018: * @version $Revision: 1.15 $
019: */
020: public class DB {
021:
022: public static final String uri = "http://jena.hpl.hp.com/2003/04/DB#";
023:
024: /** returns the URI for this schema
025: * @return the URI for this schema
026: */
027: public static String getURI() {
028: return uri;
029: }
030:
031: public static final Resource systemGraphName = ResourceFactory
032: .createResource(uri + "SystemGraph");
033: public static final Resource layoutVersion = ResourceFactory
034: .createResource(uri + "LayoutVersion");
035: public static final Property engineType = ResourceFactory
036: .createProperty(uri + "EngineType");
037: public static final Property driverVersion = ResourceFactory
038: .createProperty(uri + "DriverVersion");
039: public static final Property formatDate = ResourceFactory
040: .createProperty(uri + "FormatDate");
041: public static final Property graph = ResourceFactory
042: .createProperty(uri + "Graph");
043:
044: public static final Property longObjectLength = ResourceFactory
045: .createProperty(uri + "LongObjectLength");
046: public static final Property indexKeyLength = ResourceFactory
047: .createProperty(uri + "IndexKeyLength");
048: public static final Property isTransactionDb = ResourceFactory
049: .createProperty(uri + "IsTransactionDb");
050: public static final Property doCompressURI = ResourceFactory
051: .createProperty(uri + "DoCompressURI");
052: public static final Property compressURILength = ResourceFactory
053: .createProperty(uri + "CompressURILength");
054: public static final Property tableNamePrefix = ResourceFactory
055: .createProperty(uri + "TableNamePrefix");
056:
057: public static final Property graphName = ResourceFactory
058: .createProperty(uri + "GraphName");
059: public static final Property graphType = ResourceFactory
060: .createProperty(uri + "GraphType");
061: public static final Property graphLSet = ResourceFactory
062: .createProperty(uri + "GraphLSet");
063: public static final Property graphPrefix = ResourceFactory
064: .createProperty(uri + "GraphPrefix");
065: public static final Property graphId = ResourceFactory
066: .createProperty(uri + "GraphId");
067: public static final Property graphDBSchema = ResourceFactory
068: .createProperty(uri + "GraphDBSchema");
069: public static final Property stmtTable = ResourceFactory
070: .createProperty(uri + "StmtTable");
071: public static final Property reifTable = ResourceFactory
072: .createProperty(uri + "ReifTable");
073:
074: public static final Property prefixValue = ResourceFactory
075: .createProperty(uri + "PrefixValue");
076: public static final Property prefixURI = ResourceFactory
077: .createProperty(uri + "PrefixURI");
078:
079: public static final Property lSetName = ResourceFactory
080: .createProperty(uri + "LSetName");
081: public static final Property lSetType = ResourceFactory
082: .createProperty(uri + "LSetType");
083: public static final Property lSetPSet = ResourceFactory
084: .createProperty(uri + "LSetPSet");
085:
086: public static final Property pSetName = ResourceFactory
087: .createProperty(uri + "PSetName");
088: public static final Property pSetType = ResourceFactory
089: .createProperty(uri + "PSetType");
090: public static final Property pSetTable = ResourceFactory
091: .createProperty(uri + "PSetTable");
092:
093: public static final Resource undefined = ResourceFactory
094: .createResource(uri + "undefined");
095: }
096:
097: /*
098: * (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
099: * All rights reserved.
100: *
101: * Redistribution and use in source and binary forms, with or without
102: * modification, are permitted provided that the following conditions
103: * are met:
104: * 1. Redistributions of source code must retain the above copyright
105: * notice, this list of conditions and the following disclaimer.
106: * 2. Redistributions in binary form must reproduce the above copyright
107: * notice, this list of conditions and the following disclaimer in the
108: * documentation and/or other materials provided with the distribution.
109: * 3. The name of the author may not be used to endorse or promote products
110: * derived from this software without specific prior written permission.
111: *
112: * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
113: * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
114: * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
115: * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
116: * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
117: * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
118: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
119: * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
120: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
121: * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
122: */
|