Class AbstractParameters

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clearValue​(ParameterDefinition parameterDefinition)  
      void clearValue​(java.lang.String name)  
      java.lang.String describe()  
      java.lang.String describe​(boolean details)  
      java.lang.Boolean getBoolean​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      boolean getBoolean​(ParameterDefinition parameterDefinition, boolean defaultValue)
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      java.lang.Boolean getBoolean​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      boolean getBoolean​(java.lang.String name, boolean defaultValue)
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      java.lang.Boolean[] getBooleanArray​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.Boolean[] getBooleanArray​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.List<java.lang.Boolean> getBooleanList​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.List<java.lang.Boolean> getBooleanList​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.Double getDouble​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      double getDouble​(ParameterDefinition parameterDefinition, double defaultValue)
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      java.lang.Double getDouble​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      double getDouble​(java.lang.String name, double defaultValue)
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      java.lang.Double[] getDoubleArray​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.Double[] getDoubleArray​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.List<java.lang.Double> getDoubleList​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.List<java.lang.Double> getDoubleList​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.Float getFloat​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      float getFloat​(ParameterDefinition parameterDefinition, float defaultValue)
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      java.lang.Float getFloat​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      float getFloat​(java.lang.String name, float defaultValue)
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      java.lang.Float[] getFloatArray​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.Float[] getFloatArray​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.List<java.lang.Float> getFloatList​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.List<java.lang.Float> getFloatList​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      Parameter getIdentifier()
      Returns the identifier Parameter.
      java.lang.Integer getInt​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      int getInt​(ParameterDefinition parameterDefinition, int defaultValue)
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      java.lang.Integer getInt​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      int getInt​(java.lang.String name, int defaultValue)
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      java.lang.Integer[] getIntArray​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.Integer[] getIntArray​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.List<java.lang.Integer> getIntList​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.List<java.lang.Integer> getIntList​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.Long getLong​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      long getLong​(ParameterDefinition parameterDefinition, long defaultValue)
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      java.lang.Long getLong​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      long getLong​(java.lang.String name, long defaultValue)
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      java.lang.Long[] getLongArray​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.Long[] getLongArray​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.List<java.lang.Long> getLongList​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.List<java.lang.Long> getLongList​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      Parameter getParameter​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      Parameter getParameter​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.String[] getParameterNames()
      Returns all the parameter names associated with this Parameters.
      java.util.Set<java.lang.String> getParameterNameSet()
      Returns all the parameter names associated with this Parameters.
      <T extends Parameters>
      T
      getParameters​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      <T extends Parameters>
      T
      getParameters​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      <T extends Parameters>
      T[]
      getParametersArray​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      <T extends Parameters>
      T[]
      getParametersArray​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      <T extends Parameters>
      java.util.List<T>
      getParametersList​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      <T extends Parameters>
      java.util.List<T>
      getParametersList​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.Map<java.lang.String,​ParameterValue> getParameterValueMap()
      Returns a map of the ParameterValues.
      Parameter getParent()
      Returns the parent Parameter of the identifier Parameter.
      java.lang.String getQualifiedName()
      Returns the qualified name.
      java.lang.String getString​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.String getString​(ParameterDefinition parameterDefinition, java.lang.String defaultValue)
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      java.lang.String getString​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.String getString​(java.lang.String name, java.lang.String defaultValue)
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      java.lang.String[] getStringArray​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.String[] getStringArray​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.List<java.lang.String> getStringList​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.util.List<java.lang.String> getStringList​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.Object getValue​(ParameterDefinition parameterDefinition)
      Return the value for the specified parameter, or null if the parameter does not exist.
      java.lang.Object getValue​(java.lang.String name)
      Return the value for the specified parameter, or null if the parameter does not exist.
      boolean hasParameter​(ParameterDefinition parameterDefinition)
      Returns whether the specified parameter exists.
      boolean hasParameter​(java.lang.String name)
      Returns whether this parameter exists.
      boolean isAddable()
      Returns whether the parameter can be added after the parameters instance is created.
      boolean isValueAssigned​(ParameterDefinition parameterDefinition)
      Returns whether the value is assigned to the specified parameter.
      boolean isValueAssigned​(java.lang.String name)
      Returns whether the value is assigned to the specified parameter.
      <T extends Parameters>
      T
      newParameters​(ParameterDefinition parameterDefinition)  
      <T extends Parameters>
      T
      newParameters​(java.lang.String name)  
      ParameterValue newParameterValue​(java.lang.String name, ParameterValueType parameterValueType)  
      ParameterValue newParameterValue​(java.lang.String name, ParameterValueType parameterValueType, boolean array)  
      void putAll​(Parameters parameters)  
      void putValue​(ParameterDefinition parameterDefinition, java.lang.Object value)
      Put a value of the parameter corresponding to the given parameter definition.
      void putValue​(java.lang.String name, java.lang.Object value)
      Put a value of the parameter corresponding to the given name.
      void putValueNonNull​(ParameterDefinition parameterDefinition, java.lang.Object value)
      Put a value of the parameter corresponding to the given parameter definition.
      void putValueNonNull​(java.lang.String name, java.lang.Object value)
      Put a value of the parameter corresponding to the given name.
      void readFrom​(java.lang.String text)  
      void setIdentifier​(Parameter identifier)
      Specifies the identifier Parameter.
      void setIndentString​(java.lang.String indentString)  
      java.lang.String toString()  
      <T extends Parameters>
      T
      touchParameters​(ParameterDefinition parameterDefinition)  
      <T extends Parameters>
      T
      touchParameters​(java.lang.String name)  
      void updateContainer​(Parameters parameters)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AbstractParameters

        protected AbstractParameters​(ParameterDefinition[] parameterDefinitions)
    • Method Detail

      • getIdentifier

        public Parameter getIdentifier()
        Description copied from interface: Parameters
        Returns the identifier Parameter.
        Specified by:
        getIdentifier in interface Parameters
        Returns:
        the identifier Parameter
      • setIdentifier

        public void setIdentifier​(Parameter identifier)
        Description copied from interface: Parameters
        Specifies the identifier Parameter.
        Specified by:
        setIdentifier in interface Parameters
        Parameters:
        identifier - the identifier Parameter
      • getQualifiedName

        public java.lang.String getQualifiedName()
        Description copied from interface: Parameters
        Returns the qualified name.
        Specified by:
        getQualifiedName in interface Parameters
        Returns:
        the qualified name
      • getParent

        public Parameter getParent()
        Description copied from interface: Parameters
        Returns the parent Parameter of the identifier Parameter.
             parent = identifier --> container --> identifier
         
        Specified by:
        getParent in interface Parameters
        Returns:
        a Parameter
      • getParameterValueMap

        public java.util.Map<java.lang.String,​ParameterValue> getParameterValueMap()
        Description copied from interface: Parameters
        Returns a map of the ParameterValues.
        Specified by:
        getParameterValueMap in interface Parameters
        Returns:
        a map of the ParameterValues
      • getParameterNames

        public java.lang.String[] getParameterNames()
        Description copied from interface: Parameters
        Returns all the parameter names associated with this Parameters.
        Specified by:
        getParameterNames in interface Parameters
        Returns:
        an array of all parameter names associated with this Parameters
      • getParameterNameSet

        public java.util.Set<java.lang.String> getParameterNameSet()
        Description copied from interface: Parameters
        Returns all the parameter names associated with this Parameters.
        Specified by:
        getParameterNameSet in interface Parameters
        Returns:
        the Set with all parameter names associated with this Parameters
      • hasParameter

        public boolean hasParameter​(java.lang.String name)
        Description copied from interface: Parameters
        Returns whether this parameter exists.
        Specified by:
        hasParameter in interface Parameters
        Parameters:
        name - the name of the parameter to check
        Returns:
        true if the specified parameter exists; false otherwise
      • hasParameter

        public boolean hasParameter​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Returns whether the specified parameter exists.
        Specified by:
        hasParameter in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        true if the specified parameter exists; false otherwise
      • isValueAssigned

        public boolean isValueAssigned​(java.lang.String name)
        Description copied from interface: Parameters
        Returns whether the value is assigned to the specified parameter.
        Specified by:
        isValueAssigned in interface Parameters
        Parameters:
        name - the name of the parameter to check
        Returns:
        true if a parameter is assigned a value; false otherwise
      • isValueAssigned

        public boolean isValueAssigned​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Returns whether the value is assigned to the specified parameter.
        Specified by:
        isValueAssigned in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        true if a parameter is assigned a value; false otherwise
      • getParameter

        public Parameter getParameter​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getParameter in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getParameter

        public Parameter getParameter​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getParameter in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getValue

        public java.lang.Object getValue​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getValue in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getValue

        public java.lang.Object getValue​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getValue in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • putValue

        public void putValue​(java.lang.String name,
                             java.lang.Object value)
        Description copied from interface: Parameters
        Put a value of the parameter corresponding to the given name.
        Specified by:
        putValue in interface Parameters
        Parameters:
        name - the parameter name
        value - the value of parameter
      • putValue

        public void putValue​(ParameterDefinition parameterDefinition,
                             java.lang.Object value)
        Description copied from interface: Parameters
        Put a value of the parameter corresponding to the given parameter definition.
        Specified by:
        putValue in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        value - the value of parameter
      • putValueNonNull

        public void putValueNonNull​(java.lang.String name,
                                    java.lang.Object value)
        Description copied from interface: Parameters
        Put a value of the parameter corresponding to the given name. If a value is null then that value is ignored.
        Specified by:
        putValueNonNull in interface Parameters
        Parameters:
        name - the parameter name
        value - the value of parameter
      • putValueNonNull

        public void putValueNonNull​(ParameterDefinition parameterDefinition,
                                    java.lang.Object value)
        Description copied from interface: Parameters
        Put a value of the parameter corresponding to the given parameter definition. If a value is null then that value is ignored.
        Specified by:
        putValueNonNull in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        value - the value of parameter
      • clearValue

        public void clearValue​(java.lang.String name)
        Specified by:
        clearValue in interface Parameters
      • getString

        public java.lang.String getString​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getString in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getString

        public java.lang.String getString​(java.lang.String name,
                                          java.lang.String defaultValue)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or defaultValue if the parameter does not exist.
        Specified by:
        getString in interface Parameters
        Parameters:
        name - the parameter name
        defaultValue - the default value to return if no value is found
        Returns:
        the value for the specified parameter, or defaultValue
      • getString

        public java.lang.String getString​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getString in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getString

        public java.lang.String getString​(ParameterDefinition parameterDefinition,
                                          java.lang.String defaultValue)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or defaultValue if the parameter does not exist.
        Specified by:
        getString in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        defaultValue - the default value to return if no value is found
        Returns:
        the value for the specified parameter, or defaultValue
      • getStringArray

        public java.lang.String[] getStringArray​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getStringArray in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getStringArray

        public java.lang.String[] getStringArray​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getStringArray in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getStringList

        public java.util.List<java.lang.String> getStringList​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getStringList in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getStringList

        public java.util.List<java.lang.String> getStringList​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getStringList in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getInt

        public java.lang.Integer getInt​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getInt in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getInt

        public int getInt​(java.lang.String name,
                          int defaultValue)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or defaultValue if the parameter does not exist.
        Specified by:
        getInt in interface Parameters
        Parameters:
        name - the parameter name
        defaultValue - the default value to return if no value is found
        Returns:
        the value for the specified parameter, or defaultValue
      • getIntArray

        public java.lang.Integer[] getIntArray​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getIntArray in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getInt

        public java.lang.Integer getInt​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getInt in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getInt

        public int getInt​(ParameterDefinition parameterDefinition,
                          int defaultValue)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or defaultValue if the parameter does not exist.
        Specified by:
        getInt in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        defaultValue - the default value to return if no value is found
        Returns:
        the value for the specified parameter, or defaultValue
      • getIntArray

        public java.lang.Integer[] getIntArray​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getIntArray in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getIntList

        public java.util.List<java.lang.Integer> getIntList​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getIntList in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getIntList

        public java.util.List<java.lang.Integer> getIntList​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getIntList in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getLong

        public java.lang.Long getLong​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getLong in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getLong

        public long getLong​(java.lang.String name,
                            long defaultValue)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or defaultValue if the parameter does not exist.
        Specified by:
        getLong in interface Parameters
        Parameters:
        name - the parameter name
        defaultValue - the default value to return if no value is found
        Returns:
        the value for the specified parameter, or defaultValue
      • getLong

        public java.lang.Long getLong​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getLong in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getLong

        public long getLong​(ParameterDefinition parameterDefinition,
                            long defaultValue)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or defaultValue if the parameter does not exist.
        Specified by:
        getLong in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        defaultValue - the default value to return if no value is found
        Returns:
        the value for the specified parameter, or defaultValue
      • getLongArray

        public java.lang.Long[] getLongArray​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getLongArray in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getLongArray

        public java.lang.Long[] getLongArray​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getLongArray in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getLongList

        public java.util.List<java.lang.Long> getLongList​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getLongList in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getLongList

        public java.util.List<java.lang.Long> getLongList​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getLongList in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getFloat

        public java.lang.Float getFloat​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getFloat in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getFloat

        public float getFloat​(java.lang.String name,
                              float defaultValue)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or defaultValue if the parameter does not exist.
        Specified by:
        getFloat in interface Parameters
        Parameters:
        name - the parameter name
        defaultValue - the default value to return if no value is found
        Returns:
        the value for the specified parameter, or defaultValue
      • getFloat

        public java.lang.Float getFloat​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getFloat in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getFloat

        public float getFloat​(ParameterDefinition parameterDefinition,
                              float defaultValue)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or defaultValue if the parameter does not exist.
        Specified by:
        getFloat in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        defaultValue - the default value to return if no value is found
        Returns:
        the value for the specified parameter, or defaultValue
      • getFloatArray

        public java.lang.Float[] getFloatArray​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getFloatArray in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getFloatArray

        public java.lang.Float[] getFloatArray​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getFloatArray in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getFloatList

        public java.util.List<java.lang.Float> getFloatList​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getFloatList in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getFloatList

        public java.util.List<java.lang.Float> getFloatList​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getFloatList in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getDouble

        public java.lang.Double getDouble​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getDouble in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getDouble

        public double getDouble​(java.lang.String name,
                                double defaultValue)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or defaultValue if the parameter does not exist.
        Specified by:
        getDouble in interface Parameters
        Parameters:
        name - the parameter name
        defaultValue - the default value to return if no value is found
        Returns:
        the value for the specified parameter, or defaultValue
      • getDouble

        public java.lang.Double getDouble​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getDouble in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getDouble

        public double getDouble​(ParameterDefinition parameterDefinition,
                                double defaultValue)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or defaultValue if the parameter does not exist.
        Specified by:
        getDouble in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        defaultValue - the default value to return if no value is found
        Returns:
        the value for the specified parameter, or defaultValue
      • getDoubleArray

        public java.lang.Double[] getDoubleArray​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getDoubleArray in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getDoubleArray

        public java.lang.Double[] getDoubleArray​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getDoubleArray in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getDoubleList

        public java.util.List<java.lang.Double> getDoubleList​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getDoubleList in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getDoubleList

        public java.util.List<java.lang.Double> getDoubleList​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getDoubleList in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getBoolean

        public java.lang.Boolean getBoolean​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getBoolean in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getBoolean

        public boolean getBoolean​(java.lang.String name,
                                  boolean defaultValue)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or defaultValue if the parameter does not exist.
        Specified by:
        getBoolean in interface Parameters
        Parameters:
        name - the parameter name
        defaultValue - the default value to return if no value is found
        Returns:
        the value for the specified parameter, or defaultValue
      • getBoolean

        public java.lang.Boolean getBoolean​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getBoolean in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getBoolean

        public boolean getBoolean​(ParameterDefinition parameterDefinition,
                                  boolean defaultValue)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or defaultValue if the parameter does not exist.
        Specified by:
        getBoolean in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        defaultValue - the default value to return if no value is found
        Returns:
        the value for the specified parameter, or defaultValue
      • getBooleanArray

        public java.lang.Boolean[] getBooleanArray​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getBooleanArray in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getBooleanArray

        public java.lang.Boolean[] getBooleanArray​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getBooleanArray in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getBooleanList

        public java.util.List<java.lang.Boolean> getBooleanList​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getBooleanList in interface Parameters
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getBooleanList

        public java.util.List<java.lang.Boolean> getBooleanList​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getBooleanList in interface Parameters
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getParameters

        public <T extends Parameters> T getParameters​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getParameters in interface Parameters
        Type Parameters:
        T - the type parameter
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getParameters

        public <T extends Parameters> T getParameters​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getParameters in interface Parameters
        Type Parameters:
        T - the type parameter
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getParametersArray

        public <T extends Parameters> T[] getParametersArray​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getParametersArray in interface Parameters
        Type Parameters:
        T - the type parameter
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getParametersArray

        public <T extends Parameters> T[] getParametersArray​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getParametersArray in interface Parameters
        Type Parameters:
        T - the type parameter
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • getParametersList

        public <T extends Parameters> java.util.List<T> getParametersList​(java.lang.String name)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getParametersList in interface Parameters
        Type Parameters:
        T - the type parameter
        Parameters:
        name - the parameter name
        Returns:
        the value for the specified parameter, or null
      • getParametersList

        public <T extends Parameters> java.util.List<T> getParametersList​(ParameterDefinition parameterDefinition)
        Description copied from interface: Parameters
        Return the value for the specified parameter, or null if the parameter does not exist.
        Specified by:
        getParametersList in interface Parameters
        Type Parameters:
        T - the type parameter
        Parameters:
        parameterDefinition - the parameter definition
        Returns:
        the value for the specified parameter, or null
      • isAddable

        public boolean isAddable()
        Description copied from interface: Parameters
        Returns whether the parameter can be added after the parameters instance is created.
        Specified by:
        isAddable in interface Parameters
        Returns:
        true if the parameter can be added after the parameters instance is created, otherwise false
      • describe

        public java.lang.String describe()
        Specified by:
        describe in interface Parameters
      • describe

        public java.lang.String describe​(boolean details)
        Specified by:
        describe in interface Parameters
      • setIndentString

        public void setIndentString​(java.lang.String indentString)
        Specified by:
        setIndentString in interface Parameters
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object