public class BuilderLiteral extends BaseBuilder<OWLLiteral,BuilderLiteral>
Constructor and Description |
---|
BuilderLiteral(OWLDataFactory df) |
BuilderLiteral(OWLLiteral expected,
OWLDataFactory df)
Builder initialized from an existing object.
|
Modifier and Type | Method and Description |
---|---|
OWLLiteral |
buildObject() |
BuilderLiteral |
withDatatype(IRI arg) |
BuilderLiteral |
withDatatype(OWL2Datatype arg) |
BuilderLiteral |
withDatatype(OWLDatatype arg) |
BuilderLiteral |
withLanguage(String arg) |
BuilderLiteral |
withLiteralForm(String arg) |
BuilderLiteral |
withValue(boolean arg) |
BuilderLiteral |
withValue(double arg) |
BuilderLiteral |
withValue(float arg) |
BuilderLiteral |
withValue(int arg) |
applyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
public BuilderLiteral(OWLLiteral expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderLiteral(OWLDataFactory df)
df
- data factorypublic BuilderLiteral withValue(int arg)
arg
- int valuepublic BuilderLiteral withDatatype(OWL2Datatype arg)
arg
- datatypepublic BuilderLiteral withDatatype(OWLDatatype arg)
arg
- datatypepublic BuilderLiteral withDatatype(IRI arg)
arg
- datatypepublic BuilderLiteral withValue(boolean arg)
arg
- boolean valuepublic BuilderLiteral withValue(double arg)
arg
- double valuepublic BuilderLiteral withValue(float arg)
arg
- float valuepublic BuilderLiteral withLiteralForm(String arg)
arg
- literal formpublic BuilderLiteral withLanguage(String arg)
arg
- languagepublic OWLLiteral buildObject()
buildObject
in interface Builder<OWLLiteral>
buildObject
in class BaseBuilder<OWLLiteral,BuilderLiteral>
Copyright © 2020 The University of Manchester. All rights reserved.