Interface ITupleValueDescriptorBuilder
-
- All Superinterfaces:
org.apache.commons.lang3.builder.Builder<ITupleValueDescriptor>
,IValueDescriptorBuilder<List<?>,ITupleValueBuilder,ITupleValueDescriptor>
public interface ITupleValueDescriptorBuilder extends IValueDescriptorBuilder<List<?>,ITupleValueBuilder,ITupleValueDescriptor>
AIValueDescriptorBuilder
for creating a tuple value descriptor. UseIValueDescriptorFactory.tupleBuilder()
to create a builder.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ITupleValueDescriptorBuilder
add(IValueDescriptor<?,?> descriptor)
Adds an element of a certain type to the tuple.ITupleValueDescriptorBuilder
add(IValueDescriptorCreator creator)
Adds an element of a certain type to the tuple.ITupleValueDescriptorBuilder
description(String description)
-
-
-
Method Detail
-
add
ITupleValueDescriptorBuilder add(IValueDescriptorCreator creator)
Adds an element of a certain type to the tuple. Uses the default value of the configured descriptor.- Parameters:
creator
- Creator for the value descriptor of the tuple element.- Returns:
- This value descriptor builder for chaining method calls.
-
add
default ITupleValueDescriptorBuilder add(IValueDescriptor<?,?> descriptor)
Adds an element of a certain type to the tuple. Uses the default value of the given descriptor.- Parameters:
descriptor
- Value descriptor of the tuple element.- Returns:
- This value descriptor builder for chaining method calls.
-
description
ITupleValueDescriptorBuilder description(String description)
- Specified by:
description
in interfaceIValueDescriptorBuilder<List<?>,ITupleValueBuilder,ITupleValueDescriptor>
- 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.
-
-