public class InvalidReferenceViolation extends Object
TODO: we may want to make warnings if a class is slated for deprecation in the future: see https://github.com/information-artifact-ontology/ontology-metadata/issues/22
Modifier and Type | Class and Description |
---|---|
static class |
InvalidReferenceViolation.Category
A reference may be invalid for different reasons
|
Modifier and Type | Method and Description |
---|---|
static InvalidReferenceViolation |
create(org.semanticweb.owlapi.model.OWLAxiom axiom,
org.semanticweb.owlapi.model.OWLEntity referencedObject,
InvalidReferenceViolation.Category category) |
org.semanticweb.owlapi.model.OWLAxiom |
getAxiom() |
InvalidReferenceViolation.Category |
getCategory() |
org.semanticweb.owlapi.model.OWLEntity |
getReferencedObject() |
String |
toString() |
public static InvalidReferenceViolation create(org.semanticweb.owlapi.model.OWLAxiom axiom, org.semanticweb.owlapi.model.OWLEntity referencedObject, InvalidReferenceViolation.Category category)
axiom
- the OWLAxiom containing invalid referencereferencedObject
- the OWLEntity that is dangling or deprecatedcategory
- the Category of violation (deprecated or dangling)public org.semanticweb.owlapi.model.OWLAxiom getAxiom()
public org.semanticweb.owlapi.model.OWLEntity getReferencedObject()
public InvalidReferenceViolation.Category getCategory()
Copyright © 2015–2020. All rights reserved.