Interface ParameterStorage

    • Method Detail

      • addBoolean

        default ParameterStorage addBoolean​(String name,
                                            boolean value)
        Sets the parameter with the given name as a boolean value and returns this
      • addDecimal

        default ParameterStorage addDecimal​(String name,
                                            BigDecimal... values)
        Sets the parameter with the given name as a decimal or a list of decimals and returns this
      • addEnum

        default ParameterStorage addEnum​(String name,
                                         Enum<?>... values)
        Sets the parameter with the given name as an enum or a list of enums and returns this
      • addInteger

        default ParameterStorage addInteger​(String name,
                                            Integer... values)
        Sets the parameter with the given name as a integer or a list of integer and returns this
      • addLong

        default ParameterStorage addLong​(String name,
                                         Long... values)
        Sets the parameter with the given name as a long or a list of long and returns this
      • addString

        default ParameterStorage addString​(String name,
                                           String... values)
        Sets the parameter with the given name as a string or a list of strings and returns this
      • getBoolean

        boolean getBoolean​(String name)
        Returns a parameter as a boolean value
      • getDate

        Date getDate​(String name)
        Returns a parameter as date
      • getDecimal

        BigDecimal getDecimal​(String name)
        Returns a parameter as a decimal value, or null if the parameter is not set
      • getDecimalList

        List<BigDecimal> getDecimalList​(String name)
        Returns a parameter as a decimal list, or null if the parameter is not set
      • getEnum

        <T extends Enum<T>> T getEnum​(String name,
                                      Class<T> enumType)
        Returns a parameter as an enumerated value, with the given class, or null if the parameter is not set
      • getEnumList

        <T extends Enum<T>> List<T> getEnumList​(String name,
                                                Class<T> enumType)
        Returns a parameter as a list of enumerated values, with the given class, or null if the parameter is not set
      • getInteger

        Integer getInteger​(String name)
        Returns a parameter as a integer, or null if the parameter is not set
      • getIntegerList

        List<Integer> getIntegerList​(String name)
        Returns a parameter as a list of integers, or null if the parameter is not set
      • getLong

        Long getLong​(String name)
        Returns a parameter as a long, or null if the parameter is not set
      • getLongList

        List<Long> getLongList​(String name)
        Returns a parameter as a list of longs, or null if the parameter is not set
      • getNames

        Iterator<String> getNames()
        Returns the names of all parameters with values
      • getString

        String getString​(String name)
        Returns the parameter as a string, or null if the parameter is not set
      • getStringList

        List<String> getStringList​(String name)
        Returns the parameter as a list of strings, or null if the parameter is not set
      • isSet

        boolean isSet​(String name)
        Returns whether the given parameter is set
      • remove

        void remove​(String name)
        Removes the parameter with the given name
      • setBoolean

        void setBoolean​(String name,
                        boolean value)
        Sets the parameter with the given name as a boolean value
      • setDate

        void setDate​(String name,
                     Date value)
        Sets a parameter as date
      • setDecimal

        void setDecimal​(String name,
                        BigDecimal... values)
        Sets the parameter with the given name as a decimal or a list of decimals
      • setEnum

        void setEnum​(String name,
                     Enum<?>... values)
        Sets the parameter with the given name as an enum or a list of enums
      • setInteger

        void setInteger​(String name,
                        Integer... values)
        Sets the parameter with the given name as a integer or a list of integer
      • setLong

        void setLong​(String name,
                     Long... values)
        Sets the parameter with the given name as a long or a list of long
      • setString

        void setString​(String name,
                       String... values)
        Sets the parameter with the given name as a string or a list of strings