org.caleigo.core.service
Class SQLToolKitPS.CompositeQualifierParser
java.lang.Object
org.caleigo.core.service.SQLToolKitPS.CompositeQualifierParser
- All Implemented Interfaces:
- SQLToolKitPS.IQualifierParser
- Enclosing class:
- SQLToolKitPS
- public static class SQLToolKitPS.CompositeQualifierParser
- extends java.lang.Object
- implements SQLToolKitPS.IQualifierParser
Parser for CompositeQualifiers. Creates the necessary sql query
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLToolKitPS.CompositeQualifierParser
public SQLToolKitPS.CompositeQualifierParser()
process
public java.lang.String process(Qualifier qualifier,
SQLToolKitPS sql,
java.util.ArrayList values)
- Processes the qualifier and creates the necessary SQL query
- Specified by:
process
in interface SQLToolKitPS.IQualifierParser
- Parameters:
qualifier
- The qualifier constituting the conditionsql
- The Toolkit containing all data about the conversionvalues
- An ArrayList with all data needed to be set in the PreparedStatement
- Returns:
- Returns a string with the sql query
stateDescriptorRequirement
public java.util.Set stateDescriptorRequirement(Qualifier qualifier,
SQLToolKitPS sql)
- States what descriptors are needed for the FROM expression
- Specified by:
stateDescriptorRequirement
in interface SQLToolKitPS.IQualifierParser
- Parameters:
qualifier
- The qualifier constituting the conditionsql
- The toolkit containinig the overall data for the expressionbuilding
- Returns:
- Returns a set of FieldDescriptor needed to be in the FROM sections of the sql expression.
Copyright © 2005 Caleigo. All Rights Reserved.