|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.firebirdsql.jdbc.FBProcedureParam
public class FBProcedureParam
Represents procedure call parameter.
| Constructor Summary | |
|---|---|
FBProcedureParam()
|
|
FBProcedureParam(int position,
java.lang.String paramValue)
Create a new FBProcedureParam instance. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 parameter| Method Detail |
|---|
public 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 set
java.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.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||