Protégé-OWL 3.4.1

edu.stanford.smi.protegex.owl.swrl.bridge
Class OWLFactory

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.swrl.bridge.OWLFactory

public class OWLFactory
extends Object

Factory to create bridge instances of OWL entities that reflect OWL entities in a source OWL model or entities created inside the bridge (that may or may not ultimately be transferred to the source OWL model).


Constructor Summary
OWLFactory()
           
 
Method Summary
static BuiltInArgument createBuiltInArgument(String variableURI, String prefixedVariableName)
           
static BuiltInAtom createBuiltInAtom(String builtInURI, String builtInPrefixedName, List<BuiltInArgument> arguments)
           
static OWLClass createOWLClass(String classURI)
           
static OWLClass createOWLClass(String classURI, String superclassURI)
           
static OWLClassAssertionAxiom createOWLClassAssertionAxiom(OWLIndividual individual, OWLClass description)
           
static OWLClassPropertyAssertionAxiom createOWLClassPropertyAssertionAxiom(OWLIndividual subject, OWLProperty property, OWLClass object)
           
static OWLDatatypeProperty createOWLDatatypeProperty(String propertyURI)
           
static OWLDatatypePropertyAssertionAxiom createOWLDatatypePropertyAssertionAxiom(OWLIndividual subject, OWLProperty property, OWLDatatypeValue object)
           
static OWLDatatypeValue createOWLDatatypeValue(BigDecimal bd)
           
static OWLDatatypeValue createOWLDatatypeValue(BigInteger bi)
           
static OWLDatatypeValue createOWLDatatypeValue(boolean b)
           
static OWLDatatypeValue createOWLDatatypeValue(Byte b)
           
static OWLDatatypeValue createOWLDatatypeValue(double d)
           
static OWLDatatypeValue createOWLDatatypeValue(float f)
           
static OWLDatatypeValue createOWLDatatypeValue(int i)
           
static OWLDatatypeValue createOWLDatatypeValue(long l)
           
static OWLDatatypeValue createOWLDatatypeValue(Number n)
           
static OWLDatatypeValue createOWLDatatypeValue(PrimitiveXSDType xsd)
           
static OWLDatatypeValue createOWLDatatypeValue(short s)
           
static OWLDatatypeValue createOWLDatatypeValue(String s)
           
static OWLDifferentIndividualsAxiom createOWLDifferentIndividualsAxiom(OWLIndividual individual1, OWLIndividual individual2)
           
static OWLDifferentIndividualsAxiom createOWLDifferentIndividualsAxiom(Set<OWLIndividual> individuals)
           
static OWLIndividual createOWLIndividual(String individualURI)
           
static OWLIndividual createOWLIndividual(String individualURI, OWLClass owlClass)
           
static OWLObjectProperty createOWLObjectProperty(String propertyURI)
           
static OWLObjectPropertyAssertionAxiom createOWLObjectPropertyAssertionAxiom(OWLIndividual subject, OWLProperty property, OWLIndividual object)
           
static OWLPropertyPropertyAssertionAxiom createOWLPropertyPropertyAssertionAxiom(OWLIndividual subject, OWLProperty property, OWLProperty object)
           
static OWLSameIndividualsAxiom createOWLSameIndividualsAxiom(OWLIndividual individual1, OWLIndividual individual2)
           
static OWLSomeValuesFrom createOWLSomeValuesFrom(OWLClass owlClass, OWLProperty onProperty, OWLClass someValuesFrom)
           
static OWLSubClassAxiom createOWLSubClassAxiom(OWLClass subClass, OWLClass superClass)
           
static SWRLRule createSWRLRule(String ruleName, List<Atom> bodyAtoms, List<Atom> headAtoms)
           
static VariableAtomArgument createVariableAtomArgument(String variableURI, String prefixedVariableName)
           
static VariableBuiltInArgument createVariableBuiltInArgument(String variableURI, String prefixedVariableName)
           
static OWLIndividual generateOWLIndividual(String individualURI, String prefixedIndividualName, OWLClass owlClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLFactory

public OWLFactory()
Method Detail

createSWRLRule

public static SWRLRule createSWRLRule(String ruleName,
                                      List<Atom> bodyAtoms,
                                      List<Atom> headAtoms)
                               throws SQWRLException,
                                      BuiltInException
Throws:
SQWRLException
BuiltInException

createBuiltInAtom

public static BuiltInAtom createBuiltInAtom(String builtInURI,
                                            String builtInPrefixedName,
                                            List<BuiltInArgument> arguments)

createOWLClass

public static OWLClass createOWLClass(String classURI)

createOWLClass

public static OWLClass createOWLClass(String classURI,
                                      String superclassURI)

createOWLIndividual

public static OWLIndividual createOWLIndividual(String individualURI)

createOWLIndividual

public static OWLIndividual createOWLIndividual(String individualURI,
                                                OWLClass owlClass)

generateOWLIndividual

public static OWLIndividual generateOWLIndividual(String individualURI,
                                                  String prefixedIndividualName,
                                                  OWLClass owlClass)

createOWLObjectProperty

public static OWLObjectProperty createOWLObjectProperty(String propertyURI)

createOWLDatatypeProperty

public static OWLDatatypeProperty createOWLDatatypeProperty(String propertyURI)

createOWLDatatypeValue

public static OWLDatatypeValue createOWLDatatypeValue(String s)

createOWLDatatypeValue

public static OWLDatatypeValue createOWLDatatypeValue(Number n)

createOWLDatatypeValue

public static OWLDatatypeValue createOWLDatatypeValue(boolean b)

createOWLDatatypeValue

public static OWLDatatypeValue createOWLDatatypeValue(int i)

createOWLDatatypeValue

public static OWLDatatypeValue createOWLDatatypeValue(long l)

createOWLDatatypeValue

public static OWLDatatypeValue createOWLDatatypeValue(float f)

createOWLDatatypeValue

public static OWLDatatypeValue createOWLDatatypeValue(double d)

createOWLDatatypeValue

public static OWLDatatypeValue createOWLDatatypeValue(short s)

createOWLDatatypeValue

public static OWLDatatypeValue createOWLDatatypeValue(Byte b)

createOWLDatatypeValue

public static OWLDatatypeValue createOWLDatatypeValue(BigDecimal bd)

createOWLDatatypeValue

public static OWLDatatypeValue createOWLDatatypeValue(BigInteger bi)

createOWLDatatypeValue

public static OWLDatatypeValue createOWLDatatypeValue(PrimitiveXSDType xsd)

createOWLDatatypePropertyAssertionAxiom

public static OWLDatatypePropertyAssertionAxiom createOWLDatatypePropertyAssertionAxiom(OWLIndividual subject,
                                                                                        OWLProperty property,
                                                                                        OWLDatatypeValue object)

createOWLObjectPropertyAssertionAxiom

public static OWLObjectPropertyAssertionAxiom createOWLObjectPropertyAssertionAxiom(OWLIndividual subject,
                                                                                    OWLProperty property,
                                                                                    OWLIndividual object)

createOWLDifferentIndividualsAxiom

public static OWLDifferentIndividualsAxiom createOWLDifferentIndividualsAxiom(OWLIndividual individual1,
                                                                              OWLIndividual individual2)

createOWLDifferentIndividualsAxiom

public static OWLDifferentIndividualsAxiom createOWLDifferentIndividualsAxiom(Set<OWLIndividual> individuals)

createOWLSameIndividualsAxiom

public static OWLSameIndividualsAxiom createOWLSameIndividualsAxiom(OWLIndividual individual1,
                                                                    OWLIndividual individual2)

createOWLClassPropertyAssertionAxiom

public static OWLClassPropertyAssertionAxiom createOWLClassPropertyAssertionAxiom(OWLIndividual subject,
                                                                                  OWLProperty property,
                                                                                  OWLClass object)

createOWLPropertyPropertyAssertionAxiom

public static OWLPropertyPropertyAssertionAxiom createOWLPropertyPropertyAssertionAxiom(OWLIndividual subject,
                                                                                        OWLProperty property,
                                                                                        OWLProperty object)

createOWLClassAssertionAxiom

public static OWLClassAssertionAxiom createOWLClassAssertionAxiom(OWLIndividual individual,
                                                                  OWLClass description)

createOWLSubClassAxiom

public static OWLSubClassAxiom createOWLSubClassAxiom(OWLClass subClass,
                                                      OWLClass superClass)

createOWLSomeValuesFrom

public static OWLSomeValuesFrom createOWLSomeValuesFrom(OWLClass owlClass,
                                                        OWLProperty onProperty,
                                                        OWLClass someValuesFrom)

createVariableAtomArgument

public static VariableAtomArgument createVariableAtomArgument(String variableURI,
                                                              String prefixedVariableName)

createVariableBuiltInArgument

public static VariableBuiltInArgument createVariableBuiltInArgument(String variableURI,
                                                                    String prefixedVariableName)

createBuiltInArgument

public static BuiltInArgument createBuiltInArgument(String variableURI,
                                                    String prefixedVariableName)

Protégé-OWL 3.4.1

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.