@Override default OWLAnnotationValue annotationValue() { return getAnnotation().getValue(); } }
@Nonnull public List<OBOXRef> getXRefs(@Nonnull OWLEntity term) { return rootOntology.getAnnotationAssertionAxioms(term.getIRI()).stream() .filter(ax -> isXRefProperty(ax.getProperty())) .map(ax -> converter.toXRef(ax.getAnnotation(), ax.getAnnotations())) .collect(toList()); } }
@Override default OWLAnnotationValue annotationValue() { return getAnnotation().getValue(); } }
@Override default OWLAnnotationValue annotationValue() { return getAnnotation().getValue(); } }
public int compare(OWLFrameSectionRow<OWLAnnotationSubject, OWLAnnotationAssertionAxiom, OWLAnnotation> o1, OWLFrameSectionRow<OWLAnnotationSubject, OWLAnnotationAssertionAxiom, OWLAnnotation> o2) { OWLAnnotation annotation1 = o1.getAxiom().getAnnotation(); OWLAnnotation annotation2 = o2.getAxiom().getAnnotation(); return getAnnotationDifference(annotation1, annotation2); }
@Override public Collection<OWLObject> visit(OWLAnnotationAssertionAxiom l) { objects.add(l); l.getSubject().accept(this); l.getAnnotation().accept(this); return objects; }
@Override public Collection<OWLObject> visit(OWLAnnotationAssertionAxiom l) { objects.add(l); l.getSubject().accept(this); l.getAnnotation().accept(this); return objects; }
@Override public Set<C> visit(OWLAnnotationAssertionAxiom axiom) { if (value) { return CollectionFactory.createSet((C) axiom.getValue()); } return CollectionFactory.createSet((C) axiom.getAnnotation()); } }
@Override public Set<C> visit(OWLAnnotationAssertionAxiom axiom) { if (value) { return CollectionFactory.createSet((C) axiom.getValue()); } return CollectionFactory.createSet((C) axiom.getAnnotation()); } }
@Override public Set<C> visit(OWLAnnotationAssertionAxiom axiom) { if (value) { return CollectionFactory.createSet((C) axiom.getValue()); } return CollectionFactory.createSet((C) axiom.getAnnotation()); } }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { process(axiom); axiom.getSubject().accept(this); axiom.getAnnotation().accept(this); }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { process(axiom); axiom.getSubject().accept(this); axiom.getAnnotation().accept(this); }
protected OWLObjectEditor<OWLAnnotation> getObjectEditor() { OWLAnnotationEditor editor = new OWLAnnotationEditor(getOWLEditorKit()); editor.setEditedObject(getAxiom().getAnnotation()); return editor; }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { process(axiom); axiom.getSubject().accept(this); axiom.getAnnotation().accept(this); }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { setAxiomWriting(); axiom.getSubject().accept(this); write(" "); axiom.getAnnotation().accept(this); restore(); }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { process(axiom); if (axiom.getSubject().isIRI()) { // do not visit anonymous nodes from annotations axiom.getSubject().accept(this); } axiom.getAnnotation().accept(this); }
public void visit(@Nonnull OWLAnnotationAssertionAxiom axiom) { if(axiom.getSubject() instanceof IRI) { builder.append(renderingContext.getIriShortFormProvider().getShortForm((IRI) axiom.getSubject())); } else { axiom.getSubject().accept(this); } renderSpace(); axiom.getAnnotation().accept(this); }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { setAxiomWriting(); axiom.getSubject().accept(this); write(" "); axiom.getAnnotation().accept(this); restore(); }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { process(axiom); if (axiom.getSubject().isIRI()) { // do not visit anonymous nodes from annotations axiom.getSubject().accept(this); } axiom.getAnnotation().accept(this); }
@Override public Object visit(OWLAnnotationAssertionAxiom axiom) { return visitAxiom(axiom, () -> df.getOWLAnnotationAssertionAxiom(t(axiom.getSubject()), t(axiom .getAnnotation()), t(axiom.annotations()))); }