org.coode.oppl.datafactory.OPPLOWLDisjointObjectPropertiesAxiom Maven / Gradle / Ivy
package org.coode.oppl.datafactory;
import static org.coode.oppl.utils.ArgCheck.checkNotNull;
import java.util.Set;
import org.coode.oppl.function.inline.InlineSet;
import org.semanticweb.owlapi.model.AxiomType;
import org.semanticweb.owlapi.model.OWLAnnotation;
import org.semanticweb.owlapi.model.OWLAnnotationProperty;
import org.semanticweb.owlapi.model.OWLAnonymousIndividual;
import org.semanticweb.owlapi.model.OWLAxiom;
import org.semanticweb.owlapi.model.OWLAxiomVisitor;
import org.semanticweb.owlapi.model.OWLAxiomVisitorEx;
import org.semanticweb.owlapi.model.OWLClass;
import org.semanticweb.owlapi.model.OWLClassExpression;
import org.semanticweb.owlapi.model.OWLDataProperty;
import org.semanticweb.owlapi.model.OWLDatatype;
import org.semanticweb.owlapi.model.OWLDisjointObjectPropertiesAxiom;
import org.semanticweb.owlapi.model.OWLEntity;
import org.semanticweb.owlapi.model.OWLNamedIndividual;
import org.semanticweb.owlapi.model.OWLObject;
import org.semanticweb.owlapi.model.OWLObjectProperty;
import org.semanticweb.owlapi.model.OWLObjectPropertyExpression;
import org.semanticweb.owlapi.model.OWLObjectVisitor;
import org.semanticweb.owlapi.model.OWLObjectVisitorEx;
/** @author Luigi Iannone */
public class OPPLOWLDisjointObjectPropertiesAxiom extends
AbstractInlineSetAxiom implements
OWLDisjointObjectPropertiesAxiom {
private static final long serialVersionUID = 20100L;
private final OWLDisjointObjectPropertiesAxiom delegate;
private final boolean shouldExpandAsPairWise;
/** @param dataFactory
* dataFactory
* @param propertyExpressions
* propertyExpressions
* @param annotations
* annotations
* @param shouldExpandAsPairWise
* shouldExpandAsPairWise */
public OPPLOWLDisjointObjectPropertiesAxiom(OPPLOWLDataFactory dataFactory,
InlineSet propertyExpressions,
Set extends OWLAnnotation> annotations, boolean shouldExpandAsPairWise) {
super(propertyExpressions);
checkNotNull(dataFactory, "dataFactory");
checkNotNull(propertyExpressions, "propertyExpressions");
checkNotNull(annotations, "annotations");
this.shouldExpandAsPairWise = shouldExpandAsPairWise;
delegate = dataFactory.getDelegate().getOWLDisjointObjectPropertiesAxiom(
propertyExpressions, annotations);
}
/** @return the shouldExpandAsPairwise */
public boolean shouldExpandAsPairWise() {
return shouldExpandAsPairWise;
}
// Delegate methods
@Override
public Set getSignature() {
return delegate.getSignature();
}
@Override
public Set getAnonymousIndividuals() {
return delegate.getAnonymousIndividuals();
}
@Override
public Set getProperties() {
return delegate.getProperties();
}
@Override
public Set getPropertiesMinus(
OWLObjectPropertyExpression property) {
return delegate.getPropertiesMinus(property);
}
@Override
public Set getClassesInSignature() {
return delegate.getClassesInSignature();
}
@Override
public OWLDisjointObjectPropertiesAxiom getAxiomWithoutAnnotations() {
return delegate.getAxiomWithoutAnnotations();
}
@Override
public void accept(OWLAxiomVisitor visitor) {
visitor.visit(this);
}
@Override
public O accept(OWLAxiomVisitorEx visitor) {
return visitor.visit(this);
}
@Override
public Set getAnnotations() {
return delegate.getAnnotations();
}
@Override
public Set getDataPropertiesInSignature() {
return delegate.getDataPropertiesInSignature();
}
@Override
public Set getAnnotations(OWLAnnotationProperty annotationProperty) {
return delegate.getAnnotations(annotationProperty);
}
@Override
public Set getObjectPropertiesInSignature() {
return delegate.getObjectPropertiesInSignature();
}
@Override
public Set getIndividualsInSignature() {
return delegate.getIndividualsInSignature();
}
@Override
public Set getDatatypesInSignature() {
return delegate.getDatatypesInSignature();
}
@Override
public OWLAxiom getAnnotatedAxiom(Set annotations) {
return delegate.getAnnotatedAxiom(annotations);
}
@Override
public Set getNestedClassExpressions() {
return delegate.getNestedClassExpressions();
}
@Override
public void accept(OWLObjectVisitor visitor) {
visitor.visit(this);
}
@Override
public O accept(OWLObjectVisitorEx visitor) {
return visitor.visit(this);
}
@Override
public int compareTo(OWLObject o) {
return delegate.compareTo(o);
}
@Override
public boolean equalsIgnoreAnnotations(OWLAxiom axiom) {
return delegate.equalsIgnoreAnnotations(axiom);
}
@Override
public boolean isTopEntity() {
return delegate.isTopEntity();
}
@Override
public boolean isLogicalAxiom() {
return delegate.isLogicalAxiom();
}
@Override
public boolean isBottomEntity() {
return delegate.isBottomEntity();
}
@Override
public boolean isAnnotated() {
return delegate.isAnnotated();
}
@Override
public AxiomType> getAxiomType() {
return delegate.getAxiomType();
}
@Override
public boolean isOfType(AxiomType>... axiomTypes) {
return delegate.isOfType(axiomTypes);
}
@Override
public boolean isOfType(Set> types) {
return delegate.isOfType(types);
}
@Override
public OWLAxiom getNNF() {
return delegate.getNNF();
}
@Override
public int hashCode() {
return delegate.hashCode();
}
@Override
public boolean equals(Object obj) {
return delegate.equals(obj);
}
@Override
public String toString() {
return delegate.toString();
}
@Override
public boolean isAnnotationAxiom() {
return delegate.isAnnotationAxiom();
}
}