org.caleigo.core.service
Class SQLToolKitPS.RelationQualifierParser

java.lang.Object
  extended byorg.caleigo.core.service.SQLToolKitPS.RelationQualifierParser
All Implemented Interfaces:
SQLToolKitPS.IQualifierParser
Enclosing class:
SQLToolKitPS

public class SQLToolKitPS.RelationQualifierParser
extends java.lang.Object
implements SQLToolKitPS.IQualifierParser

Class for parsing RelationQualifiers.


Constructor Summary
SQLToolKitPS.RelationQualifierParser()
           
 
Method Summary
 java.lang.String process(Qualifier qualifier, SQLToolKitPS sql, java.util.ArrayList values)
          Processes a qualifier and creates a Conditional query
 java.util.Set stateDescriptorRequirement(Qualifier qualifier, SQLToolKitPS sql)
          States what descriptors are needed for the FROM expression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLToolKitPS.RelationQualifierParser

public SQLToolKitPS.RelationQualifierParser()
Method Detail

process

public java.lang.String process(Qualifier qualifier,
                                SQLToolKitPS sql,
                                java.util.ArrayList values)
Processes a qualifier and creates a Conditional query

Specified by:
process in interface SQLToolKitPS.IQualifierParser
Parameters:
qualifier - the qualifier that should be parsed
sql - The Toolkit containing all data about the conversion
values - 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 condition
sql - 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.