Interface ITupleValueBuilder

    • Method Detail

      • set

        @Deprecated
        default ITupleValueBuilder set​(int index,
                                       Class<?> memberClass,
                                       IValueCreator creator)
        Deprecated.
        Sets the value at the given index of the tuple.
        Parameters:
        index - Index in the tuple, starting at 0.
        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

        ITupleValueBuilder set​(int index,
                               IValueCreator creator)
        Sets the value at the given index of the tuple.
        Parameters:
        index - Index in the tuple, starting at 0.
        creator - Creator for the value of the tuple element.
        Returns:
        This value builder for chaining methods calls.
      • set

        default ITupleValueBuilder set​(int index,
                                       Object value)
        Sets the value at the given index of the tuple.
        Parameters:
        index - Index in the tuple, starting at 0.
        value - Value of the tuple element.
        Returns:
        This value builder for chaining methods calls.
      • value

        default ITupleValueBuilder value​(Object value)
        Description copied from interface: IValueConfigurator
        Applies 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:
        value in interface ISubTypeValueBuilder<List<?>,​ITupleValueBuilder>
        Specified by:
        value in interface IValueBuilder<List<?>>
        Specified by:
        value in interface IValueConfigurator
        Parameters:
        value - Sets the value created by this builder.
        Returns:
        getThis() builder instance for chaining method calls.