Class UseOfNonSubClassExpression
java.lang.Object
org.semanticweb.owlapi.profiles.OWLProfileViolation
org.semanticweb.owlapi.profiles.violations.UseOfNonSubClassExpression
- Author:
- Matthew Horridge, The University of Manchester, Information Management Group
-
Constructor Summary
ConstructorsConstructorDescriptionUseOfNonSubClassExpression
(OWLOntology ontology, OWLAxiom axiom, OWLClassExpression classExpression) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(OWLProfileViolationVisitor visitor) Visitor accept method.<O> Optional<O>
accept
(OWLProfileViolationVisitorEx<O> visitor) toString()
Methods inherited from class org.semanticweb.owlapi.profiles.OWLProfileViolation
getAxiom, getOntology, getOntologyID, repair
-
Constructor Details
-
UseOfNonSubClassExpression
public UseOfNonSubClassExpression(OWLOntology ontology, OWLAxiom axiom, OWLClassExpression classExpression) - Parameters:
ontology
- ontologyaxiom
- axiomclassExpression
- class expression
-
-
Method Details
-
getExpression
- Overrides:
getExpression
in classOWLProfileViolation
- Returns:
- the expression object of this violation
-
accept
Description copied from class:OWLProfileViolation
Visitor accept method.- Specified by:
accept
in classOWLProfileViolation
- Parameters:
visitor
- visitor
-
accept
- Specified by:
accept
in classOWLProfileViolation
- Type Parameters:
O
- visitor return type- Parameters:
visitor
- visitor- Returns:
- visitor return value
-
toString
-