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, withAnnotation, withAnnotations
public BuilderObjectPropertyAssertion(@Nonnull OWLObjectPropertyAssertionAxiom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderObjectPropertyAssertion(OWLDataFactory df)
df
- data factory@Nonnull public BuilderObjectPropertyAssertion withSubject(OWLIndividual arg)
arg
- subject@Nonnull public BuilderObjectPropertyAssertion withValue(OWLIndividual arg)
arg
- valuepublic OWLObjectPropertyAssertionAxiom buildObject()
buildObject
in interface Builder<OWLObjectPropertyAssertionAxiom>
buildObject
in class BaseBuilder<OWLObjectPropertyAssertionAxiom,BuilderObjectPropertyAssertion>
@Nonnull public OWLIndividual getValue()
@Nonnull public OWLIndividual getSubject()
Copyright © 2020 The University of Manchester. All rights reserved.