Class DisjointDataPropertiesTranslator
java.lang.Object
com.github.owlcs.ontapi.internal.BaseSearcher
com.github.owlcs.ontapi.internal.AxiomTranslator<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom>
com.github.owlcs.ontapi.internal.axioms.AbstractNaryTranslator<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom,org.semanticweb.owlapi.model.OWLDataPropertyExpression,org.apache.jena.ontapi.model.OntDataProperty>
com.github.owlcs.ontapi.internal.axioms.AbstractTwoWayNaryTranslator<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom,org.semanticweb.owlapi.model.OWLDataPropertyExpression,org.apache.jena.ontapi.model.OntDataProperty>
com.github.owlcs.ontapi.internal.axioms.DisjointDataPropertiesTranslator
- All Implemented Interfaces:
ObjectsSearcher<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom>
public class DisjointDataPropertiesTranslator
extends AbstractTwoWayNaryTranslator<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom,org.semanticweb.owlapi.model.OWLDataPropertyExpression,org.apache.jena.ontapi.model.OntDataProperty>
A translator that provides
OWLDisjointDataPropertiesAxiom implementations.
Examples:
:objProperty1 owl:propertyDisjointWith :objProperty2[ rdf:type owl:AllDisjointProperties; owl:members ( :objProperty1 :objProperty2 :objProperty3 ) ]
Created @ssz on 12.10.2016.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.github.owlcs.ontapi.internal.axioms.AbstractNaryTranslator
AbstractNaryTranslator.ClassNaryAxiomImpl<A extends org.semanticweb.owlapi.model.OWLNaryClassAxiom>, AbstractNaryTranslator.DataPropertyNaryAxiomImpl<A extends org.semanticweb.owlapi.model.OWLNaryPropertyAxiom<org.semanticweb.owlapi.model.OWLDataPropertyExpression>>, AbstractNaryTranslator.IndividualNaryAxiomImpl<A extends org.semanticweb.owlapi.model.OWLNaryIndividualAxiom>, AbstractNaryTranslator.NaryAxiomImpl<A extends org.semanticweb.owlapi.model.OWLNaryAxiom<M>,M extends org.semanticweb.owlapi.model.OWLObject>, AbstractNaryTranslator.ObjectPropertyNaryAxiomImpl<A extends org.semanticweb.owlapi.model.OWLNaryPropertyAxiom<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionONTObject<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom> toAxiomImpl(org.apache.jena.ontapi.model.OntStatement statement, ModelObjectFactory factory, AxiomsSettings config) Creates an OWL Axiom impl from a statement.ONTObject<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom> toAxiomWrap(org.apache.jena.ontapi.model.OntStatement statement, ONTObjectFactory factory, AxiomsSettings config) Creates an OWL Axiom wrapper from a statement.Methods inherited from class com.github.owlcs.ontapi.internal.axioms.AbstractTwoWayNaryTranslator
listSearchStatements, listStatements, testStatement, writeMethods inherited from class com.github.owlcs.ontapi.internal.axioms.AbstractNaryTranslator
getSearchTriplesMethods inherited from class com.github.owlcs.ontapi.internal.AxiomTranslator
axioms, containsONTObject, findONTObject, get, getConfig, getObjectFactory, listAxioms, listONTObjects, listSearchStatements, statements, testStatement, toAxiom, toAxiomMethods inherited from class com.github.owlcs.ontapi.internal.BaseSearcher
getSystemResources, getTranslator, listByObject, listByPredicate, listByPredicateAndObject, listBySubject, listBySubjectAndPredicate, listStatements, listStatements, selectTranslators, split, toAxiom, translate
-
Constructor Details
-
DisjointDataPropertiesTranslator
public DisjointDataPropertiesTranslator()
-
-
Method Details
-
toAxiomImpl
public ONTObject<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom> toAxiomImpl(org.apache.jena.ontapi.model.OntStatement statement, ModelObjectFactory factory, AxiomsSettings config) Description copied from class:AxiomTranslatorCreates an OWL Axiom impl from a statement. Impl note: the method returnsONTAxiomImplinstance that is attached to the model.- Specified by:
toAxiomImplin classAxiomTranslator<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom>- Parameters:
statement-OntStatementthe statement which determines the axiomfactory-ModelObjectFactorythe data factory to create OWL-API objectsconfig-AxiomsSettingsto control the process- Returns:
ONTObjectaroundOWLAxiom
-
toAxiomWrap
public ONTObject<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom> toAxiomWrap(org.apache.jena.ontapi.model.OntStatement statement, ONTObjectFactory factory, AxiomsSettings config) Description copied from class:AxiomTranslatorCreates an OWL Axiom wrapper from a statement. Impl note: the method returns a simpleONT Wrapperwith an actualAxiomTranslatorinstance inside, that is created by the system-wideData Factory.- Specified by:
toAxiomWrapin classAxiomTranslator<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom>- Parameters:
statement-OntStatementthe statement which determines the axiomfactory-ONTObjectFactorythe data factory to create OWL-API objectsconfig-AxiomsSettingsto control the process- Returns:
ONTObjectaroundOWLAxiom
-