public boolean isFunctional(OWLOntology ontology) { return ontology.getFunctionalDataPropertyAxioms(this) != null; }
@Override protected Set<OWLFunctionalDataPropertyAxiom> getAxiomsInOntology(OWLDataProperty subject, OWLOntology ontology) { return ontology.getFunctionalDataPropertyAxioms(subject); }
@Override @Deprecated public Set<OWLFunctionalDataPropertyAxiom> getFunctionalDataPropertyAxioms( OWLDataPropertyExpression owlDataPropertyExpression) { return withReadLock( () -> delegate.getFunctionalDataPropertyAxioms(owlDataPropertyExpression)); }
@Override @Deprecated public Set<OWLFunctionalDataPropertyAxiom> getFunctionalDataPropertyAxioms( OWLDataPropertyExpression owlDataPropertyExpression) { return withReadLock( () -> delegate.getFunctionalDataPropertyAxioms(owlDataPropertyExpression)); }
@Override @Deprecated public Set<OWLFunctionalDataPropertyAxiom> getFunctionalDataPropertyAxioms( OWLDataPropertyExpression owlDataPropertyExpression) { return withReadLock( () -> delegate.getFunctionalDataPropertyAxioms(owlDataPropertyExpression)); }
@Override @Deprecated public Set<OWLFunctionalDataPropertyAxiom> getFunctionalDataPropertyAxioms( OWLDataPropertyExpression owlDataPropertyExpression) { return withReadLock( () -> delegate.getFunctionalDataPropertyAxioms(owlDataPropertyExpression)); }
protected OWLDataProperty updateView(OWLDataProperty property) { prop = property; checkBox.setEnabled(property != null); checkBox.setSelected(false); if (property == null) { return null; } for (OWLOntology ont : getOWLModelManager().getActiveOntologies()) { if (!ont.getFunctionalDataPropertyAxioms(prop).isEmpty()) { checkBox.setSelected(true); break; } } return property; }
protected OWLDataProperty updateView(OWLDataProperty property) { prop = property; checkBox.setEnabled(property != null); checkBox.setSelected(false); if (property == null) { return null; } for (OWLOntology ont : getOWLModelManager().getActiveOntologies()) { if (!ont.getFunctionalDataPropertyAxioms(prop).isEmpty()) { checkBox.setSelected(true); break; } } return property; }
protected OWLDataProperty updateView(OWLDataProperty property) { prop = property; checkBox.setEnabled(property != null); checkBox.setSelected(false); if (property == null) { return null; } for (OWLOntology ont : getOWLModelManager().getActiveOntologies()) { if (!ont.getFunctionalDataPropertyAxioms(prop).isEmpty()) { checkBox.setSelected(true); break; } } return property; }
protected OWLDataProperty updateView(OWLDataProperty property) { prop = property; checkBox.setEnabled(property != null); checkBox.setSelected(false); if (property == null) { return null; } for (OWLOntology ont : getOWLModelManager().getActiveOntologies()) { if (!ont.getFunctionalDataPropertyAxioms(prop).isEmpty()) { checkBox.setSelected(true); break; } } return property; }
atn.setFunctional(ontology.getFunctionalDataPropertyAxioms(prop).size() != 0);
for (OWLOntology ontology : getOntologies()) { Map<String, Set<OWLAnnotation>> characteristics = new HashMap<String, Set<OWLAnnotation>>(); for (OWLAxiom ax : ontology.getFunctionalDataPropertyAxioms(property)) { if (isDisplayed(ax)) { characteristics.put(FUNCTIONAL.toString(), ax.getAnnotations());
for (OWLOntology ontology : getOntologies()) { SectionMap characteristics = new SectionMap(); for (OWLAxiom ax : ontology.getFunctionalDataPropertyAxioms(property)) { if (isDisplayed(ax)) { characteristics.add(FUNCTIONAL.toString(), ax);