Interface ITupleValueBuilder
- 
- All Superinterfaces:
 org.apache.commons.lang3.builder.Builder<List<?>>,IValueBuilder<List<?>>
public interface ITupleValueBuilder extends IValueBuilder<List<?>>
AIValueBuilderfor creating a tuple value.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <T> ITupleValueBuilderset(int index, Class<? extends T> memberClass, IValueCreator<T> creator)Sets the value at the given index of the tuple.default <T> ITupleValueBuilderset(int index, T value)Sets the value at the given index of the tuple.default ITupleValueBuildervalue(List<?> value)Applies the given value to this builder. 
 - 
 
- 
- 
Method Detail
- 
set
<T> ITupleValueBuilder set(int index, Class<? extends T> memberClass, IValueCreator<T> creator)
Sets the value at the given index of the tuple.- Type Parameters:
 T- Type of the tuple element value.- Parameters:
 index- Index in the tuple, starting at0.memberClass- Class of the tuple element value.creator- Creator for the value of the tuple element.- Returns:
 - This value builder for chaining methods calls.
 
 
- 
set
default <T> ITupleValueBuilder set(int index, T value)
Sets the value at the given index of the tuple.- Type Parameters:
 T- Type of the tuple element value.- Parameters:
 index- Index in the tuple, starting at0.memberClass- Class of the tuple element value.value- Value of the tuple element.- Returns:
 - This value builder for chaining methods calls.
 
 
- 
value
default ITupleValueBuilder value(List<?> value)
Description copied from interface:IValueBuilderApplies the given value to this builder. Implementations are allowed to perform validity checks on the passed value and reject the given value or parts of it (in case of lists etc.) when they do not conform to the restrictions imposed by this builder.- Specified by:
 valuein interfaceIValueBuilder<List<?>>- Parameters:
 value- Sets the value created by this builder.- Returns:
 - This builder instance for chaining method calls.
 
 
 - 
 
 -