Project Wonder 5.0.0.8795

er.extensions.eof.qualifiers
Class ERXInOrQualifierSupport

java.lang.Object
  extended by com.webobjects.eoaccess.EOQualifierSQLGeneration.Support
      extended by com.webobjects.eoaccess.EOQualifierSQLGeneration._OrQualifierSupport
          extended by er.extensions.eof.qualifiers.ERXInOrQualifierSupport

public class ERXInOrQualifierSupport
extends EOQualifierSQLGeneration._OrQualifierSupport

ERXInOrQualifierSupport replaces the stock _OrQualifierSupport and turns qualifying EOOrQualifiers into IN-set SQL statements instead of enormous strings of OR's.

To register this as the generation support for EOOrQualifiers, register with:

EOQualifierSQLGeneration.Support.setSupportForClass(new ERXInOrQualifierSupport(), EOOrQualifier._CLASS);

Author:
mschrag

Nested Class Summary
protected static class ERXInOrQualifierSupport.OrIsInVisitor
           
 
Constructor Summary
ERXInOrQualifierSupport()
           
 
Method Summary
 String sqlStringForSQLExpression(EOQualifier qualifier, EOSQLExpression sqlExpression)
           
 
Methods inherited from class com.webobjects.eoaccess.EOQualifierSQLGeneration._OrQualifierSupport
qualifierMigratedFromEntityRelationshipPath, schemaBasedQualifierWithRootEntity
 
Methods inherited from class com.webobjects.eoaccess.EOQualifierSQLGeneration.Support
_flattenRelationshipPath, _optimizeQualifierKeyPath, _qualifierMigratedFromEntityRelationshipPath, _qualifierMigratedToSubEntityFromParentEntity, _schemaBasedQualifierWithRootEntity, _sqlStringForSQLExpression, _translateKeyAcrossRelationshipPath, setSupportForClass, supportForClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERXInOrQualifierSupport

public ERXInOrQualifierSupport()
Method Detail

sqlStringForSQLExpression

public String sqlStringForSQLExpression(EOQualifier qualifier,
                                        EOSQLExpression sqlExpression)
Overrides:
sqlStringForSQLExpression in class EOQualifierSQLGeneration._OrQualifierSupport

Last updated: Fri, Jan 9, 2009 • 04:35 AM EST

Copyright © 2002 – 2007 Project Wonder.