Class ParameterValue

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ParameterValue
    extends java.lang.Object
    implements java.io.Serializable
    Defines the value list. It acts as input parameter value
    See Also:
    Serialized Form
    • Constructor Detail

      • ParameterValue

        public ParameterValue()
        Constructor
      • ParameterValue

        public ParameterValue​(java.util.List<java.lang.String> valueList)
        Constructor
        Parameters:
        valueList - the value list
    • Method Detail

      • getValueAsString

        public java.lang.String getValueAsString()
        Gets the first value
        Returns:
        the value
      • getValueAsString

        public java.lang.String getValueAsString​(int idx)
        Gets the value as string.
        Parameters:
        idx - the index
        Returns:
        the value
        Throws:
        java.lang.ArrayIndexOutOfBoundsException - In case out of index
      • getValueAsStringList

        public java.util.List<java.lang.String> getValueAsStringList()
        Gets the value as a string list
        Returns:
        the string list
      • getValueAsCharacter

        public java.lang.Character getValueAsCharacter()
        Gets the first value as character.
        Returns:
        the value
      • getValueAsCharacter

        public java.lang.Character getValueAsCharacter​(int idx)
        Gets the value as character.
        Parameters:
        idx - the index
        Returns:
        the value
      • getValueAsCharacterList

        public java.util.List<java.lang.Character> getValueAsCharacterList()
        Gets the value as a character list
        Returns:
        the character list
      • getValueAsBoolean

        public java.lang.Boolean getValueAsBoolean()
        Gets the first value as boolean.
        Returns:
        the value
      • getValueAsBoolean

        public java.lang.Boolean getValueAsBoolean​(int idx)
        Gets the value as boolean.
        Parameters:
        idx - the index
        Returns:
        the value
      • getValueAsBooleanList

        public java.util.List<java.lang.Boolean> getValueAsBooleanList()
        Gets the value as a boolean list
        Returns:
        the boolean list
      • getValueAsShort

        public java.lang.Short getValueAsShort()
        Gets the first value as short.
        Returns:
        the value
      • getValueAsShort

        public java.lang.Short getValueAsShort​(int idx)
        Gets the value as short.
        Parameters:
        idx - the index
        Returns:
        the value
      • getValueAsShortList

        public java.util.List<java.lang.Short> getValueAsShortList()
        Gets the value as a short list
        Returns:
        the short list
      • getValueAsInteger

        public java.lang.Integer getValueAsInteger()
        Gets the first value as integer.
        Returns:
        the value
      • getValueAsInteger

        public java.lang.Integer getValueAsInteger​(int idx)
        Gets the value as integer.
        Parameters:
        idx - the index
        Returns:
        the value
      • getValueAsIntegerList

        public java.util.List<java.lang.Integer> getValueAsIntegerList()
        Gets the value as a integer list
        Returns:
        the integer list
      • getValueAsLong

        public java.lang.Long getValueAsLong()
        Gets the first value as long.
        Returns:
        the value
      • getValueAsLong

        public java.lang.Long getValueAsLong​(int idx)
        Gets the value as long.
        Parameters:
        idx - the index
        Returns:
        the value
      • getValueAsLongList

        public java.util.List<java.lang.Long> getValueAsLongList()
        Gets the value as a long list
        Returns:
        the long list
      • getValueAsFloat

        public java.lang.Float getValueAsFloat()
        Gets the first value as float.
        Returns:
        the value
      • getValueAsFloat

        public java.lang.Float getValueAsFloat​(int idx)
        Gets the value as float.
        Parameters:
        idx - the index
        Returns:
        the value
      • getValueAsFloatList

        public java.util.List<java.lang.Float> getValueAsFloatList()
        Gets the value as a float list
        Returns:
        the float list
      • getValueAsDouble

        public java.lang.Double getValueAsDouble()
        Gets the first value as double.
        Returns:
        the value
      • getValueAsDouble

        public java.lang.Double getValueAsDouble​(int idx)
        Gets the value as double.
        Parameters:
        idx - the index
        Returns:
        the value
      • getValueAsDoubleList

        public java.util.List<java.lang.Double> getValueAsDoubleList()
        Gets the value as a double list
        Returns:
        the double list
      • getValueAsDate

        public java.util.Date getValueAsDate()
        Gets the first value as date.
        Returns:
        the value
      • getValueAsDate

        public java.util.Date getValueAsDate​(int idx)
        Gets the value as date.
        Parameters:
        idx - the index
        Returns:
        the value
      • getValueAsDateList

        public java.util.List<java.util.Date> getValueAsDateList()
        Gets the value as a date list
        Returns:
        the date list
      • getValueAsRegularExpression

        public java.util.regex.Pattern getValueAsRegularExpression()
        Gets the first value as regular expression
        Returns:
        the value
      • getValueAsRegularExpression

        public java.util.regex.Pattern getValueAsRegularExpression​(int idx)
        Gets the value as regular expression.
        Parameters:
        idx - the index
        Returns:
        the value
      • getValueAsRegularExpressionList

        public java.util.List<java.util.regex.Pattern> getValueAsRegularExpressionList()
        Gets the value as a regular expression list
        Returns:
        the regular expression list
      • isEmpty

        public boolean isEmpty()
        Check if the value list ist empty
        Returns:
        true if it is empty
      • size

        public int size()
        Gets the size of the value list
        Returns:
        the size
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • toString

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