public static OWLReflexiveObjectPropertyAxiom ReflexiveObjectProperty( OWLObjectPropertyExpression property, Collection<OWLAnnotation> a) { return DF.getOWLReflexiveObjectPropertyAxiom(property, a); }
public static OWLReflexiveObjectPropertyAxiom ReflexiveObjectProperty( OWLObjectPropertyExpression property, Collection<OWLAnnotation> a) { return DF.getOWLReflexiveObjectPropertyAxiom(property, a); }
@Override public OWLReflexiveObjectPropertyAxiom buildObject() { return df.getOWLReflexiveObjectPropertyAxiom(verifyNotNull(getProperty()), annotations); } }
@Override public OWLObject read(OWLInputStream in) throws IOException { OWLObjectPropertyExpression property = (OWLObjectPropertyExpression) in.read(); return in.getOWLDataFactory().getOWLReflexiveObjectPropertyAxiom(property); }
public OWLReflexiveObjectPropertyAxiom getAxiomWithoutAnnotations() { if(!isAnnotated()) { return this; } return getOWLDataFactory().getOWLReflexiveObjectPropertyAxiom(getProperty()); }
public void visit(OWLReflexiveObjectPropertyAxiom axiom) { axiom.getProperty().accept(this); OWLObjectPropertyExpression prop = (OWLObjectPropertyExpression) obj; obj = dataFactory.getOWLReflexiveObjectPropertyAxiom(prop, duplicateAxiomAnnotations(axiom)); }
@Override public void handleTriple(IRI s, IRI p, IRI o) { if (isOpLax(s)) { add(df.getOWLReflexiveObjectPropertyAxiom(op(s), anns())); consume(s, p, o); } } }
final public OWLPropertyAxiom ReflexiveObjectProperty() throws ParseException {OWLObjectPropertyExpression prop; Set<OWLAnnotation> axiomAnnos; jj_consume_token(REFLEXIVEOBJECTPROPERTY); jj_consume_token(OPENPAR); axiomAnnos = AxiomAnnotationSet(); prop = ObjectPropertyExpression(); jj_consume_token(CLOSEPAR); return df.getOWLReflexiveObjectPropertyAxiom(prop, axiomAnnos); }
final public OWLPropertyAxiom ReflexiveObjectProperty() throws ParseException {OWLObjectPropertyExpression prop; Set<OWLAnnotation> axiomAnnos; jj_consume_token(REFLEXIVEOBJECTPROPERTY); jj_consume_token(OPENPAR); axiomAnnos = AxiomAnnotationSet(); prop = ObjectPropertyExpression(); jj_consume_token(CLOSEPAR); return df.getOWLReflexiveObjectPropertyAxiom(prop, axiomAnnos); }
@Override public void handleTriple(IRI s, IRI p, IRI o) { if (isOpLax(s)) { add(df.getOWLReflexiveObjectPropertyAxiom(op(s), anns())); consume(s, p, o); } } }
@Override public void handleTriple(IRI s, IRI p, IRI o) { if (isOpLax(s)) { add(df.getOWLReflexiveObjectPropertyAxiom(op(s), anns())); consume(s, p, o); } } }
final public OWLPropertyAxiom ReflexiveObjectProperty() throws ParseException {OWLObjectPropertyExpression prop; Set<OWLAnnotation> axiomAnnos; jj_consume_token(REFLEXIVEOBJECTPROPERTY); jj_consume_token(OPENPAR); axiomAnnos = AxiomAnnotationSet(); prop = ObjectPropertyExpression(); jj_consume_token(CLOSEPAR); return df.getOWLReflexiveObjectPropertyAxiom(prop, axiomAnnos); }
final public OWLPropertyAxiom ReflexiveObjectProperty() throws ParseException {OWLObjectPropertyExpression prop; Set<OWLAnnotation> axiomAnnos; jj_consume_token(REFLEXIVEOBJECTPROPERTY); jj_consume_token(OPENPAR); axiomAnnos = AxiomAnnotationSet(); prop = ObjectPropertyExpression(); jj_consume_token(CLOSEPAR); return df.getOWLReflexiveObjectPropertyAxiom(prop, axiomAnnos); }
final public OWLPropertyAxiom ReflexiveObjectProperty() throws ParseException { OWLObjectPropertyExpression prop; Set<OWLAnnotation> axiomAnnos; jj_consume_token(REFLEXIVEOBJECTPROPERTY); jj_consume_token(OPENPAR); axiomAnnos = AxiomAnnotationSet(); prop = ObjectPropertyExpression(); jj_consume_token(CLOSEPAR); {if (true) return dataFactory.getOWLReflexiveObjectPropertyAxiom(prop, axiomAnnos);} throw new Error("Missing return statement in function"); }
private OWLAxiom parseReflexivePropertyAxiom() { String kw = consumeToken(); if (!REFLEXIVE.matches(kw)) { throw new ExceptionBuilder().withKeyword(REFLEXIVE).build(); } return df.getOWLReflexiveObjectPropertyAxiom(parseObjectPropertyExpression(false)); }
private OWLAxiom parseReflexivePropertyAxiom() { String kw = consumeToken(); if (!REFLEXIVE.matches(kw)) { throw new ExceptionBuilder().withKeyword(REFLEXIVE).build(); } OWLObjectPropertyExpression prop = parseObjectPropertyExpression(false); return dataFactory.getOWLReflexiveObjectPropertyAxiom(prop); }
private OWLAxiom parseReflexivePropertyAxiom() { String kw = consumeToken(); if (!REFLEXIVE.matches(kw)) { throw new ExceptionBuilder().withKeyword(REFLEXIVE).build(); } return df.getOWLReflexiveObjectPropertyAxiom(parseObjectPropertyExpression(false)); }
@Override public void handleTriple(IRI subject, IRI predicate, IRI object) throws UnloadableImportException { if (getConsumer().isObjectProperty(subject)) { addAxiom(getDataFactory().getOWLReflexiveObjectPropertyAxiom(translateObjectProperty(subject), getPendingAnnotations())); consumeTriple(subject, predicate, object); } } }
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())); }