@Override public OWLInverseFunctionalObjectPropertyAxiom buildObject() { return df .getOWLInverseFunctionalObjectPropertyAxiom(verifyNotNull(getProperty()), annotations); } }
@Override public OWLInverseFunctionalObjectPropertyAxiom buildObject() { return df .getOWLInverseFunctionalObjectPropertyAxiom(verifyNotNull(getProperty()), annotations); } }
@Override public OWLInverseFunctionalObjectPropertyAxiom visit( OWLInverseFunctionalObjectPropertyAxiom ax) { return df.getOWLInverseFunctionalObjectPropertyAxiom(t(ax.getProperty()), a(ax)); }
public OWLAxiom parseInverseFunctionalPropertyAxiom() throws ParserException { String kw = consumeToken(); if (!kw.equalsIgnoreCase(INVERSE_FUNCTIONAL)) { throw createException(INVERSE_FUNCTIONAL); } OWLObjectPropertyExpression prop = parseObjectPropertyExpression(); return getDataFactory().getOWLInverseFunctionalObjectPropertyAxiom(prop); }
@Override public OWLInverseFunctionalObjectPropertyAxiom visit( OWLInverseFunctionalObjectPropertyAxiom axiom) { return df.getOWLInverseFunctionalObjectPropertyAxiom(get(axiom.getProperty()), anns(axiom)); }
@Override public OWLInverseFunctionalObjectPropertyAxiom visit( OWLInverseFunctionalObjectPropertyAxiom ax) { return df.getOWLInverseFunctionalObjectPropertyAxiom(t(ax.getProperty()), a(ax)); }
@Override public OWLInverseFunctionalObjectPropertyAxiom visit( OWLInverseFunctionalObjectPropertyAxiom axiom) { return df.getOWLInverseFunctionalObjectPropertyAxiom(get(axiom.getProperty()), anns(axiom)); }
@Override public OWLInverseFunctionalObjectPropertyAxiom visit( OWLInverseFunctionalObjectPropertyAxiom axiom) { return df.getOWLInverseFunctionalObjectPropertyAxiom(get(axiom.getProperty()), anns(axiom)); }
@Override public Object visit(OWLInverseFunctionalObjectPropertyAxiom axiom) { return visitAxiom(axiom, () -> df.getOWLInverseFunctionalObjectPropertyAxiom(t(axiom.getProperty()), t(axiom .annotations()))); }
final public OWLPropertyAxiom InverseFunctionalObjectProperty() throws ParseException {OWLObjectPropertyExpression prop; Set<OWLAnnotation> axiomAnnos; jj_consume_token(INVERSEFUNCTIONALOBJECTPROPERTY); jj_consume_token(OPENPAR); axiomAnnos = AxiomAnnotationSet(); prop = ObjectPropertyExpression(); jj_consume_token(CLOSEPAR); return df.getOWLInverseFunctionalObjectPropertyAxiom(prop, axiomAnnos); }
final public OWLPropertyAxiom InverseFunctionalObjectProperty() throws ParseException { OWLObjectPropertyExpression prop; Set<OWLAnnotation> axiomAnnos; jj_consume_token(INVERSEFUNCTIONALOBJECTPROPERTY); jj_consume_token(OPENPAR); axiomAnnos = AxiomAnnotationSet(); prop = ObjectPropertyExpression(); jj_consume_token(CLOSEPAR); return dataFactory.getOWLInverseFunctionalObjectPropertyAxiom(prop, axiomAnnos); }
final public OWLPropertyAxiom InverseFunctionalObjectProperty() throws ParseException {OWLObjectPropertyExpression prop; Set<OWLAnnotation> axiomAnnos; jj_consume_token(INVERSEFUNCTIONALOBJECTPROPERTY); jj_consume_token(OPENPAR); axiomAnnos = AxiomAnnotationSet(); prop = ObjectPropertyExpression(); jj_consume_token(CLOSEPAR); return df.getOWLInverseFunctionalObjectPropertyAxiom(prop, axiomAnnos); }
@Override public Object visit(OWLInverseFunctionalObjectPropertyAxiom axiom) { return visitAxiom(axiom, () -> df.getOWLInverseFunctionalObjectPropertyAxiom(t(axiom.getProperty()), t(axiom .annotations()))); }
@Override public void handleTriple(IRI s, IRI p, IRI o) { if (isOpLax(s)) { OWLObjectPropertyExpression property = op(s); add(df.getOWLInverseFunctionalObjectPropertyAxiom(property, anns())); consume(s, p, o); } } }
final public OWLPropertyAxiom InverseFunctionalObjectProperty() throws ParseException {OWLObjectPropertyExpression prop; Set<OWLAnnotation> axiomAnnos; jj_consume_token(INVERSEFUNCTIONALOBJECTPROPERTY); jj_consume_token(OPENPAR); axiomAnnos = AxiomAnnotationSet(); prop = ObjectPropertyExpression(); jj_consume_token(CLOSEPAR); return df.getOWLInverseFunctionalObjectPropertyAxiom(prop, axiomAnnos); }
final public OWLPropertyAxiom InverseFunctionalObjectProperty() throws ParseException {OWLObjectPropertyExpression prop; Set<OWLAnnotation> axiomAnnos; jj_consume_token(INVERSEFUNCTIONALOBJECTPROPERTY); jj_consume_token(OPENPAR); axiomAnnos = AxiomAnnotationSet(); prop = ObjectPropertyExpression(); jj_consume_token(CLOSEPAR); return df.getOWLInverseFunctionalObjectPropertyAxiom(prop, axiomAnnos); }
private OWLAxiom parseInverseFunctionalPropertyAxiom() { String kw = consumeToken(); if (!INVERSE_FUNCTIONAL.matches(kw)) { throw new ExceptionBuilder().withKeyword(INVERSE_FUNCTIONAL).build(); } return df.getOWLInverseFunctionalObjectPropertyAxiom(parseObjectPropertyExpression(false)); }
private OWLAxiom parseInverseFunctionalPropertyAxiom() { String kw = consumeToken(); if (!INVERSE_FUNCTIONAL.matches(kw)) { throw new ExceptionBuilder().withKeyword(INVERSE_FUNCTIONAL).build(); } return df.getOWLInverseFunctionalObjectPropertyAxiom(parseObjectPropertyExpression(false)); }
private void setupSetters() { addSetter(functionalCB, () -> getOWLDataFactory().getOWLFunctionalObjectPropertyAxiom(getProperty())); addSetter(inverseFunctionalCB, () -> getOWLDataFactory().getOWLInverseFunctionalObjectPropertyAxiom(getProperty())); addSetter(transitiveCB, () -> getOWLDataFactory().getOWLTransitiveObjectPropertyAxiom(getProperty())); addSetter(symmetricCB, () -> getOWLDataFactory().getOWLSymmetricObjectPropertyAxiom(getProperty())); addSetter(aSymmetricCB, () -> getOWLDataFactory().getOWLAsymmetricObjectPropertyAxiom(getProperty())); addSetter(reflexiveCB, () -> getOWLDataFactory().getOWLReflexiveObjectPropertyAxiom(getProperty())); addSetter(irreflexiveCB, () -> getOWLDataFactory().getOWLIrreflexiveObjectPropertyAxiom(getProperty())); }
private void setupSetters() { addSetter(functionalCB, () -> getOWLDataFactory().getOWLFunctionalObjectPropertyAxiom(getProperty())); addSetter(inverseFunctionalCB, () -> getOWLDataFactory().getOWLInverseFunctionalObjectPropertyAxiom(getProperty())); addSetter(transitiveCB, () -> getOWLDataFactory().getOWLTransitiveObjectPropertyAxiom(getProperty())); addSetter(symmetricCB, () -> getOWLDataFactory().getOWLSymmetricObjectPropertyAxiom(getProperty())); addSetter(aSymmetricCB, () -> getOWLDataFactory().getOWLAsymmetricObjectPropertyAxiom(getProperty())); addSetter(reflexiveCB, () -> getOWLDataFactory().getOWLReflexiveObjectPropertyAxiom(getProperty())); addSetter(irreflexiveCB, () -> getOWLDataFactory().getOWLIrreflexiveObjectPropertyAxiom(getProperty())); }