org.obolibrary.obo2owl
Interface OboInOwlCardinalityTools.AnnotationCardinalityConfictHandler

Enclosing class:
OboInOwlCardinalityTools

public static interface OboInOwlCardinalityTools.AnnotationCardinalityConfictHandler

Functor for resolving conflicts for an annotation property and its cardinality constraint.


Method Summary
 List<org.semanticweb.owlapi.model.OWLAnnotation> handleConflict(org.semanticweb.owlapi.model.OWLAnnotationProperty property, Collection<org.semanticweb.owlapi.model.OWLAnnotation> ontologyAnnotations)
          Resolve a conflict for a given annotation property and ontology annotations.
 List<org.semanticweb.owlapi.model.OWLAnnotationAssertionAxiom> handleConflict(org.semanticweb.owlapi.model.OWLEntity entity, org.semanticweb.owlapi.model.OWLAnnotationProperty property, Collection<org.semanticweb.owlapi.model.OWLAnnotationAssertionAxiom> axioms)
          Resolve a conflict for a given annotation property and axioms.
 

Method Detail

handleConflict

List<org.semanticweb.owlapi.model.OWLAnnotationAssertionAxiom> handleConflict(org.semanticweb.owlapi.model.OWLEntity entity,
                                                                              org.semanticweb.owlapi.model.OWLAnnotationProperty property,
                                                                              Collection<org.semanticweb.owlapi.model.OWLAnnotationAssertionAxiom> axioms)
                                                                              throws OboInOwlCardinalityTools.AnnotationCardinalityException
Resolve a conflict for a given annotation property and axioms. The result is either a list of resolved axioms or an exception thrown by this method.

Parameters:
entity -
property -
axioms -
Returns:
list of resolved axioms
Throws:
OboInOwlCardinalityTools.AnnotationCardinalityException

handleConflict

List<org.semanticweb.owlapi.model.OWLAnnotation> handleConflict(org.semanticweb.owlapi.model.OWLAnnotationProperty property,
                                                                Collection<org.semanticweb.owlapi.model.OWLAnnotation> ontologyAnnotations)
                                                                throws OboInOwlCardinalityTools.AnnotationCardinalityException
Resolve a conflict for a given annotation property and ontology annotations. The result is either a list of resolved annotations or an exception thrown by this method.

Parameters:
property -
ontologyAnnotations -
Returns:
list of resolved annotations
Throws:
OboInOwlCardinalityTools.AnnotationCardinalityException


Copyright © 2010-2013. All Rights Reserved.