Interface IIntegerValueDescriptorBuilder
-
- All Superinterfaces:
org.apache.commons.lang3.builder.Builder<IIntegerValueDescriptor>
,IValueDescriptorBuilder<Number,IIntegerValueBuilder,IIntegerValueDescriptor>
public interface IIntegerValueDescriptorBuilder extends IValueDescriptorBuilder<Number,IIntegerValueBuilder,IIntegerValueDescriptor>
AIValueDescriptorBuilder
for creating a 64-bit integer 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 IIntegerValueDescriptorBuilder
defaultValue(long defaultValue)
Sets the default integer used when no value is provided.default IIntegerValueDescriptorBuilder
defaultValue(Number defaultValue)
IIntegerValueDescriptorBuilder
description(String description)
IIntegerValueDescriptorBuilder
range(com.google.common.collect.Range<Long> range)
-
-
-
Method Detail
-
defaultValue
IIntegerValueDescriptorBuilder defaultValue(long defaultValue)
Sets the default integer used when no value is provided. The default value is the0
when no explicit default is provided.- Parameters:
defaultValue
- Value to use as the default when creating an integer value.- Returns:
- This descriptor builder for chaining method calls.
-
defaultValue
default IIntegerValueDescriptorBuilder defaultValue(Number defaultValue)
- Parameters:
defaultValue
- Value to use as the default when creating an integer value.- Returns:
- This descriptor builder for chaining method calls.
-
description
IIntegerValueDescriptorBuilder description(String description)
- Specified by:
description
in interfaceIValueDescriptorBuilder<Number,IIntegerValueBuilder,IIntegerValueDescriptor>
- 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
IIntegerValueDescriptorBuilder range(com.google.common.collect.Range<Long> range)
- Parameters:
range
- Range of integer value allowed when creating a value.- Returns:
- This descriptor builder for chaining method calls.
-
-