|
WebObjects 5.2.3 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.webobjects.eoaccess.EOQualifierSQLGeneration.Support
The abstract EOQualifierSQLGeneration.Support class provides basic functionality to subclasses that implement the EOQualifierSQLGeneration interface for specific qualifier types.
EOQualifierSQLGeneration,
EOSQLQualifier| Constructor Summary | |
EOQualifierSQLGeneration.Support()
|
|
| Method Summary | |
abstract EOQualifier |
qualifierMigratedFromEntityRelationshipPath(EOQualifier qualifier,
EOEntity entity,
String relationshipPath)
Creates a new version of qualifier, translates all the keys to
work with the entity specified in relationshipPath. |
abstract EOQualifier |
schemaBasedQualifierWithRootEntity(EOQualifier qualifier,
EOEntity entity)
Returns an EOQualifier that is translated so that it is based on the foreign keys of the entity. |
static void |
setSupportForClass(EOQualifierSQLGeneration.Support support,
Class aClass)
Sets the Support class to be used internally for the specified qualifier class. |
abstract String |
sqlStringForSQLExpression(EOQualifier qualifier,
EOSQLExpression sqlExpression)
Returns the SQL String for the qualifier within the context of sqlExpression. |
static EOQualifierSQLGeneration.Support |
supportForClass(Class aClass)
Returns the Support class for the specified qualifier class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EOQualifierSQLGeneration.Support()
| Method Detail |
public abstract EOQualifier qualifierMigratedFromEntityRelationshipPath(EOQualifier qualifier,
EOEntity entity,
String relationshipPath)
qualifier, translates all the keys to
work with the entity specified in relationshipPath.
The receiver's keys are all specified in terms of entity.
For example, assume that an Employee entity has a relationship named
"department" to a Department entity. You could migrate a qualifier
described in terms of the Employee entity (department.name = "Finance",
for example) to a qualifier described in terms of the Department
entity (name = "Finance"). To do so, send a
qualifierMigratedFromEntityRelationshipPath message with
the Employee entity as the entity and "department" as the
relationship path.
qualifier - original EOQualifierentity - original EOEntityrelationshipPath - relationship to migrate across
public abstract EOQualifier schemaBasedQualifierWithRootEntity(EOQualifier qualifier,
EOEntity entity)
qualifier - an EOQualifierentity - an EOEntity
public static void setSupportForClass(EOQualifierSQLGeneration.Support support,
Class aClass)
support - the Support class to be usedaClass - the associated EOQualifier class
public abstract String sqlStringForSQLExpression(EOQualifier qualifier,
EOSQLExpression sqlExpression)
sqlExpression.
qualifier - an EOQualifier within sqlExpressionsqlExpression - containing EOSQLExpression
public static EOQualifierSQLGeneration.Support supportForClass(Class aClass)
aClass - the EOQualifier class involved
aClass
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||