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, withItems
applyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
public BuilderHasKey(OWLHasKeyAxiom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderHasKey(OWLDataFactory df)
df
- data factorypublic BuilderHasKey withClass(OWLClassExpression arg)
arg
- class expressionpublic OWLHasKeyAxiom buildObject()
buildObject
in interface Builder<OWLHasKeyAxiom>
buildObject
in class BaseBuilder<OWLHasKeyAxiom,BuilderHasKey>
public OWLClassExpression getClassExpression()
Copyright © 2020 The University of Manchester. All rights reserved.