org.openanzo.owl
Class OWL11Factory

java.lang.Object
  extended by org.openanzo.jastor.GraphThingFactory
      extended by org.openanzo.owl.OWL11Factory

public class OWL11Factory
extends GraphThingFactory

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

(URI: http://www.w3.org/2002/07/owl#OWL11)





Field Summary
 
Fields inherited from class org.openanzo.jastor.GraphThingFactory
valueFactory
 
Constructor Summary
OWL11Factory()
           
 
Method Summary
static _Thing create_Thing(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of _Thing.
static _Thing create_Thing(java.lang.String uri, INamedGraph graph)
          Create a new instance of _Thing.
static AnnotationProperty createAnnotationProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of AnnotationProperty.
static AnnotationProperty createAnnotationProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of AnnotationProperty.
static AntisymmetricProperty createAntisymmetricProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of AntisymmetricProperty.
static AntisymmetricProperty createAntisymmetricProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of AntisymmetricProperty.
static Class createClass(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Class.
static Class createClass(java.lang.String uri, INamedGraph graph)
          Create a new instance of Class.
static Constant createConstant(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Constant.
static Constant createConstant(java.lang.String uri, INamedGraph graph)
          Create a new instance of Constant.
static DataRange createDataRange(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of DataRange.
static DataRange createDataRange(java.lang.String uri, INamedGraph graph)
          Create a new instance of DataRange.
static DataRestriction createDataRestriction(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of DataRestriction.
static DataRestriction createDataRestriction(java.lang.String uri, INamedGraph graph)
          Create a new instance of DataRestriction.
static DatatypeProperty createDatatypeProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of DatatypeProperty.
static DatatypeProperty createDatatypeProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of DatatypeProperty.
static FunctionalDataPropety createFunctionalDataPropety(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalDataPropety.
static FunctionalDataPropety createFunctionalDataPropety(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalDataPropety.
static FunctionalObjectProperty createFunctionalObjectProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalObjectProperty.
static FunctionalObjectProperty createFunctionalObjectProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalObjectProperty.
static FunctionalProperty createFunctionalProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalProperty.
static FunctionalProperty createFunctionalProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalProperty.
static FunctionalPropety createFunctionalPropety(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalPropety.
static FunctionalPropety createFunctionalPropety(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalPropety.
static Individual createIndividual(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Individual.
static Individual createIndividual(java.lang.String uri, INamedGraph graph)
          Create a new instance of Individual.
static InverseFunctionalProperty createInverseFunctionalProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of InverseFunctionalProperty.
static InverseFunctionalProperty createInverseFunctionalProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of InverseFunctionalProperty.
static IrreflexiveProperty createIrreflexiveProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of IrreflexiveProperty.
static IrreflexiveProperty createIrreflexiveProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of IrreflexiveProperty.
static Nothing createNothing(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Nothing.
static Nothing createNothing(java.lang.String uri, INamedGraph graph)
          Create a new instance of Nothing.
static ObjectProperty createObjectProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of ObjectProperty.
static ObjectProperty createObjectProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of ObjectProperty.
static ObjectRestriction createObjectRestriction(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of ObjectRestriction.
static ObjectRestriction createObjectRestriction(java.lang.String uri, INamedGraph graph)
          Create a new instance of ObjectRestriction.
static Ontology createOntology(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Ontology.
static Ontology createOntology(java.lang.String uri, INamedGraph graph)
          Create a new instance of Ontology.
static OWLEntity createOWLEntity(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of OWLEntity.
static OWLEntity createOWLEntity(java.lang.String uri, INamedGraph graph)
          Create a new instance of OWLEntity.
static ReflexiveProperty createReflexiveProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of ReflexiveProperty.
static ReflexiveProperty createReflexiveProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of ReflexiveProperty.
static Restriction createRestriction(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Restriction.
static Restriction createRestriction(java.lang.String uri, INamedGraph graph)
          Create a new instance of Restriction.
static SymmetricProperty createSymmetricProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of SymmetricProperty.
static SymmetricProperty createSymmetricProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of SymmetricProperty.
static TransitiveProperty createTransitiveProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of TransitiveProperty.
static TransitiveProperty createTransitiveProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of TransitiveProperty.
static _Thing get_Thing(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of _Thing.
static _Thing get_Thing(java.lang.String uri, INamedGraph graph)
          Create a new instance of _Thing.
static java.util.List<_Thing> getAll_Thing(INamedGraph graph)
          Return an instance of _Thing for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Thing
static java.util.List<AnnotationProperty> getAllAnnotationProperty(INamedGraph graph)
          Return an instance of AnnotationProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#AnnotationProperty
static java.util.List<AntisymmetricProperty> getAllAntisymmetricProperty(INamedGraph graph)
          Return an instance of AntisymmetricProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#AntisymmetricProperty
static java.util.List<Class> getAllClass(INamedGraph graph)
          Return an instance of Class for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Class
static java.util.List<Constant> getAllConstant(INamedGraph graph)
          Return an instance of Constant for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Constant
static java.util.List<DataRange> getAllDataRange(INamedGraph graph)
          Return an instance of DataRange for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#DataRange
static java.util.List<DataRestriction> getAllDataRestriction(INamedGraph graph)
          Return an instance of DataRestriction for every resource in the model with rdf:Type http://www.w3.org/owl11#DataRestriction
static java.util.List<DatatypeProperty> getAllDatatypeProperty(INamedGraph graph)
          Return an instance of DatatypeProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#DatatypeProperty
static java.util.List<FunctionalDataPropety> getAllFunctionalDataPropety(INamedGraph graph)
          Return an instance of FunctionalDataPropety for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#FunctionalDataPropety
static java.util.List<FunctionalObjectProperty> getAllFunctionalObjectProperty(INamedGraph graph)
          Return an instance of FunctionalObjectProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#FunctionalObjectProperty
static java.util.List<FunctionalProperty> getAllFunctionalProperty(INamedGraph graph)
          Return an instance of FunctionalProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#FunctionalProperty
static java.util.List<FunctionalPropety> getAllFunctionalPropety(INamedGraph graph)
          Return an instance of FunctionalPropety for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#FunctionalPropety
static java.util.List<Individual> getAllIndividual(INamedGraph graph)
          Return an instance of Individual for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Individual
static java.util.List<InverseFunctionalProperty> getAllInverseFunctionalProperty(INamedGraph graph)
          Return an instance of InverseFunctionalProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#InverseFunctionalProperty
static java.util.List<IrreflexiveProperty> getAllIrreflexiveProperty(INamedGraph graph)
          Return an instance of IrreflexiveProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#IrreflexiveProperty
static java.util.List<Nothing> getAllNothing(INamedGraph graph)
          Return an instance of Nothing for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Nothing
static java.util.List<ObjectProperty> getAllObjectProperty(INamedGraph graph)
          Return an instance of ObjectProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#ObjectProperty
static java.util.List<ObjectRestriction> getAllObjectRestriction(INamedGraph graph)
          Return an instance of ObjectRestriction for every resource in the model with rdf:Type http://www.w3.org/owl11#ObjectRestriction
static java.util.List<Ontology> getAllOntology(INamedGraph graph)
          Return an instance of Ontology for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Ontology
static java.util.List<OWLEntity> getAllOWLEntity(INamedGraph graph)
          Return an instance of OWLEntity for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#OWLEntity
static java.util.List<ReflexiveProperty> getAllReflexiveProperty(INamedGraph graph)
          Return an instance of ReflexiveProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#ReflexiveProperty
static java.util.List<Restriction> getAllRestriction(INamedGraph graph)
          Return an instance of Restriction for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Restriction
static java.util.List<SymmetricProperty> getAllSymmetricProperty(INamedGraph graph)
          Return an instance of SymmetricProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#SymmetricProperty
static java.util.List<TransitiveProperty> getAllTransitiveProperty(INamedGraph graph)
          Return an instance of TransitiveProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#TransitiveProperty
static AnnotationProperty getAnnotationProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of AnnotationProperty.
static AnnotationProperty getAnnotationProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of AnnotationProperty.
static AntisymmetricProperty getAntisymmetricProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of AntisymmetricProperty.
static AntisymmetricProperty getAntisymmetricProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of AntisymmetricProperty.
static Class getClass(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Class.
static Class getClass(java.lang.String uri, INamedGraph graph)
          Create a new instance of Class.
static Constant getConstant(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Constant.
static Constant getConstant(java.lang.String uri, INamedGraph graph)
          Create a new instance of Constant.
static DataRange getDataRange(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of DataRange.
static DataRange getDataRange(java.lang.String uri, INamedGraph graph)
          Create a new instance of DataRange.
static DataRestriction getDataRestriction(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of DataRestriction.
static DataRestriction getDataRestriction(java.lang.String uri, INamedGraph graph)
          Create a new instance of DataRestriction.
static DatatypeProperty getDatatypeProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of DatatypeProperty.
static DatatypeProperty getDatatypeProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of DatatypeProperty.
static FunctionalDataPropety getFunctionalDataPropety(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalDataPropety.
static FunctionalDataPropety getFunctionalDataPropety(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalDataPropety.
static FunctionalObjectProperty getFunctionalObjectProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalObjectProperty.
static FunctionalObjectProperty getFunctionalObjectProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalObjectProperty.
static FunctionalProperty getFunctionalProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalProperty.
static FunctionalProperty getFunctionalProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalProperty.
static FunctionalPropety getFunctionalPropety(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalPropety.
static FunctionalPropety getFunctionalPropety(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalPropety.
static GraphThing getGraphThing(org.openrdf.model.Resource res, INamedGraph graph)
          Returns an instance of an interface for the given Resource.
static GraphThing getGraphThing(java.lang.String uri, INamedGraph graph)
          Returns an instance of an interface for the given Resource URI.
static Individual getIndividual(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Individual.
static Individual getIndividual(java.lang.String uri, INamedGraph graph)
          Create a new instance of Individual.
static InverseFunctionalProperty getInverseFunctionalProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of InverseFunctionalProperty.
static InverseFunctionalProperty getInverseFunctionalProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of InverseFunctionalProperty.
static IrreflexiveProperty getIrreflexiveProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of IrreflexiveProperty.
static IrreflexiveProperty getIrreflexiveProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of IrreflexiveProperty.
static Nothing getNothing(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Nothing.
static Nothing getNothing(java.lang.String uri, INamedGraph graph)
          Create a new instance of Nothing.
static ObjectProperty getObjectProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of ObjectProperty.
static ObjectProperty getObjectProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of ObjectProperty.
static ObjectRestriction getObjectRestriction(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of ObjectRestriction.
static ObjectRestriction getObjectRestriction(java.lang.String uri, INamedGraph graph)
          Create a new instance of ObjectRestriction.
static Ontology getOntology(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Ontology.
static Ontology getOntology(java.lang.String uri, INamedGraph graph)
          Create a new instance of Ontology.
static OWLEntity getOWLEntity(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of OWLEntity.
static OWLEntity getOWLEntity(java.lang.String uri, INamedGraph graph)
          Create a new instance of OWLEntity.
static ReflexiveProperty getReflexiveProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of ReflexiveProperty.
static ReflexiveProperty getReflexiveProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of ReflexiveProperty.
static Restriction getRestriction(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Restriction.
static Restriction getRestriction(java.lang.String uri, INamedGraph graph)
          Create a new instance of Restriction.
static SymmetricProperty getSymmetricProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of SymmetricProperty.
static SymmetricProperty getSymmetricProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of SymmetricProperty.
static TransitiveProperty getTransitiveProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of TransitiveProperty.
static TransitiveProperty getTransitiveProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of TransitiveProperty.
static java.util.List<java.lang.Class<? extends GraphThing>> listCompatibleInterfaces(org.openrdf.model.Resource type)
          Return a list of compatible interfaces for the given type.
 
Methods inherited from class org.openanzo.jastor.GraphThingFactory
clearCache, clearCaches, createGraphThing, createGraphThing
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWL11Factory

public OWL11Factory()
Method Detail

createAntisymmetricProperty

public static AntisymmetricProperty createAntisymmetricProperty(org.openrdf.model.Resource resource,
                                                                INamedGraph graph)
                                                         throws JastorException
Create a new instance of AntisymmetricProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the AntisymmetricProperty
graph - the INamedGraph containing data.
Returns:
the AntisymmetricProperty created
Throws:
JastorException

createAntisymmetricProperty

public static AntisymmetricProperty createAntisymmetricProperty(java.lang.String uri,
                                                                INamedGraph graph)
                                                         throws JastorException
Create a new instance of AntisymmetricProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the AntisymmetricProperty
graph - the INamedGraph containing data.
Returns:
the AntisymmetricProperty created
Throws:
JastorException

getAntisymmetricProperty

public static AntisymmetricProperty getAntisymmetricProperty(java.lang.String uri,
                                                             INamedGraph graph)
                                                      throws JastorException
Create a new instance of AntisymmetricProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the AntisymmetricProperty
graph - the INamedGraph containing data.
Returns:
the AntisymmetricProperty retrieved, or created
Throws:
JastorException

getAntisymmetricProperty

public static AntisymmetricProperty getAntisymmetricProperty(org.openrdf.model.Resource resource,
                                                             INamedGraph graph)
                                                      throws JastorException
Create a new instance of AntisymmetricProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the AntisymmetricProperty
graph - the INamedGraph containing data.
Returns:
the AntisymmetricProperty retrieved, or created
Throws:
JastorException

getAllAntisymmetricProperty

public static java.util.List<AntisymmetricProperty> getAllAntisymmetricProperty(INamedGraph graph)
                                                                         throws JastorException
Return an instance of AntisymmetricProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#AntisymmetricProperty

Parameters:
graph - the INamedGraph
Returns:
a List of AntisymmetricProperty
Throws:
JastorException

createSymmetricProperty

public static SymmetricProperty createSymmetricProperty(org.openrdf.model.Resource resource,
                                                        INamedGraph graph)
                                                 throws JastorException
Create a new instance of SymmetricProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the SymmetricProperty
graph - the INamedGraph containing data.
Returns:
the SymmetricProperty created
Throws:
JastorException

createSymmetricProperty

public static SymmetricProperty createSymmetricProperty(java.lang.String uri,
                                                        INamedGraph graph)
                                                 throws JastorException
Create a new instance of SymmetricProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the SymmetricProperty
graph - the INamedGraph containing data.
Returns:
the SymmetricProperty created
Throws:
JastorException

getSymmetricProperty

public static SymmetricProperty getSymmetricProperty(java.lang.String uri,
                                                     INamedGraph graph)
                                              throws JastorException
Create a new instance of SymmetricProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the SymmetricProperty
graph - the INamedGraph containing data.
Returns:
the SymmetricProperty retrieved, or created
Throws:
JastorException

getSymmetricProperty

public static SymmetricProperty getSymmetricProperty(org.openrdf.model.Resource resource,
                                                     INamedGraph graph)
                                              throws JastorException
Create a new instance of SymmetricProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the SymmetricProperty
graph - the INamedGraph containing data.
Returns:
the SymmetricProperty retrieved, or created
Throws:
JastorException

getAllSymmetricProperty

public static java.util.List<SymmetricProperty> getAllSymmetricProperty(INamedGraph graph)
                                                                 throws JastorException
Return an instance of SymmetricProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#SymmetricProperty

Parameters:
graph - the INamedGraph
Returns:
a List of SymmetricProperty
Throws:
JastorException

createDataRestriction

public static DataRestriction createDataRestriction(org.openrdf.model.Resource resource,
                                                    INamedGraph graph)
                                             throws JastorException
Create a new instance of DataRestriction. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the DataRestriction
graph - the INamedGraph containing data.
Returns:
the DataRestriction created
Throws:
JastorException

createDataRestriction

public static DataRestriction createDataRestriction(java.lang.String uri,
                                                    INamedGraph graph)
                                             throws JastorException
Create a new instance of DataRestriction. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the DataRestriction
graph - the INamedGraph containing data.
Returns:
the DataRestriction created
Throws:
JastorException

getDataRestriction

public static DataRestriction getDataRestriction(java.lang.String uri,
                                                 INamedGraph graph)
                                          throws JastorException
Create a new instance of DataRestriction. Leaves the graph unchanged.

Parameters:
uri - The uri of the DataRestriction
graph - the INamedGraph containing data.
Returns:
the DataRestriction retrieved, or created
Throws:
JastorException

getDataRestriction

public static DataRestriction getDataRestriction(org.openrdf.model.Resource resource,
                                                 INamedGraph graph)
                                          throws JastorException
Create a new instance of DataRestriction. Leaves the graph unchanged.

Parameters:
resource - The resource of the DataRestriction
graph - the INamedGraph containing data.
Returns:
the DataRestriction retrieved, or created
Throws:
JastorException

getAllDataRestriction

public static java.util.List<DataRestriction> getAllDataRestriction(INamedGraph graph)
                                                             throws JastorException
Return an instance of DataRestriction for every resource in the model with rdf:Type http://www.w3.org/owl11#DataRestriction

Parameters:
graph - the INamedGraph
Returns:
a List of DataRestriction
Throws:
JastorException

createClass

public static Class createClass(org.openrdf.model.Resource resource,
                                INamedGraph graph)
                         throws JastorException
Create a new instance of Class. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the Class
graph - the INamedGraph containing data.
Returns:
the Class created
Throws:
JastorException

createClass

public static Class createClass(java.lang.String uri,
                                INamedGraph graph)
                         throws JastorException
Create a new instance of Class. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the Class
graph - the INamedGraph containing data.
Returns:
the Class created
Throws:
JastorException

getClass

public static Class getClass(java.lang.String uri,
                             INamedGraph graph)
                      throws JastorException
Create a new instance of Class. Leaves the graph unchanged.

Parameters:
uri - The uri of the Class
graph - the INamedGraph containing data.
Returns:
the Class retrieved, or created
Throws:
JastorException

getClass

public static Class getClass(org.openrdf.model.Resource resource,
                             INamedGraph graph)
                      throws JastorException
Create a new instance of Class. Leaves the graph unchanged.

Parameters:
resource - The resource of the Class
graph - the INamedGraph containing data.
Returns:
the Class retrieved, or created
Throws:
JastorException

getAllClass

public static java.util.List<Class> getAllClass(INamedGraph graph)
                                         throws JastorException
Return an instance of Class for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Class

Parameters:
graph - the INamedGraph
Returns:
a List of Class
Throws:
JastorException

createFunctionalDataPropety

public static FunctionalDataPropety createFunctionalDataPropety(org.openrdf.model.Resource resource,
                                                                INamedGraph graph)
                                                         throws JastorException
Create a new instance of FunctionalDataPropety. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the FunctionalDataPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalDataPropety created
Throws:
JastorException

createFunctionalDataPropety

public static FunctionalDataPropety createFunctionalDataPropety(java.lang.String uri,
                                                                INamedGraph graph)
                                                         throws JastorException
Create a new instance of FunctionalDataPropety. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the FunctionalDataPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalDataPropety created
Throws:
JastorException

getFunctionalDataPropety

public static FunctionalDataPropety getFunctionalDataPropety(java.lang.String uri,
                                                             INamedGraph graph)
                                                      throws JastorException
Create a new instance of FunctionalDataPropety. Leaves the graph unchanged.

Parameters:
uri - The uri of the FunctionalDataPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalDataPropety retrieved, or created
Throws:
JastorException

getFunctionalDataPropety

public static FunctionalDataPropety getFunctionalDataPropety(org.openrdf.model.Resource resource,
                                                             INamedGraph graph)
                                                      throws JastorException
Create a new instance of FunctionalDataPropety. Leaves the graph unchanged.

Parameters:
resource - The resource of the FunctionalDataPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalDataPropety retrieved, or created
Throws:
JastorException

getAllFunctionalDataPropety

public static java.util.List<FunctionalDataPropety> getAllFunctionalDataPropety(INamedGraph graph)
                                                                         throws JastorException
Return an instance of FunctionalDataPropety for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#FunctionalDataPropety

Parameters:
graph - the INamedGraph
Returns:
a List of FunctionalDataPropety
Throws:
JastorException

createFunctionalPropety

public static FunctionalPropety createFunctionalPropety(org.openrdf.model.Resource resource,
                                                        INamedGraph graph)
                                                 throws JastorException
Create a new instance of FunctionalPropety. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the FunctionalPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalPropety created
Throws:
JastorException

createFunctionalPropety

public static FunctionalPropety createFunctionalPropety(java.lang.String uri,
                                                        INamedGraph graph)
                                                 throws JastorException
Create a new instance of FunctionalPropety. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the FunctionalPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalPropety created
Throws:
JastorException

getFunctionalPropety

public static FunctionalPropety getFunctionalPropety(java.lang.String uri,
                                                     INamedGraph graph)
                                              throws JastorException
Create a new instance of FunctionalPropety. Leaves the graph unchanged.

Parameters:
uri - The uri of the FunctionalPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalPro