public class BuilderDataHasValue extends BaseDataPropertyBuilder<OWLDataHasValue,BuilderDataHasValue> implements SettableRange<OWLLiteral,BuilderDataHasValue>, SettableProperty<OWLDataPropertyExpression,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() |
OWLLiteral |
getRange()
Gets the range.
|
BuilderDataHasValue |
withLiteral(OWLLiteral arg) |
BuilderDataHasValue |
withRange(OWLLiteral range) |
getProperty, withPropertyapplyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotationsequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithPropertygetProperty@Inject public BuilderDataHasValue(OWLDataFactory df)
df - data factorypublic BuilderDataHasValue(OWLDataHasValue expected, OWLDataFactory df)
expected - the existing objectdf - data factorypublic BuilderDataHasValue withLiteral(OWLLiteral arg)
arg - literalpublic OWLDataHasValue buildObject()
buildObject in interface Builder<OWLDataHasValue>buildObject in class BaseBuilder<OWLDataHasValue,BuilderDataHasValue>public OWLLiteral getLiteral()
public OWLLiteral getRange()
HasRangegetRange in interface HasRange<OWLLiteral>public BuilderDataHasValue withRange(OWLLiteral range)
withRange in interface SettableRange<OWLLiteral,BuilderDataHasValue>range - range to setCopyright © 2020 The University of Manchester. All rights reserved.