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