public class SecureSQLVariableIntern
extends java.lang.Object
implements java.lang.Iterable<java.lang.String>
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.String bindParameter)
Adds a new bind parameter to the
SecureSQLVariableIntern . |
void |
clear()
Removes all bind Parameters.
|
java.lang.String |
getResultFormat()
Returns the result format.
|
java.lang.String |
getStatementDB2()
Returns the SQL statement for DB2.
|
java.lang.String |
getStatementMsSQL()
Returns the SQL statement for MS SQL.
|
java.lang.String |
getStatementOracle()
Returns the SQL statement for Oracle.
|
java.util.Iterator<java.lang.String> |
iterator()
Returns an
java.util.Iterator of bind parameters. |
void |
remove(int index)
Removes a bind parameter.
|
void |
setResultFormat(java.lang.String resultFormat)
Sets the result format.
|
void |
setStatementDB2(java.lang.String statementDB2)
Sets the SQL statement for DB2.
|
void |
setStatementMsSQL(java.lang.String statementMsSQL)
Sets the SQL statement for MS SQL.
|
void |
setStatementOracle(java.lang.String statementOracle)
Sets the SQL statement for Oracle.
|
int |
size()
Returns the number of bind parameters.
|
public java.lang.String getStatementMsSQL()
public void setStatementMsSQL(java.lang.String statementMsSQL)
statementMsSQL
- SQLpublic java.lang.String getStatementOracle()
public void setStatementOracle(java.lang.String statementOracle)
statementOracle
- Statementpublic java.lang.String getStatementDB2()
public void setStatementDB2(java.lang.String statementDB2)
statementDB2
- Statementpublic java.lang.String getResultFormat()
public void setResultFormat(java.lang.String resultFormat)
resultFormat
- String which contains the result formatpublic int size()
public void remove(int index) throws java.lang.IndexOutOfBoundsException
index
- Index of bind parameterjava.lang.IndexOutOfBoundsException
- if index is out of boundspublic void clear()
public boolean add(java.lang.String bindParameter)
SecureSQLVariableIntern
.
The returns value indicates if the bind parameter was added successfully.bindParameter
- new bind Parametertrue
if the bind parameter was added successfully false
otherwisepublic java.util.Iterator<java.lang.String> iterator()
java.util.Iterator
of bind parameters.
Each bind parameter is stored as java.lang.String
.
The order of the bind parameters is ascendant.iterator
in interface java.lang.Iterable<java.lang.String>