Interface IFloatValueDescriptorBuilder
-
- All Superinterfaces:
org.apache.commons.lang3.builder.Builder<IFloatValueDescriptor>
,IValueDescriptorBuilder<Number,IFloatValueBuilder,IFloatValueDescriptor>
public interface IFloatValueDescriptorBuilder extends IValueDescriptorBuilder<Number,IFloatValueBuilder,IFloatValueDescriptor>
AIValueDescriptorBuilder
for creating a 64-bit floating point value descriptor.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IFloatValueDescriptorBuilder
defaultValue(double defaultValue)
Sets the default floating point value used when no value is provided.default IFloatValueDescriptorBuilder
defaultValue(Number defaultValue)
IFloatValueDescriptorBuilder
description(String description)
IFloatValueDescriptorBuilder
range(com.google.common.collect.Range<Double> range)
-
-
-
Method Detail
-
defaultValue
IFloatValueDescriptorBuilder defaultValue(double defaultValue)
Sets the default floating point value used when no value is provided. The default value is0
when no explicit default is provided.- Parameters:
defaultValue
- Value to use as the default when creating a floating point value.- Returns:
- This descriptor builder for chaining method calls.
-
defaultValue
default IFloatValueDescriptorBuilder defaultValue(Number defaultValue)
- Parameters:
defaultValue
- Value to use as the default when creating a floating point value.- Returns:
- This descriptor builder for chaining method calls.
-
description
IFloatValueDescriptorBuilder description(String description)
- Specified by:
description
in interfaceIValueDescriptorBuilder<Number,IFloatValueBuilder,IFloatValueDescriptor>
- Parameters:
description
- The description for the value. May be either a localized message or an I18N key.- Returns:
- This builder instance for chaining method calls.
-
range
IFloatValueDescriptorBuilder range(com.google.common.collect.Range<Double> range)
- Parameters:
range
- Range of floating point value allowed when creating a value.- Returns:
- This descriptor builder for chaining method calls.
-
-