org.openanzo.rdfs.dataset
Class RDFSFactory

java.lang.Object
  extended by org.openanzo.jastor.DatasetThingFactory
      extended by org.openanzo.rdfs.dataset.RDFSFactory

public class RDFSFactory
extends DatasetThingFactory

Factory for instantiating objects for ontology classes in the RDFS ontology. The get methods leave the dataset unchanged and return a Java view of the object in the dataset. The create methods may add certain baseline properties to the dataset such as rdf:type and any properties with hasValue restrictions.

(URI: http://www.w3.org/2000/01/rdf-schema#RDFS)


RDF Schema Standard Properties
comment : RDFS Classes


Version:
1.1

Field Summary
 
Fields inherited from class org.openanzo.jastor.DatasetThingFactory
valueFactory
 
Constructor Summary
RDFSFactory()
           
 
Method Summary
static _Property create_Property(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of _Property.
static _Property create_Property(java.lang.String uri, IDataset dataset)
          Create a new instance of _Property.
static _Property create_Property(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of _Property.
static _Property create_Property(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of _Property.
static _Resource create_Resource(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of _Resource.
static _Resource create_Resource(java.lang.String uri, IDataset dataset)
          Create a new instance of _Resource.
static _Resource create_Resource(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of _Resource.
static _Resource create_Resource(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of _Resource.
static Alt createAlt(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Alt.
static Alt createAlt(java.lang.String uri, IDataset dataset)
          Create a new instance of Alt.
static Alt createAlt(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Alt.
static Alt createAlt(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Alt.
static Bag createBag(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Bag.
static Bag createBag(java.lang.String uri, IDataset dataset)
          Create a new instance of Bag.
static Bag createBag(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Bag.
static Bag createBag(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Bag.
static Class createClass(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Class.
static Class createClass(java.lang.String uri, IDataset dataset)
          Create a new instance of Class.
static Class createClass(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Class.
static Class createClass(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Class.
static Container createContainer(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Container.
static Container createContainer(java.lang.String uri, IDataset dataset)
          Create a new instance of Container.
static Container createContainer(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Container.
static Container createContainer(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Container.
static ContainerMembershipProperty createContainerMembershipProperty(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of ContainerMembershipProperty.
static ContainerMembershipProperty createContainerMembershipProperty(java.lang.String uri, IDataset dataset)
          Create a new instance of ContainerMembershipProperty.
static ContainerMembershipProperty createContainerMembershipProperty(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of ContainerMembershipProperty.
static ContainerMembershipProperty createContainerMembershipProperty(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of ContainerMembershipProperty.
static Datatype createDatatype(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Datatype.
static Datatype createDatatype(java.lang.String uri, IDataset dataset)
          Create a new instance of Datatype.
static Datatype createDatatype(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Datatype.
static Datatype createDatatype(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Datatype.
static List createList(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of List.
static List createList(java.lang.String uri, IDataset dataset)
          Create a new instance of List.
static List createList(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of List.
static List createList(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of List.
static Literal createLiteral(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Literal.
static Literal createLiteral(java.lang.String uri, IDataset dataset)
          Create a new instance of Literal.
static Literal createLiteral(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Literal.
static Literal createLiteral(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Literal.
static Seq createSeq(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Seq.
static Seq createSeq(java.lang.String uri, IDataset dataset)
          Create a new instance of Seq.
static Seq createSeq(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Seq.
static Seq createSeq(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Seq.
static _Property get_Property(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of _Property.
static _Property get_Property(java.lang.String uri, IDataset dataset)
          Create a new instance of _Property.
static _Property get_Property(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of _Property.
static _Property get_Property(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of _Property.
static _Resource get_Resource(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of _Resource.
static _Resource get_Resource(java.lang.String uri, IDataset dataset)
          Create a new instance of _Resource.
static _Resource get_Resource(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of _Resource.
static _Resource get_Resource(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of _Resource.
static java.util.List<_Property> getAll_Property(IDataset dataset)
          Return an instance of _Property for every resource in the dataset with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
static java.util.List<_Property> getAll_Property(org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Return an instance of _Property for every resource in the dataset with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
static java.util.List<_Resource> getAll_Resource(IDataset dataset)
          Return an instance of _Resource for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Resource
static java.util.List<_Resource> getAll_Resource(org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Return an instance of _Resource for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Resource
static java.util.List<Alt> getAllAlt(IDataset dataset)
          Return an instance of Alt for every resource in the dataset with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt
static java.util.List<Alt> getAllAlt(org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Return an instance of Alt for every resource in the dataset with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt
static java.util.List<Bag> getAllBag(IDataset dataset)
          Return an instance of Bag for every resource in the dataset with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag
static java.util.List<Bag> getAllBag(org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Return an instance of Bag for every resource in the dataset with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag
static java.util.List<Class> getAllClass(IDataset dataset)
          Return an instance of Class for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Class
static java.util.List<Class> getAllClass(org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Return an instance of Class for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Class
static java.util.List<Container> getAllContainer(IDataset dataset)
          Return an instance of Container for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Container
static java.util.List<Container> getAllContainer(org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Return an instance of Container for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Container
static java.util.List<ContainerMembershipProperty> getAllContainerMembershipProperty(IDataset dataset)
          Return an instance of ContainerMembershipProperty for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty
static java.util.List<ContainerMembershipProperty> getAllContainerMembershipProperty(org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Return an instance of ContainerMembershipProperty for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty
static java.util.List<Datatype> getAllDatatype(IDataset dataset)
          Return an instance of Datatype for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Datatype
static java.util.List<Datatype> getAllDatatype(org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Return an instance of Datatype for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Datatype
static java.util.List<List> getAllList(IDataset dataset)
          Return an instance of List for every resource in the dataset with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#List
static java.util.List<List> getAllList(org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Return an instance of List for every resource in the dataset with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#List
static java.util.List<Literal> getAllLiteral(IDataset dataset)
          Return an instance of Literal for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Literal
static java.util.List<Literal> getAllLiteral(org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Return an instance of Literal for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Literal
static java.util.List<Seq> getAllSeq(IDataset dataset)
          Return an instance of Seq for every resource in the dataset with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq
static java.util.List<Seq> getAllSeq(org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Return an instance of Seq for every resource in the dataset with rdf:Type http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq
static Alt getAlt(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Alt.
static Alt getAlt(java.lang.String uri, IDataset dataset)
          Create a new instance of Alt.
static Alt getAlt(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Alt.
static Alt getAlt(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Alt.
static Bag getBag(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Bag.
static Bag getBag(java.lang.String uri, IDataset dataset)
          Create a new instance of Bag.
static Bag getBag(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Bag.
static Bag getBag(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Bag.
static Class getClass(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Class.
static Class getClass(java.lang.String uri, IDataset dataset)
          Create a new instance of Class.
static Class getClass(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Class.
static Class getClass(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Class.
static Container getContainer(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Container.
static Container getContainer(java.lang.String uri, IDataset dataset)
          Create a new instance of Container.
static Container getContainer(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Container.
static Container getContainer(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Container.
static ContainerMembershipProperty getContainerMembershipProperty(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of ContainerMembershipProperty.
static ContainerMembershipProperty getContainerMembershipProperty(java.lang.String uri, IDataset dataset)
          Create a new instance of ContainerMembershipProperty.
static ContainerMembershipProperty getContainerMembershipProperty(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of ContainerMembershipProperty.
static ContainerMembershipProperty getContainerMembershipProperty(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of ContainerMembershipProperty.
static Datatype getDatatype(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Datatype.
static Datatype getDatatype(java.lang.String uri, IDataset dataset)
          Create a new instance of Datatype.
static Datatype getDatatype(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Datatype.
static Datatype getDatatype(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Datatype.
static List getList(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of List.
static List getList(java.lang.String uri, IDataset dataset)
          Create a new instance of List.
static List getList(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of List.
static List getList(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of List.
static Literal getLiteral(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Literal.
static Literal getLiteral(java.lang.String uri, IDataset dataset)
          Create a new instance of Literal.
static Literal getLiteral(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Literal.
static Literal getLiteral(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Literal.
static Seq getSeq(org.openrdf.model.Resource resource, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Seq.
static Seq getSeq(java.lang.String uri, IDataset dataset)
          Create a new instance of Seq.
static Seq getSeq(java.lang.String uri, org.openrdf.model.URI _namedGraphUri, IDataset dataset)
          Create a new instance of Seq.
static Seq getSeq(org.openrdf.model.URI resource, IDataset dataset)
          Create a new instance of Seq.
static java.util.List<java.lang.Class<? extends DatasetThing>> listCompatibleInterfaces(org.openrdf.model.Resource type)
          Return a list of compatible interfaces for the given type.
 
Methods inherited from class org.openanzo.jastor.DatasetThingFactory
clearCache, clearCaches, createDatasetThing, createDatasetThing, getDatasetThing, getDatasetThing
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDFSFactory

public RDFSFactory()
Method Detail

createContainer

public static Container createContainer(org.openrdf.model.URI resource,
                                        IDataset dataset)
                                 throws JastorException
Create a new instance of Container. Adds the rdf:type property for the given resource to the dataset.

Parameters:
resource - The resource of the Container
dataset - the IDataset containing the data
Returns:
the newly created Container
Throws:
JastorException

createContainer

public static Container createContainer(org.openrdf.model.Resource resource,
                                        org.openrdf.model.URI _namedGraphUri,
                                        IDataset dataset)
                                 throws JastorException
Create a new instance of Container. Adds the rdf:type property for the given resource to the dataset.

Parameters:
resource - The resource of the Container
_namedGraphUri - the URI of the NamedGraph within the dataset where this object is to be created
dataset - the IDataset containing the data
Returns:
the newly created Container
Throws:
JastorException

createContainer

public static Container createContainer(java.lang.String uri,
                                        IDataset dataset)
                                 throws JastorException
Create a new instance of Container. Adds the rdf:type property for the given resource to the dataset.

Parameters:
uri - The uri of the Container
dataset - the IDataset containing the data
Returns:
the newly created Container
Throws:
JastorException

createContainer

public static Container createContainer(java.lang.String uri,
                                        org.openrdf.model.URI _namedGraphUri,
                                        IDataset dataset)
                                 throws JastorException
Create a new instance of Container. Adds the rdf:type property for the given resource to the dataset.

Parameters:
uri - The uri of the Container
_namedGraphUri - the URI of the NamedGraph within the dataset where this object is to be created
dataset - the IDataset containing the data
Returns:
the newly created Container
Throws:
JastorException

getContainer

public static Container getContainer(java.lang.String uri,
                                     IDataset dataset)
                              throws JastorException
Create a new instance of Container. Leaves the dataset unchanged.

Parameters:
uri - The uri of the Container
dataset - the IDataset containing the data
Returns:
the newly created Container
Throws:
JastorException

getContainer

public static Container getContainer(java.lang.String uri,
                                     org.openrdf.model.URI _namedGraphUri,
                                     IDataset dataset)
                              throws JastorException
Create a new instance of Container. Leaves the dataset unchanged.

Parameters:
uri - The uri of the Container
_namedGraphUri - the URI of the NamedGraph within the dataset where this object is to be created
dataset - the IDataset containing the data
Returns:
the newly created Container
Throws:
JastorException

getContainer

public static Container getContainer(org.openrdf.model.URI resource,
                                     IDataset dataset)
                              throws JastorException
Create a new instance of Container. Leaves the dataset unchanged.

Parameters:
resource - The resource of the Container
dataset - the IDataset containing the data
Returns:
the newly created Container
Throws:
JastorException

getContainer

public static Container getContainer(org.openrdf.model.Resource resource,
                                     org.openrdf.model.URI _namedGraphUri,
                                     IDataset dataset)
                              throws JastorException
Create a new instance of Container. Leaves the dataset unchanged.

Parameters:
resource - The resource of the Container
_namedGraphUri - the URI of the NamedGraph within the dataset where this object is to be created
dataset - the IDataset containing the data
Returns:
the newly created Container
Throws:
JastorException

getAllContainer

public static java.util.List<Container> getAllContainer(IDataset dataset)
                                                 throws JastorException
Return an instance of Container for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Container

Parameters:
dataset - the IDataset containing the data
Returns:
a List of Container
Throws:
JastorException

getAllContainer

public static java.util.List<Container> getAllContainer(org.openrdf.model.URI _namedGraphUri,
                                                        IDataset dataset)
                                                 throws JastorException
Return an instance of Container for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Container

Parameters:
_namedGraphUri - the URI of the NamedGraph
dataset - the IDataset containing the data
Returns:
a List of Container
Throws:
JastorException

createContainerMembershipProperty

public static ContainerMembershipProperty createContainerMembershipProperty(org.openrdf.model.URI resource,
                                                                            IDataset dataset)
                                                                     throws JastorException
Create a new instance of ContainerMembershipProperty. Adds the rdf:type property for the given resource to the dataset.

Parameters:
resource - The resource of the ContainerMembershipProperty
dataset - the IDataset containing the data
Returns:
the newly created ContainerMembershipProperty
Throws:
JastorException

createContainerMembershipProperty

public static ContainerMembershipProperty createContainerMembershipProperty(org.openrdf.model.Resource resource,
                                                                            org.openrdf.model.URI _namedGraphUri,
                                                                            IDataset dataset)
                                                                     throws JastorException
Create a new instance of ContainerMembershipProperty. Adds the rdf:type property for the given resource to the dataset.

Parameters:
resource - The resource of the ContainerMembershipProperty
_namedGraphUri - the URI of the NamedGraph within the dataset where this object is to be created
dataset - the IDataset containing the data
Returns:
the newly created ContainerMembershipProperty
Throws:
JastorException

createContainerMembershipProperty

public static ContainerMembershipProperty createContainerMembershipProperty(java.lang.String uri,
                                                                            IDataset dataset)
                                                                     throws JastorException
Create a new instance of ContainerMembershipProperty. Adds the rdf:type property for the given resource to the dataset.

Parameters:
uri - The uri of the ContainerMembershipProperty
dataset - the IDataset containing the data
Returns:
the newly created ContainerMembershipProperty
Throws:
JastorException

createContainerMembershipProperty

public static ContainerMembershipProperty createContainerMembershipProperty(java.lang.String uri,
                                                                            org.openrdf.model.URI _namedGraphUri,
                                                                            IDataset dataset)
                                                                     throws JastorException
Create a new instance of ContainerMembershipProperty. Adds the rdf:type property for the given resource to the dataset.

Parameters:
uri - The uri of the ContainerMembershipProperty
_namedGraphUri - the URI of the NamedGraph within the dataset where this object is to be created
dataset - the IDataset containing the data
Returns:
the newly created ContainerMembershipProperty
Throws:
JastorException

getContainerMembershipProperty

public static ContainerMembershipProperty getContainerMembershipProperty(java.lang.String uri,
                                                                         IDataset dataset)
                                                                  throws JastorException
Create a new instance of ContainerMembershipProperty. Leaves the dataset unchanged.

Parameters:
uri - The uri of the ContainerMembershipProperty
dataset - the IDataset containing the data
Returns:
the newly created ContainerMembershipProperty
Throws:
JastorException

getContainerMembershipProperty

public static ContainerMembershipProperty getContainerMembershipProperty(java.lang.String uri,
                                                                         org.openrdf.model.URI _namedGraphUri,
                                                                         IDataset dataset)
                                                                  throws JastorException
Create a new instance of ContainerMembershipProperty. Leaves the dataset unchanged.

Parameters:
uri - The uri of the ContainerMembershipProperty
_namedGraphUri - the URI of the NamedGraph within the dataset where this object is to be created
dataset - the IDataset containing the data
Returns:
the newly created ContainerMembershipProperty
Throws:
JastorException

getContainerMembershipProperty

public static ContainerMembershipProperty getContainerMembershipProperty(org.openrdf.model.URI resource,
                                                                         IDataset dataset)
                                                                  throws JastorException
Create a new instance of ContainerMembershipProperty. Leaves the dataset unchanged.

Parameters:
resource - The resource of the ContainerMembershipProperty
dataset - the IDataset containing the data
Returns:
the newly created ContainerMembershipProperty
Throws:
JastorException

getContainerMembershipProperty

public static ContainerMembershipProperty getContainerMembershipProperty(org.openrdf.model.Resource resource,
                                                                         org.openrdf.model.URI _namedGraphUri,
                                                                         IDataset dataset)
                                                                  throws JastorException
Create a new instance of ContainerMembershipProperty. Leaves the dataset unchanged.

Parameters:
resource - The resource of the ContainerMembershipProperty
_namedGraphUri - the URI of the NamedGraph within the dataset where this object is to be created
dataset - the IDataset containing the data
Returns:
the newly created ContainerMembershipProperty
Throws:
JastorException

getAllContainerMembershipProperty

public static java.util.List<ContainerMembershipProperty> getAllContainerMembershipProperty(IDataset dataset)
                                                                                     throws JastorException
Return an instance of ContainerMembershipProperty for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty

Parameters:
dataset - the IDataset containing the data
Returns:
a List of ContainerMembershipProperty
Throws:
JastorException

getAllContainerMembershipProperty

public static java.util.List<ContainerMembershipProperty> getAllContainerMembershipProperty(org.openrdf.model.URI _namedGraphUri,
                                                                                            IDataset dataset)
                                                                                     throws JastorException
Return an instance of ContainerMembershipProperty for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty

Parameters:
_namedGraphUri - the URI of the NamedGraph
dataset - the IDataset containing the data
Returns:
a List of ContainerMembershipProperty
Throws:
JastorException

createLiteral

public static Literal createLiteral(org.openrdf.model.URI resource,
                                    IDataset dataset)
                             throws JastorException
Create a new instance of Literal. Adds the rdf:type property for the given resource to the dataset.

Parameters:
resource - The resource of the Literal
dataset - the IDataset containing the data
Returns:
the newly created Literal
Throws:
JastorException

createLiteral

public static Literal createLiteral(org.openrdf.model.Resource resource,
                                    org.openrdf.model.URI _namedGraphUri,
                                    IDataset dataset)
                             throws JastorException
Create a new instance of Literal. Adds the rdf:type property for the given resource to the dataset.

Parameters:
resource - The resource of the Literal
_namedGraphUri - the URI of the NamedGraph within the dataset where this object is to be created
dataset - the IDataset containing the data
Returns:
the newly created Literal
Throws:
JastorException

createLiteral

public static Literal createLiteral(java.lang.String uri,
                                    IDataset dataset)
                             throws JastorException
Create a new instance of Literal. Adds the rdf:type property for the given resource to the dataset.

Parameters:
uri - The uri of the Literal
dataset - the IDataset containing the data
Returns:
the newly created Literal
Throws:
JastorException

createLiteral

public static Literal createLiteral(java.lang.String uri,
                                    org.openrdf.model.URI _namedGraphUri,
                                    IDataset dataset)
                             throws JastorException
Create a new instance of Literal. Adds the rdf:type property for the given resource to the dataset.

Parameters:
uri - The uri of the Literal
_namedGraphUri - the URI of the NamedGraph within the dataset where this object is to be created
dataset - the IDataset containing the data
Returns:
the newly created Literal
Throws:
JastorException

getLiteral

public static Literal getLiteral(java.lang.String uri,
                                 IDataset dataset)
                          throws JastorException
Create a new instance of Literal. Leaves the dataset unchanged.

Parameters:
uri - The uri of the Literal
dataset - the IDataset containing the data
Returns:
the newly created Literal
Throws:
JastorException

getLiteral

public static Literal getLiteral(java.lang.String uri,
                                 org.openrdf.model.URI _namedGraphUri,
                                 IDataset dataset)
                          throws JastorException
Create a new instance of Literal. Leaves the dataset unchanged.

Parameters:
uri - The uri of the Literal
_namedGraphUri - the URI of the NamedGraph within the dataset where this object is to be created
dataset - the IDataset containing the data
Returns:
the newly created Literal
Throws:
JastorException

getLiteral

public static Literal getLiteral(org.openrdf.model.URI resource,
                                 IDataset dataset)
                          throws JastorException
Create a new instance of Literal. Leaves the dataset unchanged.

Parameters:
resource - The resource of the Literal
dataset - the IDataset containing the data
Returns:
the newly created Literal
Throws:
JastorException

getLiteral

public static Literal getLiteral(org.openrdf.model.Resource resource,
                                 org.openrdf.model.URI _namedGraphUri,
                                 IDataset dataset)
                          throws JastorException
Create a new instance of Literal. Leaves the dataset unchanged.

Parameters:
resource - The resource of the Literal
_namedGraphUri - the URI of the NamedGraph within the dataset where this object is to be created
dataset - the IDataset containing the data
Returns:
the newly created Literal
Throws:
JastorException

getAllLiteral

public static java.util.List<Literal> getAllLiteral(IDataset dataset)
                                             throws JastorException
Return an instance of Literal for every resource in the dataset with rdf:Type http://www.w3.org/2000/01/rdf-schema#Literal

Parameters:
dataset - the IDataset containing the data
Returns:
a List of Literal
Throws:
JastorException

getAllLiteral</