Project Wonder 2.0

er.extensions
Class ERXPrimaryKeyListQualifier.KeyValueQualifierSQLGenerationSupport

java.lang.Object
  extended bycom.webobjects.eoaccess.EOQualifierSQLGeneration.Support
      extended byer.extensions.ERXPrimaryKeyListQualifier.KeyValueQualifierSQLGenerationSupport
Enclosing class:
ERXPrimaryKeyListQualifier

public static class ERXPrimaryKeyListQualifier.KeyValueQualifierSQLGenerationSupport
extends EOQualifierSQLGeneration.Support

Support class that listens for EOKeyValueQualifiers that have an isContainedInArray-selector and replaces these with the ERXPrimaryKeyListQualifier. This means that when you set isContainedInArray as a display group queryOperator and an NSArray of EOs as the value, then this qualifier is magically replaced by one that selects objects with an IN qualifier.

Author:
ak

Constructor Summary
ERXPrimaryKeyListQualifier.KeyValueQualifierSQLGenerationSupport(EOQualifierSQLGeneration.Support old)
           
 
Method Summary
 EOQualifier qualifierMigratedFromEntityRelationshipPath(EOQualifier eoqualifier, EOEntity eoentity, String s)
           
 EOQualifier schemaBasedQualifierWithRootEntity(EOQualifier eoqualifier, EOEntity eoentity)
           
 String sqlStringForSQLExpression(EOQualifier eoqualifier, EOSQLExpression e)
           
 
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

ERXPrimaryKeyListQualifier.KeyValueQualifierSQLGenerationSupport

public ERXPrimaryKeyListQualifier.KeyValueQualifierSQLGenerationSupport(EOQualifierSQLGeneration.Support old)
Method Detail

sqlStringForSQLExpression

public String sqlStringForSQLExpression(EOQualifier eoqualifier,
                                        EOSQLExpression e)

schemaBasedQualifierWithRootEntity

public EOQualifier schemaBasedQualifierWithRootEntity(EOQualifier eoqualifier,
                                                      EOEntity eoentity)

qualifierMigratedFromEntityRelationshipPath

public EOQualifier qualifierMigratedFromEntityRelationshipPath(EOQualifier eoqualifier,
                                                               EOEntity eoentity,
                                                               String s)

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.