Interface ITupleValueDescriptorBuilder
- All Superinterfaces:
org.apache.commons.lang3.builder.Builder<ITupleValueDescriptor>
,IValueDescriptorBuilder<List<?>,
ITupleValueBuilder, ITupleValueDescriptor>
public interface ITupleValueDescriptorBuilder
extends IValueDescriptorBuilder<List<?>,ITupleValueBuilder,ITupleValueDescriptor>
A
IValueDescriptorBuilder
for creating a tuple value descriptor. Use
IValueDescriptorFactory.tupleBuilder()
to create a builder.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionadd
(IValueDescriptor<T, ? extends IValueBuilder<T>> descriptor) Adds an element of a certain type to the tuple.add
(IValueDescriptorCreator<T> creator) Adds an element of a certain type to the tuple.description
(String description) Methods inherited from interface org.apache.commons.lang3.builder.Builder
build
-
Method Details
-
add
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
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
- 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.
-