Project Wonder 5.0

er.extensions.eof.qualifiers
Class ERXExistsQualifier.ExistsQualifierSQLGenerationSupport

java.lang.Object
  extended by com.webobjects.eoaccess.EOQualifierSQLGeneration.Support
      extended by er.extensions.eof.qualifiers.ERXExistsQualifier.ExistsQualifierSQLGenerationSupport
Enclosing class:
ERXExistsQualifier

public static class ERXExistsQualifier.ExistsQualifierSQLGenerationSupport
extends com.webobjects.eoaccess.EOQualifierSQLGeneration.Support

Implements the SQL generation for the exists qualifier.


Constructor Summary
ERXExistsQualifier.ExistsQualifierSQLGenerationSupport()
          Public constructor
 
Method Summary
 com.webobjects.eocontrol.EOQualifier qualifierMigratedFromEntityRelationshipPath(com.webobjects.eocontrol.EOQualifier qualifier, com.webobjects.eoaccess.EOEntity entity, java.lang.String relationshipPath)
          Implementation of the EOQualifierSQLGeneration interface.
 com.webobjects.eocontrol.EOQualifier schemaBasedQualifierWithRootEntity(com.webobjects.eocontrol.EOQualifier qualifier, com.webobjects.eoaccess.EOEntity entity)
          Implementation of the EOQualifierSQLGeneration interface.
 java.lang.String sqlStringForSQLExpression(com.webobjects.eocontrol.EOQualifier qualifier, com.webobjects.eoaccess.EOSQLExpression expression)
          Generates the EXISTS SQL string for the given SQL expression.
 
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

ERXExistsQualifier.ExistsQualifierSQLGenerationSupport

public ERXExistsQualifier.ExistsQualifierSQLGenerationSupport()
Public constructor

Method Detail

sqlStringForSQLExpression

public java.lang.String sqlStringForSQLExpression(com.webobjects.eocontrol.EOQualifier qualifier,
                                                  com.webobjects.eoaccess.EOSQLExpression expression)
Generates the EXISTS SQL string for the given SQL expression. The bulk of the logic for generating the sub-query is in this method.

Specified by:
sqlStringForSQLExpression in class com.webobjects.eoaccess.EOQualifierSQLGeneration.Support
Parameters:
qualifier - for which to generate the SQL
expression - to use during SQL generation
Returns:
SQL string for the current sub-query

schemaBasedQualifierWithRootEntity

public com.webobjects.eocontrol.EOQualifier schemaBasedQualifierWithRootEntity(com.webobjects.eocontrol.EOQualifier qualifier,
                                                                               com.webobjects.eoaccess.EOEntity entity)
Implementation of the EOQualifierSQLGeneration interface. Just clones the qualifier.

Specified by:
schemaBasedQualifierWithRootEntity in class com.webobjects.eoaccess.EOQualifierSQLGeneration.Support
Parameters:
entity - an entity
Returns:
clone of the current qualifier

qualifierMigratedFromEntityRelationshipPath

public com.webobjects.eocontrol.EOQualifier qualifierMigratedFromEntityRelationshipPath(com.webobjects.eocontrol.EOQualifier qualifier,
                                                                                        com.webobjects.eoaccess.EOEntity entity,
                                                                                        java.lang.String relationshipPath)
Implementation of the EOQualifierSQLGeneration interface. Just clones the qualifier.

Specified by:
qualifierMigratedFromEntityRelationshipPath in class com.webobjects.eoaccess.EOQualifierSQLGeneration.Support
Parameters:
qualifier - to migrate
entity - to which the qualifier should be migrated
relationshipPath - upon which to base the migration
Returns:
clone of the current qualifier

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.