public class BuilderObjectPropertyAssertion extends BaseObjectPropertyBuilder<OWLObjectPropertyAssertionAxiom,BuilderObjectPropertyAssertion>
Constructor and Description |
---|
BuilderObjectPropertyAssertion(OWLDataFactory df) |
BuilderObjectPropertyAssertion(OWLObjectPropertyAssertionAxiom expected,
OWLDataFactory df)
Builder initialized from an existing object.
|
Modifier and Type | Method and Description |
---|---|
OWLObjectPropertyAssertionAxiom |
buildObject() |
OWLIndividual |
getSubject() |
OWLIndividual |
getValue() |
BuilderObjectPropertyAssertion |
withSubject(OWLIndividual arg) |
BuilderObjectPropertyAssertion |
withValue(OWLIndividual arg) |
getProperty, withProperty
applyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
public BuilderObjectPropertyAssertion(OWLObjectPropertyAssertionAxiom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderObjectPropertyAssertion(OWLDataFactory df)
df
- data factorypublic BuilderObjectPropertyAssertion withSubject(OWLIndividual arg)
arg
- subjectpublic BuilderObjectPropertyAssertion withValue(OWLIndividual arg)
arg
- valuepublic OWLObjectPropertyAssertionAxiom buildObject()
buildObject
in interface Builder<OWLObjectPropertyAssertionAxiom>
buildObject
in class BaseBuilder<OWLObjectPropertyAssertionAxiom,BuilderObjectPropertyAssertion>
@Nullable public OWLIndividual getValue()
@Nullable public OWLIndividual getSubject()
Copyright © 2020 The University of Manchester. All rights reserved.