public class DynamicSQLVariable
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
DynamicSQLVariable(com.uc4.util.XMLDocument doc) |
Modifier and Type | Method and Description |
---|---|
UC4ObjectName |
getConnection()
Returns the name of the connection object.
|
UC4ObjectName |
getLogin() |
java.lang.String |
getResultFormat()
Returns the result format.
|
java.lang.String |
getSqlStatement()
Returns the SQL statement .
|
boolean |
isApplyUserLogin()
Returns
true if the LOGIN object from the settings of the currently logged on
user should be used. |
void |
setApplyUserLogin(boolean applyUserLogin)
Sets or clears the check box "Apply User's Login" in the User interface.
|
void |
setConnection(UC4ObjectName connection)
Sets the connection object.
|
void |
setLogin(UC4ObjectName login)
Sets the name of the login object.
|
void |
setResultFormat(java.lang.String resultFormat)
Sets the result format.
|
void |
setSqlStatement(java.lang.String sqlStatement)
Sets the SQL statement.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element vara) |
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element vara)
public boolean isApplyUserLogin()
true
if the LOGIN object from the settings of the currently logged on
user should be used.public void setApplyUserLogin(boolean applyUserLogin)
applyUserLogin
- if true
the login name from the user settings will be used.public UC4ObjectName getLogin()
public void setLogin(UC4ObjectName login)
login
- login objectpublic UC4ObjectName getConnection()
public void setConnection(UC4ObjectName connection)
connection
- Name of the connection objectpublic java.lang.String getSqlStatement()
public void setSqlStatement(java.lang.String sqlStatement)
sqlStatement
- SQL Statementpublic java.lang.String getResultFormat()
public void setResultFormat(java.lang.String resultFormat)
resultFormat
- String which contains the result format