Interface CanonicalMap.CanonicalMapBuilder

    • Method Detail

      • withPut

        default CanonicalMap.CanonicalMapBuilder withPut​(java.lang.Object aPath,
                                                         java.lang.String aValue)
        Returns the value of the property referred to by the path.
        Parameters:
        aPath - The path addressing the value.
        aValue - The value to be put.
        Returns:
        The implementing instance as of the builder pattern.
      • withPut

        default CanonicalMap.CanonicalMapBuilder withPut​(java.lang.Object[] aPathElements,
                                                         java.lang.String aValue)
                                                  throws java.lang.NumberFormatException
        Returns the Boolean value of the property referred to by the path elements representing path. As property paths and values are of type String, the String value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The value to be put.
        Returns:
        The Boolean representation of the path's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • withPut

        default CanonicalMap.CanonicalMapBuilder withPut​(java.lang.String[] aPathElements,
                                                         java.lang.String aValue)
                                                  throws java.lang.NumberFormatException
        Returns the Boolean value of the property referred to by the path elements representing path. As property paths and values are of type String, the String value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The value to be put.
        Returns:
        The Boolean representation of the path's String value.
        Throws:
        java.lang.NumberFormatException - thrown in case conversion fails.
      • withPutBoolean

        default CanonicalMap.CanonicalMapBuilder withPutBoolean​(java.lang.Object[] aPathElements,
                                                                java.lang.Boolean aValue)
        Sets the Boolean value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Boolean value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The value Boolean to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutBoolean

        default CanonicalMap.CanonicalMapBuilder withPutBoolean​(java.lang.String[] aPathElements,
                                                                java.lang.Boolean aValue)
        Sets the Boolean value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Boolean value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The Boolean value to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutByte

        default CanonicalMap.CanonicalMapBuilder withPutByte​(java.lang.Object[] aPathElements,
                                                             java.lang.Byte aValue)
        Sets the Byte value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Byte value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The value Byte to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutByte

        default CanonicalMap.CanonicalMapBuilder withPutByte​(java.lang.String[] aPathElements,
                                                             java.lang.Byte aValue)
        Sets the Byte value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Byte value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The Byte value to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutDouble

        default CanonicalMap.CanonicalMapBuilder withPutDouble​(java.lang.Object[] aPathElements,
                                                               java.lang.Double aValue)
        Sets the Double value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Double value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The value Double to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutDouble

        default CanonicalMap.CanonicalMapBuilder withPutDouble​(java.lang.String[] aPathElements,
                                                               java.lang.Double aValue)
        Sets the Double value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Double value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The Double value to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutFloat

        default CanonicalMap.CanonicalMapBuilder withPutFloat​(java.lang.Object[] aPathElements,
                                                              java.lang.Float aValue)
        Sets the Float value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Float value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The value Float to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutFloat

        default CanonicalMap.CanonicalMapBuilder withPutFloat​(java.lang.String[] aPathElements,
                                                              java.lang.Float aValue)
        Sets the Float value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Float value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The Float value to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutInteger

        default CanonicalMap.CanonicalMapBuilder withPutInteger​(java.lang.Object[] aPathElements,
                                                                java.lang.Integer aValue)
        Sets the Integer value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Integer value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The value Integer to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutInteger

        default CanonicalMap.CanonicalMapBuilder withPutInteger​(java.lang.String[] aPathElements,
                                                                java.lang.Integer aValue)
        Sets the Integer value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Integer value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The Integer value to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutLong

        default CanonicalMap.CanonicalMapBuilder withPutLong​(java.lang.Object[] aPathElements,
                                                             java.lang.Long aValue)
        Sets the Long value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Long value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The value Long to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutLong

        default CanonicalMap.CanonicalMapBuilder withPutLong​(java.lang.String[] aPathElements,
                                                             java.lang.Long aValue)
        Sets the Long value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Long value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The Long value to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutShort

        default CanonicalMap.CanonicalMapBuilder withPutShort​(java.lang.Object[] aPathElements,
                                                              java.lang.Short aValue)
        Sets the Short value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Short value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The value Short to be associated with the path.
        Returns:
        This instance for further builder method calls.
      • withPutShort

        default CanonicalMap.CanonicalMapBuilder withPutShort​(java.lang.String[] aPathElements,
                                                              java.lang.Short aValue)
        Sets the Short value for the property referred to by the path elements representing the addressed path. As property keys and values are of type String, the Short value is converted accordingly.
        Parameters:
        aPathElements - The path elements of the path addressing the value.
        aValue - The Short value to be associated with the path.
        Returns:
        This instance for further builder method calls.