public class SqlCmdParams
extends java.lang.Object
Constructor | Description |
---|---|
SqlCmdParams() |
Default Constructor
|
Modifier and Type | Method | Description |
---|---|---|
CmdParamsType |
getCmdParamsType() |
Gets the SqlDbType of the passed parameter.
|
SqlCmpOptions |
getCompareInfo() |
Gets the CompareInfo object that defines how string comparisons should be performed for this parameter.
|
boolean |
getIsNullable() |
Gets a value that indicates whether the parameter accepts null values.
|
int |
getLocaleId() |
Gets the locale identifier that determines conventions and language for a particular region.
|
int |
getoffset() |
Gets the offset to the Value property.
|
byte |
getPrecision() |
Gets the maximum number of digits used to represent the Value property.
|
byte |
getScale() |
Gets the number of decimal places to which Value is resolved.
|
int |
getSize() |
Gets the maximum size, in bytes, of the data within the column.
|
java.lang.String |
getSourceColumn() |
Gets the name of the source column mapped to the DataSet and used for loading or returning the Value.
|
boolean |
getSourceColumnNullMapping() |
Gets a value which indicates whether the source column is nullable.
|
SqlDataRowVersion |
getSourceVersion() |
Sets the DataRowVersion to use when you load Value.
|
SqlParamDirection |
getSqlParameterDirection() |
Gets a value that indicates whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.
|
java.lang.Object |
getSqlValue() |
Gets the value of the parameter as a SQL type.
|
java.lang.String |
getTypeName() |
Gets the type name for a table-valued parameter.
|
java.lang.String |
getUdtTypeName() |
Gets a string that represents a user-defined type as a parameter.
|
java.lang.Object |
getValue() |
Gets the value of the passed parameter.
|
void |
setCmdParamsType(CmdParamsType type) |
Sets the SqlDbType of the passed parameter.
|
void |
setCompareInfo(SqlCmpOptions compareInfo) |
Sets the CompareInfo object that defines how string comparisons should be performed for this parameter.
|
void |
setIsNullable(boolean isNullable) |
Sets a value that indicates whether the parameter accepts null values.
|
void |
setLocaleId(int localeId) |
Sets the locale identifier that determines conventions and language for a particular region.
|
void |
setoffset(int offset) |
Sets the offset to the Value property.
|
void |
setprecision(byte precision) |
Sets the maximum number of digits used to represent the Value property.
|
void |
setScale(byte scale) |
Sets the number of decimal places to which Value is resolved.
|
void |
setSize(int size) |
Sets the maximum size, in bytes, of the data within the column.
|
void |
setSourceColumn(java.lang.String sourceColumn) |
Sets the name of the source column mapped to the DataSet and used for loading or returning the Value.
|
void |
setSourceColumnNullMapping(boolean sourceColumnNullMapping) |
Sets a value which indicates whether the source column is nullable.
|
void |
setSourceVersion(SqlDataRowVersion sourceVersion) |
Sets the DataRowVersion to use when you load Value.
|
void |
setSqlParameterDirection(SqlParamDirection direction) |
Sets a value that indicates whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.
|
void |
setSqlValue(java.lang.Object sqlValue) |
Sets the value of the parameter as a SQL type.
|
void |
setTypeName(java.lang.String typeName) |
Sets the type name for a table-valued parameter.
|
void |
setUdtTypeName(java.lang.String UdtTypeName) |
Sets a string that represents a user-defined type as a parameter.
|
void |
setValue(java.lang.Object value) |
Sets the value of the passed parameter.
|
public CmdParamsType getCmdParamsType()
public void setCmdParamsType(CmdParamsType type)
type
- The SqlDbType of the parameter.public SqlParamDirection getSqlParameterDirection()
public void setSqlParameterDirection(SqlParamDirection direction)
direction
- The sql param direction of parameter.public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value
- The parameter value.public int getSize()
public void setSize(int size)
size
- The datasize within the column.public boolean getIsNullable()
public void setIsNullable(boolean isNullable)
isNullable
- The boolean that specifies whether parameter accepts null values or not.public int getLocaleId()
public void setLocaleId(int localeId)
localeId
- The locale id.public int getoffset()
public void setoffset(int offset)
offset
- The offset of the value.public byte getPrecision()
public void setprecision(byte precision)
precision
- The precision of the value.public byte getScale()
public void setScale(byte scale)
scale
- The scale of the value.public java.lang.String getSourceColumn()
public void setSourceColumn(java.lang.String sourceColumn)
sourceColumn
- The name of the source column.public boolean getSourceColumnNullMapping()
public void setSourceColumnNullMapping(boolean sourceColumnNullMapping)
sourceColumnNullMapping
- Specifies whether source column accepts null values or not.public java.lang.Object getSqlValue()
public void setSqlValue(java.lang.Object sqlValue)
sqlValue
- The value of the parameter as SQL type.public java.lang.String getTypeName()
public void setTypeName(java.lang.String typeName)
typeName
- The typename of the table-valued parameter.public java.lang.String getUdtTypeName()
public void setUdtTypeName(java.lang.String UdtTypeName)
UdtTypeName
- The user-defined type as parameter.public SqlDataRowVersion getSourceVersion()
public void setSourceVersion(SqlDataRowVersion sourceVersion)
sourceVersion
- The DataRowVersion of the value.public SqlCmpOptions getCompareInfo()
public void setCompareInfo(SqlCmpOptions compareInfo)
compareInfo
- The object that defines string comparisons for the parameter.