public class DatabaseEventValue extends Object
Constructor and Description |
---|
DatabaseEventValue(com.uc4.util.XMLDocument doc,
Element dbEvent,
String elementPrefix)
Internal use only.
|
Modifier and Type | Method and Description |
---|---|
String |
getAccessFile() |
UC4HostName |
getAgentName() |
String |
getDatabase() |
UC4ObjectName |
getLoginObject() |
String |
getServer() |
String |
getSqlStatement() |
String |
getStaticValue() |
UC4ObjectName |
getVariableKeyword()
Deprecated.
: variableKeyowrd type changed from UC4ObjectName to String.
|
UC4ObjectName |
getVariableName() |
String |
getVarKeyword() |
boolean |
isSourceQuery() |
boolean |
isSourceStatic() |
boolean |
isSourceVariable() |
void |
setSourceQuery(String sqlStatement,
UC4HostName agentName,
UC4ObjectName loginObject,
String server,
String database,
String accessFile)
Sets the Source of this
DatabaseEventValue to an SQL Query. |
void |
setSourceStatic(String value)
Sets the Source of this
DatabaseEventValue to a static value. |
void |
setSourceVariable(UC4ObjectName variableName,
String variableKeyword)
Sets the Source of this
DatabaseEventValue to the content of a variable. |
void |
setSourceVariable(UC4ObjectName variableName,
UC4ObjectName variableKeyword)
Deprecated.
: variableKeyowrd type changed from UC4ObjectName to String.
|
public void setSourceStatic(String value)
DatabaseEventValue
to a static value.value
- Static valuepublic String getStaticValue()
@Deprecated public void setSourceVariable(UC4ObjectName variableName, UC4ObjectName variableKeyword)
DatabaseEventValue
to the content of a variable.variableName
- Name of the Variable ObjectvariableKeyword
- Name of the Keyword inside the Variablepublic void setSourceVariable(UC4ObjectName variableName, String variableKeyword)
DatabaseEventValue
to the content of a variable.variableName
- Name of the Variable ObjectvariableKeyword
- Name of the Keyword inside the Variablepublic UC4ObjectName getVariableName()
@Deprecated public UC4ObjectName getVariableKeyword()
public String getVarKeyword()
public void setSourceQuery(String sqlStatement, UC4HostName agentName, UC4ObjectName loginObject, String server, String database, String accessFile)
DatabaseEventValue
to an SQL Query.sqlStatement
- SQL Statement (typically a select)agentName
- Name of the SQL AgentloginObject
- Name of the Login Objectserver
- Hostname or IP Address of the Database Serverdatabase
- Database nameaccessFile
- Name of the Micorosoft Access File, an empty String should be passed if not usedpublic String getSqlStatement()
public UC4HostName getAgentName()
public UC4ObjectName getLoginObject()
public String getServer()
public String getDatabase()
public String getAccessFile()
public boolean isSourceQuery()
public boolean isSourceStatic()
public boolean isSourceVariable()
Copyright © 2021. All rights reserved.