wt.query.report
Class CurrentTimeMacroProcessor
java.lang.Object
wt.query.report.CurrentTimeMacroProcessor
- All Implemented Interfaces:
- MacroExpressionProcessor, Serializable
- 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
CurrentTimeMacroProcessor
public CurrentTimeMacroProcessor()
buildExpression
public ColumnExpression buildExpression(Element a_element,
Map a_parameterMap)
throws 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:
QMLException
getValue
public Object getValue()
throws WTException
- Deprecated. as of R6.2, use buildExpression(Element, Map).
- Returns the value associated with this macro.
Supported API: false
- Specified by:
getValue
in interface MacroExpressionProcessor
- Returns:
- Object
- Throws:
WTException