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, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
@Inject public BuilderClassAssertion(OWLDataFactory df)
df
- data factorypublic BuilderClassAssertion(OWLClassAssertionAxiom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factorypublic BuilderClassAssertion withIndividual(OWLIndividual arg)
arg
- individualpublic BuilderClassAssertion withClass(OWLClassExpression arg)
arg
- argumentpublic OWLClassAssertionAxiom buildObject()
buildObject
in interface Builder<OWLClassAssertionAxiom>
buildObject
in class BaseBuilder<OWLClassAssertionAxiom,BuilderClassAssertion>
public OWLClassExpression getClassExpression()
public OWLIndividual getIndividual()
Copyright © 2020 The University of Manchester. All rights reserved.