public class DatabaseEventValue
extends java.lang.Object
Constructor and Description |
---|
DatabaseEventValue(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element dbEvent,
java.lang.String elementPrefix)
Internal use only.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessFile() |
UC4HostName |
getAgentName() |
java.lang.String |
getDatabase() |
UC4ObjectName |
getLoginObject() |
java.lang.String |
getServer() |
java.lang.String |
getSqlStatement() |
java.lang.String |
getStaticValue() |
UC4ObjectName |
getVariableKeyword()
Deprecated.
: variableKeyowrd type changed from UC4ObjectName to String.
|
UC4ObjectName |
getVariableName() |
java.lang.String |
getVarKeyword() |
boolean |
isSourceQuery() |
boolean |
isSourceStatic() |
boolean |
isSourceVariable() |
void |
setSourceQuery(java.lang.String sqlStatement,
UC4HostName agentName,
UC4ObjectName loginObject,
java.lang.String server,
java.lang.String database,
java.lang.String accessFile)
Sets the Source of this
DatabaseEventValue to an SQL Query. |
void |
setSourceStatic(java.lang.String value)
Sets the Source of this
DatabaseEventValue to a static value. |
void |
setSourceVariable(UC4ObjectName variableName,
java.lang.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.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request) |
public DatabaseEventValue(com.uc4.util.XMLDocument doc, org.w3c.dom.Element dbEvent, java.lang.String elementPrefix)
doc
- XML DocumentdbEvent
- DB EventelementPrefix
- prefixprotected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)
public void setSourceStatic(java.lang.String value)
DatabaseEventValue
to a static value.value
- Static valuepublic java.lang.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, java.lang.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 java.lang.String getVarKeyword()
public void setSourceQuery(java.lang.String sqlStatement, UC4HostName agentName, UC4ObjectName loginObject, java.lang.String server, java.lang.String database, java.lang.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 java.lang.String getSqlStatement()
public UC4HostName getAgentName()
public UC4ObjectName getLoginObject()
public java.lang.String getServer()
public java.lang.String getDatabase()
public java.lang.String getAccessFile()
public boolean isSourceQuery()
public boolean isSourceStatic()
public boolean isSourceVariable()