public class BuilderDataPropertyAssertion extends BaseDataPropertyBuilder<OWLDataPropertyAssertionAxiom,BuilderDataPropertyAssertion>
Constructor and Description |
---|
BuilderDataPropertyAssertion(OWLDataFactory df) |
BuilderDataPropertyAssertion(OWLDataPropertyAssertionAxiom expected,
OWLDataFactory df)
builder initialized from an existing object
|
Modifier and Type | Method and Description |
---|---|
OWLDataPropertyAssertionAxiom |
buildObject() |
OWLLiteral |
getLiteral() |
OWLIndividual |
getSubject() |
BuilderDataPropertyAssertion |
withSubject(OWLIndividual arg) |
BuilderDataPropertyAssertion |
withValue(OWLLiteral arg) |
getProperty, withProperty
applyChanges, withAnnotation, withAnnotations
@Inject public BuilderDataPropertyAssertion(OWLDataFactory df)
df
- data factorypublic BuilderDataPropertyAssertion(@Nonnull OWLDataPropertyAssertionAxiom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Nonnull public BuilderDataPropertyAssertion withValue(OWLLiteral arg)
arg
- value@Nonnull public BuilderDataPropertyAssertion withSubject(OWLIndividual arg)
arg
- individualpublic OWLDataPropertyAssertionAxiom buildObject()
buildObject
in interface Builder<OWLDataPropertyAssertionAxiom>
buildObject
in class BaseBuilder<OWLDataPropertyAssertionAxiom,BuilderDataPropertyAssertion>
@Nonnull public OWLIndividual getSubject()
@Nonnull public OWLLiteral getLiteral()
Copyright © 2020 The University of Manchester. All rights reserved.