public class BuilderSWRLDataPropertyAtom extends BaseDataPropertyBuilder<SWRLDataPropertyAtom,BuilderSWRLDataPropertyAtom>
Constructor and Description |
---|
BuilderSWRLDataPropertyAtom(OWLDataFactory df) |
BuilderSWRLDataPropertyAtom(SWRLDataPropertyAtom expected,
OWLDataFactory df)
builder initialized from an existing object
|
Modifier and Type | Method and Description |
---|---|
SWRLDataPropertyAtom |
buildObject() |
SWRLIArgument |
getArg0() |
SWRLDArgument |
getArg1() |
BuilderSWRLDataPropertyAtom |
with(SWRLDArgument arg) |
BuilderSWRLDataPropertyAtom |
with(SWRLIArgument arg) |
getProperty, withProperty
applyChanges, withAnnotation, withAnnotations
public BuilderSWRLDataPropertyAtom(@Nonnull SWRLDataPropertyAtom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderSWRLDataPropertyAtom(OWLDataFactory df)
df
- data factory@Nonnull public BuilderSWRLDataPropertyAtom with(SWRLDArgument arg)
arg
- data argument@Nonnull public BuilderSWRLDataPropertyAtom with(SWRLIArgument arg)
arg
- individualpublic SWRLDataPropertyAtom buildObject()
buildObject
in interface Builder<SWRLDataPropertyAtom>
buildObject
in class BaseBuilder<SWRLDataPropertyAtom,BuilderSWRLDataPropertyAtom>
@Nonnull public SWRLDArgument getArg1()
@Nonnull public SWRLIArgument getArg0()
Copyright © 2020 The University of Manchester. All rights reserved.