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