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 Modifier and Type Method Description <T> ITupleValueDescriptorBuilder
add(IValueDescriptor<T,? extends IValueBuilder<T>> descriptor)
Adds an element of a certain type to the tuple.<T> ITupleValueDescriptorBuilder
add(IValueDescriptorCreator<T> creator)
Adds an element of a certain type to the tuple.ITupleValueDescriptorBuilder
description(String description)
-
-
-
Method Detail
-
add
<T> ITupleValueDescriptorBuilder add(IValueDescriptorCreator<T> creator)
Adds an element of a certain type to the tuple.- Type Parameters:
T
- Type of the tuple element.- Parameters:
creator
- Creator for the value descriptor of the tuple element.- Returns:
- This value descriptor builder for chaining method calls.
-
add
<T> ITupleValueDescriptorBuilder add(IValueDescriptor<T,? extends IValueBuilder<T>> descriptor)
Adds an element of a certain type to the tuple.- Type Parameters:
T
- Type of the tuple element.- 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.
-
-