PATH Documentation > WebObjects

Table of Contents

EOSQLExpression


Inherits from:
Object
Package:
com.webobjects.eoaccess


Class Description


This class has been introduced to create instances of EOSQLExpressions. Very little of the API is new. Rather, most of it was moved EOSQLExpressionFactory from EOSQLExpression. The API is essentially the same except that in 4.5, the methods were static methods. In 5.0 the methods on EOSQLExpressionFactory are instance methods.




Method Types


Constructors
EOSQLExpressionFactory


Constructors



EOSQLExpressionFactory

EOSQLExpressionFactory(EOAdaptor adaptor)

Creates an EOSQLExpressionFactory for the specified EOAdaptor.


Instance Methods



createExpression

public EOSQLExpression createExpression()

Creates a new instance of the factory's EOSQLExpression class.

deleteStatementWithQualifier

public EOSQLExpression deleteStatementWithQualifier(EOQualifier qualifier, EOEntity entity)



expressionClass

public Class expressionClass()

Returns the factory's EOSQLExpression class.

expressionForEntity

public EOSQLExpression expressionForEntity(EOEntity entity)

Creates a new instance of the factory's EOSQLExpression class and assigns the specified entity to that expression.

expressionForString

public EOSQLExpression expressionForString(String astring)

Description forthcoming.

insertStatementForRow

public EOSQLExpression insertStatementForRow(NSDictionary row, EOEntity entity)

Description forthcoming.

selectStatementForAttributes

public EOSQLExpression selectStatementForAttributes( NSArray attributes, boolean aboolean, EOFetchSpecification fetchSpec, EOEntity entity)

Description forthcoming.

updateStatementForRow

public EOSQLExpression updateStatementForRow(NSDictionary row, EOQualifier qualifier, EOEntity entity)

Description forthcoming.

© 2001 Apple Computer, Inc. (Last Published April 13, 2001)


Table of Contents