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. |
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 entityrelationshipPath
- 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
Copyright © 2003 Apple Computer, Inc.