Class ParameterNameValue

    • Constructor Detail

      • ParameterNameValue

        public ParameterNameValue()
        Default constructor for ParameterNameValue object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • ParameterNameValue

        public ParameterNameValue​(String parameterName)
        Constructs a new ParameterNameValue object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        parameterName - The name of the parameter.
      • ParameterNameValue

        public ParameterNameValue​(String parameterName,
                                  String parameterValue)
        Constructs a new ParameterNameValue object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        parameterName - The name of the parameter.
        parameterValue - The value of the parameter.
    • Method Detail

      • setParameterName

        public void setParameterName​(String parameterName)

        The name of the parameter.

        Parameters:
        parameterName - The name of the parameter.
      • getParameterName

        public String getParameterName()

        The name of the parameter.

        Returns:
        The name of the parameter.
      • withParameterName

        public ParameterNameValue withParameterName​(String parameterName)

        The name of the parameter.

        Parameters:
        parameterName - The name of the parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setParameterValue

        public void setParameterValue​(String parameterValue)

        The value of the parameter.

        Parameters:
        parameterValue - The value of the parameter.
      • getParameterValue

        public String getParameterValue()

        The value of the parameter.

        Returns:
        The value of the parameter.
      • withParameterValue

        public ParameterNameValue withParameterValue​(String parameterValue)

        The value of the parameter.

        Parameters:
        parameterValue - The value of the parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object