public class BuilderSWRLClassAtom extends BaseBuilder<SWRLClassAtom,BuilderSWRLClassAtom>
Constructor and Description |
---|
BuilderSWRLClassAtom(OWLDataFactory df) |
BuilderSWRLClassAtom(SWRLClassAtom expected,
OWLDataFactory df)
builder initialized from an existing object
|
Modifier and Type | Method and Description |
---|---|
SWRLClassAtom |
buildObject() |
SWRLIArgument |
getArgument() |
OWLClassExpression |
getPredicate() |
BuilderSWRLClassAtom |
with(OWLClassExpression arg) |
BuilderSWRLClassAtom |
with(SWRLIArgument arg) |
applyChanges, withAnnotation, withAnnotations
public BuilderSWRLClassAtom(@Nonnull SWRLClassAtom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderSWRLClassAtom(OWLDataFactory df)
df
- data factory@Nonnull public BuilderSWRLClassAtom with(SWRLIArgument arg)
arg
- argument@Nonnull public BuilderSWRLClassAtom with(OWLClassExpression arg)
arg
- classpublic SWRLClassAtom buildObject()
buildObject
in interface Builder<SWRLClassAtom>
buildObject
in class BaseBuilder<SWRLClassAtom,BuilderSWRLClassAtom>
@Nonnull public OWLClassExpression getPredicate()
@Nonnull public SWRLIArgument getArgument()
Copyright © 2020 The University of Manchester. All rights reserved.