wt.query.report
Class CurrentTimeMacroProcessor

java.lang.Object
  extended by wt.query.report.CurrentTimeMacroProcessor
All Implemented Interfaces:
Serializable, MacroExpressionProcessor

public class CurrentTimeMacroProcessor
extends Object
implements MacroExpressionProcessor, Serializable

This class implements a macro processor for returning the current system time (as a DateExpression).

Supported API: true

Extendable: true

See Also:
Serialized Form

Method Summary
 ColumnExpression buildExpression(Element a_element, Map a_parameterMap)
          Returns the ColumnExpression value associated with this macro.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

buildExpression

public ColumnExpression buildExpression(Element a_element,
                                        Map a_parameterMap)
                                 throws wt.query.qml.QMLException
Returns the ColumnExpression value associated with this macro.

Supported API: true

Specified by:
buildExpression in interface MacroExpressionProcessor
Parameters:
a_element - A DOM tree element associated with the QML query context where this macro is used.
a_parameterMap - Map of parameters associated with the query that is being executed.
Returns:
ColumnExpression
Throws:
wt.query.qml.QMLException