Class ProcessInfoParameter

  • All Implemented Interfaces:
    Serializable

    public class ProcessInfoParameter
    extends Object
    implements Serializable
    Process Parameter
    Version:
    $Id: ProcessInfoParameter.java,v 1.2 2006/07/30 00:54:44 jjanke Exp $
    Author:
    Jorg Janke, Teo Sarca, www.arhipac.ro
  • FR [ 2430845 ] Add ProcessInfoParameter.getParameterAsBoolean method
  • See Also:
    Serialized Form
    • Constructor Detail

      • ProcessInfoParameter

        public ProcessInfoParameter​(String parameterName,
                                    Object parameter,
                                    Object parameter_To,
                                    String info,
                                    String info_To)
        Construct Parameter
        Parameters:
        parameterName - parameter name
        parameter - parameter
        parameter_To - to parameter
        info - info
        info_To - to info
    • Method Detail

      • toString

        public String toString()
        String Representation
        Overrides:
        toString in class Object
        Returns:
        info
      • getInfo

        public String getInfo()
        Method getInfo
        Returns:
        String
      • getInfo_To

        public String getInfo_To()
        Method getInfo_To
        Returns:
        String
      • getParameter

        public Object getParameter()
        Method getParameter
        Returns:
        Object
      • getParameterAsInt

        public int getParameterAsInt()
        Method getParameter as Int
        Returns:
        Object
      • getParameterAsBoolean

        public boolean getParameterAsBoolean()
        Method getParameter as Boolean
        Returns:
        boolean value
      • getParameter_To

        public Object getParameter_To()
        Method getParameter_To
        Returns:
        Object
      • getParameter_ToAsInt

        public int getParameter_ToAsInt()
        Method getParameter as Int
        Returns:
        Object
      • getParameter_ToAsBoolean

        public boolean getParameter_ToAsBoolean()
        Method getParameter as Boolean
        Returns:
        boolean
      • getParameter_ToAsTimestamp

        public Timestamp getParameter_ToAsTimestamp()
        Method getParameter_To as Timestamp
        Returns:
        Timestamp
      • getParameterAsTimestamp

        public Timestamp getParameterAsTimestamp()
        Method getParameter as Timestamp
        Returns:
        Object
      • getParameter_ToAsString

        public String getParameter_ToAsString()
        Method getParameter To as String
        Returns:
        Object
      • getParameterAsString

        public String getParameterAsString()
        Method getParameter as String
        Returns:
        Object
      • getParameterAsBigDecimal

        public BigDecimal getParameterAsBigDecimal()
        Method getParameter as BigDecimal
        Returns:
        Object
      • getParameterName

        public String getParameterName()
        Method getParameterName
        Returns:
        String
      • setInfo

        public void setInfo​(String Info)
        Method setInfo
        Parameters:
        Info - String
      • setInfo_To

        public void setInfo_To​(String Info_To)
        Method setInfo_To
        Parameters:
        Info_To - String
      • setParameter

        public void setParameter​(Object Parameter)
        Method setParameter
        Parameters:
        Parameter - Object
      • setParameter_To

        public void setParameter_To​(Object Parameter_To)
        Method setParameter_To
        Parameters:
        Parameter_To - Object
      • setParameterName

        public void setParameterName​(String ParameterName)
        Method setParameterName
        Parameters:
        ParameterName - String
      • getParameterAsCSVInt

        public String getParameterAsCSVInt()
        Return the value of the parameter as a comma separated integer string. Validate every value is an integer and throws NumberFormatException if one of the value is not a valid integer.
        Returns:
        String
      • getParameter_ToAsCSVInt

        public String getParameter_ToAsCSVInt()
        Return the value of the parameter To as a comma separated integer string. Validate every value is an integer and throws NumberFormatException if one of the value is not a valid integer.
        Returns:
        String
      • getParameterAsCSVString

        public String getParameterAsCSVString()
        Return the value of the parameter as a String with all values between commas surrounded by quotes
        Returns:
        String
      • getParameter_ToAsCSVString

        public String getParameter_ToAsCSVString()
        Return the value of the parameter as a String with all values between commas surrounded by quotes
        Returns:
        String
      • getParameterAsIntArray

        public int[] getParameterAsIntArray()
        Return the value of the parameter as an array of int. Validate every value is an integer and throws NumberFormatException if one of the value is not a valid integer.
        Returns:
        array of int
      • getParameterToAsIntArray

        public int[] getParameterToAsIntArray()
        Return the value of the parameter To as an array of int. Validate every value is an integer and throws NumberFormatException if one of the value is not a valid integer.
        Returns:
        array of int
      • getParameterAsStringArray

        public String[] getParameterAsStringArray()
        Return the value of the parameter as an array of String.
        Returns:
        array of String
      • getParameterToAsStringArray

        public String[] getParameterToAsStringArray()
        Return the value of the parameter To as an array of String.
        Returns:
        array of String