public class FBProcedureParam
extends java.lang.Object
implements java.lang.Cloneable
| Constructor and Description |
|---|
FBProcedureParam() |
FBProcedureParam(int position,
java.lang.String paramValue)
Create a new
FBProcedureParam instance. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
int |
getIndex() |
java.lang.String |
getParamValue()
Get the variable value of this parameter
|
int |
getPosition()
Get the position of this parameter
|
int |
getType()
Get the SQL type of this paramater.
|
java.lang.Object |
getValue()
Set the value for this parameter
|
int |
hashCode() |
boolean |
isParam()
Check if this parameter is a variable input parameter
|
boolean |
isValueSet()
Check if the value of this parameter has been set
|
void |
setIndex(int index) |
void |
setType(int type)
Set the SQL type of this parameter
|
void |
setValue(java.lang.Object value)
Set the variable value of this parameter
|
public FBProcedureParam()
public FBProcedureParam(int position,
java.lang.String paramValue)
FBProcedureParam instance.position - The position at which this parameter is situated in
the callparamValue - The value for this parameterpublic java.lang.Object clone()
clone in class java.lang.Objectpublic boolean isParam()
true if this is an input parameter,
false otherwisepublic int getPosition()
public int getIndex()
public void setIndex(int index)
public java.lang.String getParamValue()
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
throws java.sql.SQLException
value - The value to be setjava.sql.SQLException - if this parameter contains a constant valuepublic boolean isValueSet()
true if the value has been set,
false otherwisepublic int getType()
public void setType(int type)
type - The SQL type of this parameterpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2001-2022 Jaybird (Firebird JDBC/JCA) team. All rights reserved.