Class BuilderDataHasValue
java.lang.Object
org.semanticweb.owlapitools.builders.BaseBuilder<T,B>
org.semanticweb.owlapitools.builders.BaseDataPropertyBuilder<OWLDataHasValue,BuilderDataHasValue>
org.semanticweb.owlapitools.builders.BuilderDataHasValue
- All Implemented Interfaces:
HasProperty<OWLDataPropertyExpression>
,HasRange<OWLLiteral>
,Builder<OWLDataHasValue>
,SettableProperty<OWLDataPropertyExpression,
,BuilderDataHasValue> SettableRange<OWLLiteral,
BuilderDataHasValue>
public class BuilderDataHasValue
extends BaseDataPropertyBuilder<OWLDataHasValue,BuilderDataHasValue>
implements SettableRange<OWLLiteral,BuilderDataHasValue>, SettableProperty<OWLDataPropertyExpression,BuilderDataHasValue>
Builder class for OWLDataHasValue.
-
Constructor Summary
ConstructorsConstructorDescriptionBuilderDataHasValue
(OWLDataHasValue expected, OWLDataFactory df) Builder initialized from an existing object. -
Method Summary
Modifier and TypeMethodDescriptiongetRange()
Gets the range.withLiteral
(OWLLiteral arg) withRange
(OWLLiteral range) Methods inherited from class org.semanticweb.owlapitools.builders.BaseDataPropertyBuilder
getProperty, withProperty
Methods inherited from class org.semanticweb.owlapitools.builders.BaseBuilder
applyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.semanticweb.owlapi.model.HasProperty
getProperty
Methods inherited from interface org.semanticweb.owlapitools.builders.SettableProperty
withProperty
-
Constructor Details
-
BuilderDataHasValue
- Parameters:
df
- data factory
-
BuilderDataHasValue
Builder initialized from an existing object.- Parameters:
expected
- the existing objectdf
- data factory
-
-
Method Details
-
withLiteral
- Parameters:
arg
- literal- Returns:
- builder
-
buildObject
- Specified by:
buildObject
in interfaceBuilder<OWLDataHasValue>
- Specified by:
buildObject
in classBaseBuilder<OWLDataHasValue,
BuilderDataHasValue> - Returns:
- freshly built object
-
getLiteral
- Returns:
- literal
-
getRange
Description copied from interface:HasRange
Gets the range.- Specified by:
getRange
in interfaceHasRange<OWLLiteral>
- Returns:
- The range.
-
withRange
- Specified by:
withRange
in interfaceSettableRange<OWLLiteral,
BuilderDataHasValue> - Parameters:
range
- range to set- Returns:
- builder
-