Package com.uc4.api.objects
Class DynamicSQLVariable
java.lang.Object
com.uc4.api.objects.DynamicSQLVariable
Dynamic Database Variable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the connection object.getLogin()
Returns the result format.Returns the SQL statement .boolean
Returnstrue
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
(String resultFormat) Sets the result format.void
setSqlStatement
(String sqlStatement) Sets the SQL statement.protected void
-
Constructor Details
-
DynamicSQLVariable
protected DynamicSQLVariable(com.uc4.util.XMLDocument doc)
-
-
Method Details
-
store
-
isApplyUserLogin
public boolean isApplyUserLogin()Returnstrue
if the LOGIN object from the settings of the currently logged on user should be used.- Returns:
- true if the LOGIN object
-
setApplyUserLogin
public void setApplyUserLogin(boolean applyUserLogin) Sets or clears the check box "Apply User's Login" in the User interface.- Parameters:
applyUserLogin
- iftrue
the login name from the user settings will be used.
-
getLogin
- Returns:
- Name of the login object
-
setLogin
Sets the name of the login object.- Parameters:
login
- login object
-
getConnection
Returns the name of the connection object.- Returns:
- Name of the connection object
-
setConnection
Sets the connection object.- Parameters:
connection
- Name of the connection object
-
getSqlStatement
Returns the SQL statement .- Returns:
- SQL Statement
-
setSqlStatement
Sets the SQL statement.- Parameters:
sqlStatement
- SQL Statement
-
getResultFormat
Returns the result format.- Returns:
- Result format
-
setResultFormat
Sets the result format. The maximum length is 1024 characters.- Parameters:
resultFormat
- String which contains the result format
-