public class BuilderClassAssertion extends BaseBuilder<OWLClassAssertionAxiom,BuilderClassAssertion>
Constructor and Description |
---|
BuilderClassAssertion(OWLClassAssertionAxiom expected,
OWLDataFactory df)
builder initialized from an existing object
|
BuilderClassAssertion(OWLDataFactory df) |
Modifier and Type | Method and Description |
---|---|
OWLClassAssertionAxiom |
buildObject() |
OWLClassExpression |
getClassExpression() |
OWLIndividual |
getIndividual() |
BuilderClassAssertion |
withClass(OWLClassExpression arg) |
BuilderClassAssertion |
withIndividual(OWLIndividual arg) |
applyChanges, withAnnotation, withAnnotations
@Inject public BuilderClassAssertion(OWLDataFactory df)
df
- data factorypublic BuilderClassAssertion(@Nonnull OWLClassAssertionAxiom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Nonnull public BuilderClassAssertion withIndividual(OWLIndividual arg)
arg
- individual@Nonnull public BuilderClassAssertion withClass(OWLClassExpression arg)
arg
- argumentpublic OWLClassAssertionAxiom buildObject()
buildObject
in interface Builder<OWLClassAssertionAxiom>
buildObject
in class BaseBuilder<OWLClassAssertionAxiom,BuilderClassAssertion>
@Nonnull public OWLClassExpression getClassExpression()
@Nonnull public OWLIndividual getIndividual()
Copyright © 2020 The University of Manchester. All rights reserved.