Package org.compiere.process
Class ProcessInfoParameter
java.lang.Object
org.compiere.process.ProcessInfoParameter
- All Implemented Interfaces:
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 Summary
ConstructorDescriptionProcessInfoParameter
(String parameterName, Object parameter, Object parameter_To, String info, String info_To) Construct ParameterProcessInfoParameter
(String parameterName, Object parameter, Object parameter_To, String info, String info_To, boolean isNotClause) Construct Parameter -
Method Summary
Modifier and TypeMethodDescriptiongetInfo()
Method getInfoMethod getInfo_ToMethod getParameterMethod getParameter_ToMethod getParameter To as BigDecimalboolean
Method getParameter as BooleanReturn the value of the parameter To as a comma separated integer string.Return the value of the parameter as a String with all values between commas surrounded by quotesint
Method getParameter as IntMethod getParameter To as StringMethod getParameter_To as TimestampMethod getParameter as BigDecimalboolean
Method getParameter as BooleanReturn the value of the parameter as a comma separated integer string.Return the value of the parameter as a String with all values between commas surrounded by quotesint
Method getParameter as Intint[]
Return the value of the parameter as an array of int.Method getParameter as StringString[]
Return the value of the parameter as an array of String.Method getParameter as TimestampMethod getParameterNameint[]
Return the value of the parameter To as an array of int.String[]
Return the value of the parameter To as an array of String.boolean
Method isNotClausevoid
Method setInfovoid
setInfo_To
(String Info_To) Method setInfo_Tovoid
setIsNotClause
(boolean IsNotClause) Method setIsNotClausevoid
setParameter
(Object Parameter) Method setParametervoid
setParameter_To
(Object Parameter_To) Method setParameter_Tovoid
setParameterName
(String ParameterName) Method setParameterNametoString()
String Representation
-
Constructor Details
-
ProcessInfoParameter
public ProcessInfoParameter(String parameterName, Object parameter, Object parameter_To, String info, String info_To) Construct Parameter- Parameters:
parameterName
- parameter nameparameter
- parameterparameter_To
- to parameterinfo
- infoinfo_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 nameparameter
- parameterparameter_To
- to parameterinfo
- infoinfo_To
- to infoisNotClause
- is not clause
-
-
Method Details
-
toString
String Representation -
getInfo
Method getInfo- Returns:
- String
-
getInfo_To
Method getInfo_To- Returns:
- String
-
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
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
Method getParameter_To as Timestamp- Returns:
- Timestamp
-
getParameterAsTimestamp
Method getParameter as Timestamp- Returns:
- Object
-
getParameter_ToAsString
Method getParameter To as String- Returns:
- Object
-
getParameterAsString
Method getParameter as String- Returns:
- Object
-
getParameter_ToAsBigDecimal
Method getParameter To as BigDecimal- Returns:
- Object
-
getParameterAsBigDecimal
Method getParameter as BigDecimal- Returns:
- Object
-
getParameterName
Method getParameterName- Returns:
- String
-
isNotClause
public boolean isNotClause()Method isNotClause- Returns:
- boolean
-
setInfo
Method setInfo- Parameters:
Info
- String
-
setInfo_To
Method setInfo_To- Parameters:
Info_To
- String
-
setParameter
Method setParameter- Parameters:
Parameter
- Object
-
setParameter_To
Method setParameter_To- Parameters:
Parameter_To
- Object
-
setParameterName
Method setParameterName- Parameters:
ParameterName
- String
-
setIsNotClause
public void setIsNotClause(boolean IsNotClause) Method setIsNotClause- Parameters:
IsNotClause
- boolean
-
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
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
Return the value of the parameter as a String with all values between commas surrounded by quotes- Returns:
- 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
Return the value of the parameter as an array of String.- Returns:
- array of String
-
getParameterToAsStringArray
Return the value of the parameter To as an array of String.- Returns:
- array of String
-