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, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
@Inject public BuilderDataPropertyAssertion(OWLDataFactory df)
df
- data factorypublic BuilderDataPropertyAssertion(OWLDataPropertyAssertionAxiom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factorypublic BuilderDataPropertyAssertion withValue(OWLLiteral arg)
arg
- valuepublic BuilderDataPropertyAssertion withSubject(OWLIndividual arg)
arg
- individualpublic OWLDataPropertyAssertionAxiom buildObject()
buildObject
in interface Builder<OWLDataPropertyAssertionAxiom>
buildObject
in class BaseBuilder<OWLDataPropertyAssertionAxiom,BuilderDataPropertyAssertion>
public OWLIndividual getSubject()
public OWLLiteral getLiteral()
Copyright © 2020 The University of Manchester. All rights reserved.