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