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, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
public BuilderSWRLClassAtom(SWRLClassAtom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderSWRLClassAtom(OWLDataFactory df)
df
- data factorypublic BuilderSWRLClassAtom with(SWRLIArgument arg)
arg
- argumentpublic BuilderSWRLClassAtom with(OWLClassExpression arg)
arg
- classpublic SWRLClassAtom buildObject()
buildObject
in interface Builder<SWRLClassAtom>
buildObject
in class BaseBuilder<SWRLClassAtom,BuilderSWRLClassAtom>
public OWLClassExpression getPredicate()
public SWRLIArgument getArgument()
Copyright © 2020 The University of Manchester. All rights reserved.