wt.query.report
Class CurrentTimeMacroProcessor

java.lang.Object
  extended bywt.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

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Constructor Summary
CurrentTimeMacroProcessor()
           
 
Method Summary
 ColumnExpression buildExpression(Element a_element, Map a_parameterMap)
          Returns the ColumnExpression value associated with this macro.
 Object getValue()
          Deprecated. as of R6.2, use buildExpression(Element, Map).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

CurrentTimeMacroProcessor

public CurrentTimeMacroProcessor()
Method Detail

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