Class ProcessInfoParameter

java.lang.Object
org.compiere.process.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:
    • Constructor Details

      • 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
      • ProcessInfoParameter

        public ProcessInfoParameter(String parameterName, Object parameter, Object parameter_To, String info, String info_To, boolean isNotClause)
        Construct Parameter
        Parameters:
        parameterName - parameter name
        parameter - parameter
        parameter_To - to parameter
        info - info
        info_To - to info
        isNotClause - is not clause
    • Method Details

      • toString

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

        public String getInfo()
        Get Info
        Returns:
        info text
      • getInfo_To

        public String getInfo_To()
        Get Info_To
        Returns:
        info text for to parameter
      • getParameter

        public Object getParameter()
        Get Parameter
        Returns:
        parameter value
      • getParameterAsInt

        public int getParameterAsInt()
        Get Parameter as Int
        Returns:
        parameter as integer value
      • getParameterAsBoolean

        public boolean getParameterAsBoolean()
        Get Parameter as Boolean
        Returns:
        parameter as boolean value
      • getParameter_To

        public Object getParameter_To()
        Get Parameter_To
        Returns:
        to parameter value
      • getParameter_ToAsInt

        public int getParameter_ToAsInt()
        Get Parameter To as Int
        Returns:
        to parameter as integer value
      • getParameter_ToAsBoolean

        public boolean getParameter_ToAsBoolean()
        Get Parameter To as Boolean
        Returns:
        to parameter as boolean value
      • getParameter_ToAsTimestamp

        public Timestamp getParameter_ToAsTimestamp()
        Get Parameter_To as Timestamp
        Returns:
        to parameter as Timestamp value
      • getParameterAsTimestamp

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

        public String getParameter_ToAsString()
        Get Parameter To as String
        Returns:
        to parameter as string value
      • getParameterAsString

        public String getParameterAsString()
        Get Parameter as String
        Returns:
        parameter as string value
      • getParameter_ToAsBigDecimal

        public BigDecimal getParameter_ToAsBigDecimal()
        Get Parameter To as BigDecimal
        Returns:
        to parameter as big decimal value
      • getParameterAsBigDecimal

        public BigDecimal getParameterAsBigDecimal()
        Get Parameter as BigDecimal
        Returns:
        Parameter as big decimal value
      • getParameterName

        public String getParameterName()
        Get ParameterName
        Returns:
        parameter name
      • isNotClause

        public boolean isNotClause()
        Is using Not Clause
        Returns:
        true if parameter is using not clause
      • setInfo

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

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

        public void setParameter(Object Parameter)
        Set Parameter
        Parameters:
        Parameter - parameter value
      • setParameter_To

        public void setParameter_To(Object Parameter_To)
        Set Parameter_To
        Parameters:
        Parameter_To - value for to parameter
      • setParameterName

        public void setParameterName(String ParameterName)
        Set ParameterName
        Parameters:
        ParameterName -
      • setIsNotClause

        public void setIsNotClause(boolean IsNotClause)
        Set Is using NotClause
        Parameters:
        IsNotClause - true to use not clause
      • getParameterAsCSVInt

        public String getParameterAsCSVInt()
        Get 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:
        comma separated integer string
      • getParameter_ToAsCSVInt

        public String getParameter_ToAsCSVInt()
        Get 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:
        comma separated integer string
      • getParameterAsCSVString

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

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

        public int[] getParameterAsIntArray()
        Get 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()
        Get 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()
        Get value of the parameter as an array of String.
        Returns:
        array of String
      • getParameterToAsStringArray

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