/* Vocabulary Class for DB.
 *
 */

package com.hp.hpl.jena.vocabulary;

import com.hp.hpl.jena.rdf.model.Resource;
import com.hp.hpl.jena.rdf.model.ResourceFactory;
import com.hp.hpl.jena.rdf.model.Property;
import com.hp.hpl.jena.rdf.model.impl.ErrorHelper;

/**
 * Vocabulary for Database properties.
 * 
 * @author csayers
 * @version $Revision: 1.1 $
 */
public class DB {

    protected static final String uri = "http://jena.hpl.hp.com/2003/04/DB#";

    /** returns the URI for this schema
     * @return the URI for this schema
     */
    public static String getURI() {
          return uri;
    }

	// Database properties
	        static String nSystemGraphName = "SystemGraph";
    public static Resource systemGraphName;
           static String nEngineType = "EngineType";
    public static Property engineType;
           static String nDriverVersion = "DriverVersion";
    public static Property driverVersion;
           static String nFormatDate = "FormatDate";
    public static Property formatDate;
           static String nGraph = "Graph";
    public static Property graph;
           static String nMaxLiteral = "MaxLiteral";
    public static Property maxLiteral;
    
	// Graph properties
		   static String nGraphType = "GraphType";
	public static Property graphType;
		   static String nGraphLSet = "GraphLSet";
	public static Property graphLSet;
    
	// LSet properties
		   static String nLSetType = "LSetType";
	public static Property lSetType;
		   static String nLSetPSet = "LSetPSet";
	public static Property lSetPSet;
    
	// PSet properties
		   static String nPSetType = "PSetType";
	public static Property pSetType;    
    
    // Added - schemagen does not generate this
           static String nundefined = "undefined" ;
    public static Resource undefined ; 
    

    static {
        try {
            systemGraphName = ResourceFactory.createResource(uri + nSystemGraphName);
            engineType = ResourceFactory.createProperty(uri + nEngineType);
            driverVersion = ResourceFactory.createProperty(uri + nDriverVersion);
            formatDate = ResourceFactory.createProperty(uri + nFormatDate);
            graph = ResourceFactory.createProperty(uri + nGraph);
            maxLiteral = ResourceFactory.createProperty(uri + nMaxLiteral);
            
            graphType = ResourceFactory.createProperty(uri + nGraphType);
            graphLSet = ResourceFactory.createProperty(uri + nGraphLSet);
            
			lSetType = ResourceFactory.createProperty(uri + nLSetType);
			lSetPSet = ResourceFactory.createProperty(uri + nLSetPSet);
            
			pSetType = ResourceFactory.createProperty(uri + nPSetType);

            undefined = ResourceFactory.createResource(uri + nundefined) ;
        } catch (Exception e) {
            ErrorHelper.logInternalError("RDF", 1, e);
        }
    }
}

@@ -345,17 +345,17 @@
 sion: 1.
-1
+2
  $%0A */%0Ap
@@ -1364,24 +1364,310 @@
  graphLSet;%0A
+%09%09   static String nGraphPrefix = %22GraphPrefix%22;%0A%09public static Property graphPrefix;%0A    %0A    // Prefix properties%0A%09%09   static String nPrefixValue = %22PrefixValue%22;%0A %09public static Property prefixValue;%0A   %09%09   static String nPrefixURI = %22PrefixURI%22;%0A%09public static Property prefixURI;%0A
     %0A%09// LSe
@@ -2670,79 +2670,286 @@
 e);%0A
-            graphLSet = ResourceFactory.createProperty(uri + nGraphLSet
+%09%09%09graphLSet = ResourceFactory.createProperty(uri + nGraphLSet);%0A%09%09%09graphPrefix = ResourceFactory.createProperty(uri + nGraphPrefix);%0A            %0A%09%09%09prefixValue = ResourceFactory.createProperty(uri + nPrefixValue);%0A%09%09%09prefixURI = ResourceFactory.createProperty(uri + nPrefixURI
 );%0A 

Add prefix mapping entries.