wt.query.qml
Class ConditionHandler

java.lang.Object
  extended bywt.query.qml.ConditionHandler
All Implemented Interfaces:
WhereElementHandler

public class ConditionHandler
extends Object
implements WhereElementHandler



Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static OperandElementFactory ELEMENT_HANDLER
           
private static String RESOURCE
           
 
Constructor Summary
ConditionHandler()
           
 
Method Summary
 WhereExpression buildWhereExpression(QuerySpec a_querySpec, Element a_element, Hashtable a_parameterMap)
          

Supported API: false
private static Object getFormat(String a_type)
           
private static RelationalExpression processTimestamp(RelationalExpression a_expression, String a_otherType, Map a_parameterMap)
           
private  void swapChildren(Element a_parent, Element a_new)
           
private  void validateQMLSwap(Element leftElement, Element opElement, Element rightElement)
           
 
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

ELEMENT_HANDLER

private static final OperandElementFactory ELEMENT_HANDLER
Constructor Detail

ConditionHandler

public ConditionHandler()
Method Detail

buildWhereExpression

public WhereExpression buildWhereExpression(QuerySpec a_querySpec,
                                            Element a_element,
                                            Hashtable a_parameterMap)
                                     throws QMLException


Supported API: false

Specified by:
buildWhereExpression in interface WhereElementHandler
Parameters:
a_querySpec -
a_element -
a_parameterMap -
Returns:
WhereExpression
Throws:
QMLException

validateQMLSwap

private void validateQMLSwap(Element leftElement,
                             Element opElement,
                             Element rightElement)
                      throws QMLException
Throws:
QMLException

swapChildren

private void swapChildren(Element a_parent,
                          Element a_new)

getFormat

private static Object getFormat(String a_type)

processTimestamp

private static RelationalExpression processTimestamp(RelationalExpression a_expression,
                                                     String a_otherType,
                                                     Map a_parameterMap)
                                              throws WTException
Throws:
WTException