Interface IAnyValueDescriptorBuilder
-
- All Superinterfaces:
org.apache.commons.lang3.builder.Builder<IAnyValueDescriptor>
,IValueDescriptorBuilder<Object,IAnyValueBuilder,IAnyValueDescriptor>
public interface IAnyValueDescriptorBuilder extends IValueDescriptorBuilder<Object,IAnyValueBuilder,IAnyValueDescriptor>
AIValueDescriptorBuilder
for creating a value descriptor of any type.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IAnyValueDescriptorBuilder
defaultValue(Object defaultValue)
Sets the default value used when no value is provided.IAnyValueDescriptorBuilder
description(String description)
-
-
-
Method Detail
-
defaultValue
IAnyValueDescriptorBuilder defaultValue(@Nonnull Object defaultValue)
Sets the default value used when no value is provided. The default value isnull
when no explicit default is provided.- Parameters:
defaultValue
- Value to use as the default when creating a value of any type.- Returns:
- This descriptor builder for chaining method calls.
-
description
IAnyValueDescriptorBuilder description(String description)
- Specified by:
description
in interfaceIValueDescriptorBuilder<Object,IAnyValueBuilder,IAnyValueDescriptor>
- 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.
-
-