public class UseOfUndeclaredDatatype extends OWLProfileViolation implements UndeclaredEntityViolation
Constructor and Description |
---|
UseOfUndeclaredDatatype(OWLOntology ontology,
OWLAxiom axiom,
OWLDatatype datatype) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLProfileViolationVisitor visitor)
visitor accept method
|
<O> O |
accept(OWLProfileViolationVisitorEx<O> visitor) |
OWLEntity |
getEntity() |
OWLDatatype |
getExpression() |
List<OWLOntologyChange> |
repair() |
String |
toString() |
getAxiom, getOntology, getOntologyID
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOntology
public UseOfUndeclaredDatatype(@Nonnull OWLOntology ontology, @Nonnull OWLAxiom axiom, @Nonnull OWLDatatype datatype)
ontology
- ontologyaxiom
- axiomdatatype
- datatypepublic OWLEntity getEntity()
getEntity
in interface UndeclaredEntityViolation
public OWLDatatype getExpression()
getExpression
in class OWLProfileViolation
public void accept(@Nonnull OWLProfileViolationVisitor visitor)
OWLProfileViolation
accept
in class OWLProfileViolation
visitor
- visitorpublic <O> O accept(OWLProfileViolationVisitorEx<O> visitor)
accept
in class OWLProfileViolation
O
- visitor return typevisitor
- visitorpublic List<OWLOntologyChange> repair()
repair
in class OWLProfileViolation
Copyright © 2020 The University of Manchester. All rights reserved.