org.swrlapi.drools.owl.axioms.IOPA Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swrlapi-drools-engine Show documentation
Show all versions of swrlapi-drools-engine Show documentation
Drools implementation of SWRLAPI-based SWRL rule engine
package org.swrlapi.drools.owl.axioms;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.checkerframework.dataflow.qual.SideEffectFree;
import org.semanticweb.owlapi.model.OWLInverseObjectPropertiesAxiom;
import org.swrlapi.drools.extractors.DroolsOWLAxiomExtractor;
import org.swrlapi.exceptions.TargetSWRLRuleEngineException;
/**
* Class representing an OWL inverse object property axiom in Drools.
*
* @see org.semanticweb.owlapi.model.OWLInverseObjectPropertiesAxiom
*/
public class IOPA extends DroolsBinaryPropertiesAxiom
{
private static final long serialVersionUID = 1L;
public IOPA(@NonNull String property1ID, @NonNull String property2ID)
{
super(property1ID, property2ID);
}
@NonNull @Override public OWLInverseObjectPropertiesAxiom extract(@NonNull DroolsOWLAxiomExtractor extractor)
throws TargetSWRLRuleEngineException
{
return extractor.extract(this);
}
@Override public void visit(@NonNull AVisitor visitor)
{
visitor.visit(this);
}
@NonNull @SideEffectFree @Override public String toString()
{
return "IOPA" + super.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy