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.Object
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.