public class BuilderSWRLLiteralArgument extends BaseBuilder<SWRLLiteralArgument,BuilderSWRLLiteralArgument>
Constructor and Description |
---|
BuilderSWRLLiteralArgument(OWLDataFactory df) |
BuilderSWRLLiteralArgument(SWRLLiteralArgument expected,
OWLDataFactory df)
Builder initialized from an existing object.
|
Modifier and Type | Method and Description |
---|---|
SWRLLiteralArgument |
buildObject() |
OWLLiteral |
getLiteral() |
BuilderSWRLLiteralArgument |
with(OWLLiteral arg) |
applyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
public BuilderSWRLLiteralArgument(SWRLLiteralArgument expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderSWRLLiteralArgument(OWLDataFactory df)
df
- data factorypublic BuilderSWRLLiteralArgument with(OWLLiteral arg)
arg
- literalpublic SWRLLiteralArgument buildObject()
buildObject
in interface Builder<SWRLLiteralArgument>
buildObject
in class BaseBuilder<SWRLLiteralArgument,BuilderSWRLLiteralArgument>
public OWLLiteral getLiteral()
Copyright © 2020 The University of Manchester. All rights reserved.