WebObjects 5.2

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

Inner 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 Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.