java.lang.Object
io.ebeaninternal.api.BindParams.Param
- All Implemented Interfaces:
Serializable
- Enclosing class:
BindParams
A In Out capable parameter for the CallableStatement.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Create a deep copy of the Param.booleaninthashCode()inValue()Return the In value.booleanIf true do not include this value in a transaction log.booleanReturn true if this is an In parameter that needs to be bound before execution.booleanReturn true if this is an out parameter that needs to be registered before execution.outValue()Return the OUT value that was retrieved.intvoidSet an encryption key (which can not be logged).voidsetInNullType(int type) Specify that the In parameter is NULL and the specific type that it is.voidsetInValue(Object in) Set the In value.voidsetOutType(int type) Set the Out parameter type.voidsetOutValue(Object out) Set the OUT value returned by a CallableStatement after it has executed.inttype()Return the jdbc type of this parameter.
-
Constructor Details
-
Param
public Param()Construct a Parameter.
-
-
Method Details
-
queryBindCount
public int queryBindCount() -
copy
Create a deep copy of the Param. -
hashCode
public int hashCode() -
equals
-
isInParam
public boolean isInParam()Return true if this is an In parameter that needs to be bound before execution. -
isOutParam
public boolean isOutParam()Return true if this is an out parameter that needs to be registered before execution. -
type
public int type()Return the jdbc type of this parameter. Used for registering Out parameters and setting NULL In parameters. -
setOutType
public void setOutType(int type) Set the Out parameter type. -
setInValue
Set the In value. -
setEncryptionKey
Set an encryption key (which can not be logged). -
setInNullType
public void setInNullType(int type) Specify that the In parameter is NULL and the specific type that it is. -
outValue
Return the OUT value that was retrieved. This value is set after CallableStatement was executed. -
inValue
Return the In value. If this is null, then the type should be used to specify the type of the null. -
setOutValue
Set the OUT value returned by a CallableStatement after it has executed. -
isEncryptionKey
public boolean isEncryptionKey()If true do not include this value in a transaction log.
-