public class BuilderHasKey extends BaseSetBuilder<OWLHasKeyAxiom,BuilderHasKey,OWLPropertyExpression>
Constructor and Description |
---|
BuilderHasKey(OWLDataFactory df) |
BuilderHasKey(OWLHasKeyAxiom expected,
OWLDataFactory df)
builder initialized from an existing object
|
Modifier and Type | Method and Description |
---|---|
OWLHasKeyAxiom |
buildObject() |
OWLClassExpression |
getClassExpression() |
BuilderHasKey |
withClass(OWLClassExpression arg) |
withItem, withItems, withItems
applyChanges, withAnnotation, withAnnotations
public BuilderHasKey(@Nonnull OWLHasKeyAxiom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderHasKey(OWLDataFactory df)
df
- data factory@Nonnull public BuilderHasKey withClass(OWLClassExpression arg)
arg
- class expressionpublic OWLHasKeyAxiom buildObject()
buildObject
in interface Builder<OWLHasKeyAxiom>
buildObject
in class BaseBuilder<OWLHasKeyAxiom,BuilderHasKey>
@Nonnull public OWLClassExpression getClassExpression()
Copyright © 2020 The University of Manchester. All rights reserved.