Package org.firebirdsql.jdbc
Class FBProcedureParam
- java.lang.Object
- 
- org.firebirdsql.jdbc.FBProcedureParam
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable
 
 public class FBProcedureParam extends java.lang.Object implements java.lang.CloneableRepresents procedure call parameter.
- 
- 
Constructor SummaryConstructors Constructor Description FBProcedureParam(int position, java.lang.String paramValue)Create a newFBProcedureParaminstance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()booleanequals(java.lang.Object obj)intgetIndex()java.lang.StringgetParamValue()Get the variable value of this parameterintgetPosition()Get the position of this parameterintgetType()Get the SQL type of this parameter.java.lang.ObjectgetValue()Set the value for this parameterinthashCode()booleanisParam()Check if this parameter is a variable input parameterbooleanisValueSet()Check if the value of this parameter has been setvoidsetIndex(int index)voidsetType(int type)Set the SQL type of this parametervoidsetValue(java.lang.Object value)Set the variable value of this parameter
 
- 
- 
- 
Method Detail- 
isParampublic final boolean isParam() Check if this parameter is a variable input parameter- Returns:
- trueif this is an input parameter,- falseotherwise
 
 - 
getPositionpublic final int getPosition() Get the position of this parameter- Returns:
- The index of this parameter (first index is 1)
 
 - 
getIndexpublic int getIndex() 
 - 
setIndexpublic void setIndex(int index) 
 - 
getParamValuepublic final java.lang.String getParamValue() Get the variable value of this parameter- Returns:
- The parameter value
 
 - 
getValuepublic java.lang.Object getValue() Set the value for this parameter
 - 
setValuepublic void setValue(java.lang.Object value) throws java.sql.SQLExceptionSet the variable value of this parameter- Parameters:
- value- The value to be set
- Throws:
- java.sql.SQLException- if this parameter contains a constant value
 
 - 
isValueSetpublic boolean isValueSet() Check if the value of this parameter has been set- Returns:
- trueif the value has been set,- falseotherwise
 
 - 
getTypepublic int getType() Get the SQL type of this parameter.- Returns:
- The SQL type of this parameter
 
 - 
setTypepublic void setType(int type) Set the SQL type of this parameter- Parameters:
- type- The SQL type of this parameter
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
clonepublic java.lang.Object clone() - Overrides:
- clonein class- java.lang.Object
 
 
- 
 
-