com.hp.hpl.mesa.rdf.jena.common
Class StoreCom

java.lang.Object
  |
  +--com.hp.hpl.mesa.rdf.jena.common.StoreCom
All Implemented Interfaces:
Store
Direct Known Subclasses:
StoreRDB

public abstract class StoreCom
extends java.lang.Object
implements Store

Version:
$Version$
Author:
bwm

Constructor Summary
StoreCom()
          Creates new Store
 
Method Summary
 void close()
          Close the store and free up resources held.
 Alt createAlt(Model m)
           
 Alt createAlt(java.lang.String uri, Model m)
           
 Bag createBag(Model m)
           
 Bag createBag(java.lang.String uri, Model m)
           
 Property createProperty(java.lang.String uri, Model m)
           
 Property createProperty(java.lang.String namespace, java.lang.String localPart, Model m)
           
 Resource createResource(Model m)
           
 Resource createResource(java.lang.String uri, Model m)
           
 Seq createSeq(Model m)
           
 Seq createSeq(java.lang.String uri, Model m)
           
 Statement createStatement(Resource s, Property p, RDFNode o, Model m)
           
 Alt getAlt(Resource r, Model m)
           
 Alt getAlt(java.lang.String uri, Model m)
           
 Bag getBag(Resource r, Model m)
           
 Bag getBag(java.lang.String uri, Model m)
           
 Property getProperty(Property p)
           
 Property getProperty(java.lang.String uri, Model m)
           
 Property getProperty(java.lang.String namespace, java.lang.String localPart, Model m)
           
 Resource getResource(java.lang.String uri, Model m)
           
 Seq getSeq(Resource r, Model m)
           
 Seq getSeq(java.lang.String uri, Model m)
           
 Statement getStatement(Resource s, Property p, RDFNode o, Model m)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.common.Store
add, contains, contains, list, list, listByObject, listByPredicate, listBySubject, listNameSpaces, listSubjects, remove, size
 

Constructor Detail

StoreCom

public StoreCom()
Creates new Store
Method Detail

createResource

public Resource createResource(Model m)
                        throws RDFException
Specified by:
createResource in interface Store

createResource

public Resource createResource(java.lang.String uri,
                               Model m)
                        throws RDFException
Specified by:
createResource in interface Store

createProperty

public Property createProperty(java.lang.String uri,
                               Model m)
                        throws RDFException
Specified by:
createProperty in interface Store

createProperty

public Property createProperty(java.lang.String namespace,
                               java.lang.String localPart,
                               Model m)
                        throws RDFException
Specified by:
createProperty in interface Store

createStatement

public Statement createStatement(Resource s,
                                 Property p,
                                 RDFNode o,
                                 Model m)
                          throws RDFException
Specified by:
createStatement in interface Store

createBag

public Bag createBag(Model m)
              throws RDFException
Specified by:
createBag in interface Store

createBag

public Bag createBag(java.lang.String uri,
                     Model m)
              throws RDFException
Specified by:
createBag in interface Store

createAlt

public Alt createAlt(Model m)
              throws RDFException
Specified by:
createAlt in interface Store

createAlt

public Alt createAlt(java.lang.String uri,
                     Model m)
              throws RDFException
Specified by:
createAlt in interface Store

createSeq

public Seq createSeq(Model m)
              throws RDFException
Specified by:
createSeq in interface Store

createSeq

public Seq createSeq(java.lang.String uri,
                     Model m)
              throws RDFException
Specified by:
createSeq in interface Store

getResource

public Resource getResource(java.lang.String uri,
                            Model m)
                     throws RDFException
Specified by:
getResource in interface Store

getProperty

public Property getProperty(java.lang.String uri,
                            Model m)
                     throws RDFException
Specified by:
getProperty in interface Store

getProperty

public Property getProperty(java.lang.String namespace,
                            java.lang.String localPart,
                            Model m)
                     throws RDFException
Specified by:
getProperty in interface Store

getStatement

public Statement getStatement(Resource s,
                              Property p,
                              RDFNode o,
                              Model m)
                       throws RDFException
Specified by:
getStatement in interface Store

getProperty

public Property getProperty(Property p)
                     throws RDFException
Specified by:
getProperty in interface Store

getBag

public Bag getBag(java.lang.String uri,
                  Model m)
           throws RDFException
Specified by:
getBag in interface Store

getBag

public Bag getBag(Resource r,
                  Model m)
           throws RDFException
Specified by:
getBag in interface Store

getAlt

public Alt getAlt(java.lang.String uri,
                  Model m)
           throws RDFException
Specified by:
getAlt in interface Store

getAlt

public Alt getAlt(Resource r,
                  Model m)
           throws RDFException
Specified by:
getAlt in interface Store

getSeq

public Seq getSeq(java.lang.String uri,
                  Model m)
           throws RDFException
Specified by:
getSeq in interface Store

getSeq

public Seq getSeq(Resource r,
                  Model m)
           throws RDFException
Specified by:
getSeq in interface Store

close

public void close()
Description copied from interface: Store
Close the store and free up resources held.

Not all implementations of Store require this method to be called. But some do, so in general its best to call it when done with the object, rather than leave it to the finalizer.

Specified by:
close in interface Store


Copyright 2001 Hewlett-Packard. All Rights Reserved.