WebObjects 5.2.3

com.webobjects.eoaccess
Interface EOQualifierSQLGeneration

All Known Implementing Classes:
EOSQLQualifier

public interface EOQualifierSQLGeneration

All qualifiers that can be used to generate SQL queries implement this interface.

See Also:
EOFetchSpecification.setHints(NSDictionary hints), EOAdaptorChannel.evaluateExpression(EOSQLExpression expression), EOQualifier, EOSQLQualifier

Nested Class Summary
static class EOQualifierSQLGeneration.Support
          The abstract EOQualifierSQLGeneration.Support class provides basic functionality to subclasses that implement the EOQualifierSQLGeneration interface for specific qualifier types.
 
Method Summary
 EOQualifier qualifierMigratedFromEntityRelationshipPath(EOEntity entity, String relationshipPath)
          Creates a new EOQualifier by moving the qualifier from the source entity to the destination of the relationship path.
 EOQualifier schemaBasedQualifierWithRootEntity(EOEntity entity)
          Returns an equivalent EOQualifier with object references replaced by foreign key references.
 String sqlStringForSQLExpression(EOSQLExpression sqlExpression)
          Returns the SQL text that is represented by the EOSQLExpression object.
 

Method Detail

qualifierMigratedFromEntityRelationshipPath

public EOQualifier qualifierMigratedFromEntityRelationshipPath(EOEntity entity,
                                                               String relationshipPath)
Creates a new EOQualifier by moving the qualifier from the source entity to the destination of the relationship path. All of the keys are migrated across the specified relationshipPath.

Parameters:
entity - the source entity
relationshipPath - the migration relationship path
Returns:
the migrated EOQualifier

schemaBasedQualifierWithRootEntity

public EOQualifier schemaBasedQualifierWithRootEntity(EOEntity entity)
Returns an equivalent EOQualifier with object references replaced by foreign key references.

Parameters:
entity - the source entity
Returns:
the equivalent EOQualifier

sqlStringForSQLExpression

public String sqlStringForSQLExpression(EOSQLExpression sqlExpression)
Returns the SQL text that is represented by the EOSQLExpression object.

Parameters:
sqlExpression - the EOSQLExpression object to be converted into text
Returns:
the String equivalent

Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.