| 
 | WebObjects 5.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.webobjects.eoaccess.EOAdaptor
An EOAdaptor represents a single connection to a database server. It is responsible for keeping login and model information, performing server-specific formatting of SQL expressions, and reporting errors.
An EOAdaptor can manage several EOAdaptorContexts, each of which represents
 a transaction scope on the database server.  An EOAdaptorContext can, in
 turn, manage several EOAdaptorChannels, each of which handles actual access
 to the data on the server.  An EOAdaptor by default has no EOAdaptorContexts.
 To create a new EOAdaptorContext, use the EOAdaptor method 
 createAdaptorContext.
adaptorWithName and adaptorWithModel, to 
 create instances of a concrete subclass. However, you rarely interact 
 directly with a concrete adaptor either. Generally, adaptors are 
 automatically created and used by other classes in the Enterprise Objects 
 Framework.
 The EOAdaptor class has the following principal attributes:
Other framework classes create EOAdaptor objects. The method
 adaptorWithModel  creates a new adaptor with the adaptor name
 in the specified model. The method adaptorWithName creates a new
 adaptor with the specified name.
An EOAdaptor uses a connection dictionary to connect to the database server. The keys of this dictionary identify the information the server expects, and the values of those keys are the values that the adaptor will try when connecting.
A connection to the database server isn't actually formed until an adaptor channel is opened. When the adaptor is asked to validate its connection dictionary, it only confirms with the server that it will accept the values in the dictionary when a connection is requested.
The following table lists the most commonly-used methods in the EOAdaptor class:
| Method | Description | 
| assertConnectionDictionaryIsValid | Verifies that the adaptor can connect with its connection information. | 
| setConnectionDictionary | Sets the connection dictionary. | 
Enterprise Objects Framework provides a concrete JDBC adaptor for communication with JDBC-compliant relational databases and a concrete JNDI adaptor for communication with LDAP data sources. You may want to create your own concrete EOAdaptor subclass for a different database or persistent storage system. EOAdaptor provides many default method implementations that are sufficient for concrete subclasses:
assignExternalInfoForEntireModelconnectionDictionarycontextsdelegatehasOpenChannelsnameThe following methods establish structure and conventions that other Enterprise Objects Framework classes depend on and should be overridden with caution:
setExpressionClassNamesetConnectionDictionarysetDelegateIf you override setConnectionDictionary or setDelegate,
 your implementations should incorporate the superclass's implementation
 by calling super.
The remaining EOAdaptor methods must be overridden by every concrete adaptor subclass in terms of the persistent storage system with which it interacts:
assignExternalInfoForAttributeassignExternalInfoForEntityexternalTypesWithModelinternalTypeForExternalTypeassertConnectionDictionaryIsValidcreateAdaptorContextfetchedValueForDataValuefetchedValueForDateValuefetchedValueForNumberValuefetchedValueForStringValuefetchedValueForValueisValidQualifierType
adaptorWithName(String name), 
adaptorWithModel(EOModel model), 
assignExternalInfoForEntireModel(EOModel model), 
connectionDictionary(), 
contexts(), 
delegate(), 
hasOpenChannels(), 
name(), 
setExpressionClassName(
           String sqlExpressionClassName,
           String adaptorClassName), 
setConnectionDictionary(NSDictionary dictionary), 
setDelegate(Object delegate), 
assignExternalInfoForAttribute(EOAttribute attribute), 
assignExternalInfoForEntity(EOEntity entity), 
externalTypesWithModel(EOModel model), 
internalTypeForExternalType(String extType,
           EOModel model), 
assertConnectionDictionaryIsValid(), 
createAdaptorContext(), 
fetchedValueForDataValue(NSData value,
           EOAttribute attribute), 
fetchedValueForDateValue(
           NSTimestamp value,
           EOAttribute attribute), 
fetchedValueForNumberValue(Number value,
           EOAttribute attribute), 
fetchedValueForStringValue(String value,
           EOAttribute attribute), 
fetchedValueForValue(Object value,
           EOAttribute attribute), 
isValidQualifierType(String typeName,
           EOModel model)| Inner Class Summary | |
| static interface | EOAdaptor.DelegateThis interface defines a delegate to EOAdaptor to handle specific requests that are normally handled by EOAdaptor (or rather its subclass since EOAdaptor is an abstract class). | 
| Constructor Summary | |
| EOAdaptor(String name)Creates and returns a new EOAdaptor with the specified name. | |
| Method Summary | |
| static EOAdaptor | adaptorWithModel(EOModel model)Creates and returns a new adaptor by extracting the adaptor name from model, invokingadaptorWithName, and assigningmodel's connection dictionary to the new adaptor. | 
| static EOAdaptor | adaptorWithName(String name)Creates and returns a new adaptor from the class with the specified name. | 
|  NSDictionary | administrativeConnectionDictionaryForAdaptor(EOAdaptor adaptor)This method, formerly provided by the EOLoginPanel class, returns nullin the default implementation. | 
| abstract  void | assertConnectionDictionaryIsValid()An abstract method that should be implemented by subclasses to verify that the adaptor can connect to the database server with its connection dictionary. | 
|  void | assignExternalInfoForAttribute(EOAttribute attribute)The default implementation assigns the column name (external name) for attributebased onattribute's internal
 name. | 
|  void | assignExternalInfoForEntireModel(EOModel model)Assigns database-specific characteristics to model. | 
|  void | assignExternalInfoForEntity(EOEntity entity)The default implementation assigns an external name to entitybased onentity's name attribute. | 
|  void | assignExternalTypeForAttribute(EOAttribute attribute)The default implementation does nothing. | 
|  boolean | canServiceModel(EOModel model)Returns trueif the receiver can servicemodel,falseotherwise. | 
|  NSDictionary | connectionDictionary()Returns the receiver's connection dictionary, or nullif the
 adaptor doesn't have one. | 
|  NSArray | contexts()Returns the adaptor contexts created by the receiver, or an empty array if no adaptor contexts have been created. | 
| abstract  EOAdaptorContext | createAdaptorContext()An abstract method that should be implemented by subclasses to create and return a new EOAdaptorContext, or nullif a new context can't be created. | 
|  void | createDatabaseWithAdministrativeConnectionDictionary(NSDictionary administrativeConnectionDictionary)Uses the administrative login information to create the database defined by administrativeConnectionDictionary. | 
| static Object | defaultDelegate()Returns the default delegate, which is the object that is assigned to new adaptor instances as the delegate, or nullif
 no default delegate is set. | 
| abstract  Class | defaultExpressionClass()An abstract method that should be implemented by subclasses to return the subclass of EOSQLExpression used as the default expression class for the adaptor. | 
|  Object | delegate()Returns the receiver's delegate or nullif a delegate has not
 been assigned. | 
|  void | dropDatabaseWithAdministrativeConnectionDictionary(NSDictionary administrativeConnectionDictionary)Uses the administrative login information to drop the database defined by the administrativeConnectionDictionary. | 
|  Class | expressionClass()Returns the subclass of EOSQLExpression used by the receiver for query language expressions, which is assigned using the class method setExpressionClassName. | 
| static String | expressionClassName(String adaptorClassName)Returns the class name of the subclass of EOSQLExpression used for expression evaluation on a given adaptor class. | 
| abstract  EOSQLExpressionFactory | expressionFactory()An abstract method that supports changes made to EOSQLExpression and related classes and interfaces. | 
|  NSArray | externalTypesWithModel(EOModel model)The default implementation returns an empty array. | 
|  NSData | fetchedValueForDataValue(NSData value,
                         EOAttribute att)The default implementation returns valueunchanged. | 
|  NSTimestamp | fetchedValueForDateValue(NSTimestamp value,
                         EOAttribute att)The default implementation returns valueunchanged. | 
|  Number | fetchedValueForNumberValue(Number value,
                           EOAttribute att)The default implementation returns valueunchanged. | 
|  String | fetchedValueForStringValue(String value,
                           EOAttribute att)The default implementation returns valueunchanged. | 
|  Object | fetchedValueForValue(Object value,
                     EOAttribute att)Returns the value that the receiver's database server would ultimately store for valueif it were inserted or 
 updated in the column described byatt. | 
|  void | handleDroppedConnection()Invoked when necessary to clean up after a dropped connection. | 
|  boolean | hasOpenChannels()Returns trueif any of the receiver's contexts have open
 channels,falseotherwise. | 
|  String | internalTypeForExternalType(String extType,
                            EOModel model)The default implementation returns null. | 
|  boolean | isDroppedConnectionException(Exception exception)The default implementation returns false. | 
| abstract  boolean | isValidQualifierType(String typeName,
                     EOModel model)An abstract method that should be implemented by subclasses to return trueif an attribute of typetypeNamecan be used in a qualifier (an SQL WHERE clause) sent to the database server,falseotherwise. | 
|  String | name()Returns the adaptor's name. | 
|  NSArray | prototypeAttributes()Returns an array of prototype attributes specific to the adaptor class, or an empty array if there are none. | 
|  void | setConnectionDictionary(NSDictionary dictionary)Sets the adaptor's connection dictionary to dictionary,
 which must only contain String, NSData, NSDictionary, and NSArray
 objects. | 
| static void | setDefaultDelegate(Object delegate)Sets the default delegate, which is the object assigned as delegate to all newly created EOAdaptor instances. | 
|  void | setDelegate(Object delegate)Sets the receiver's delegate to delegate, or removes its 
 delegate ifdelegateisnull. | 
| static void | setExpressionClassName(String sqlExpressionClassName,
                       String adaptorClassName)Sets the expression class for instances of the class named adaptorClassNametosqlExpressionClassName. | 
| abstract  EOSchemaGeneration | synchronizationFactory()An abstract method that supports changes made to EOSQLExpression and related classes and interfaces. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public EOAdaptor(String name)
name.
 When you create an adaptor subclass, override this method.
 Never use this constructor directly. It is invoked automatically
 from adaptorWithName and adaptorWithModel, 
 the EOAdaptor static methods used to create new adaptor instances.
name - The name of adaptor to create.adaptorWithName(String name), 
adaptorWithModel(EOModel model)| Method Detail | 
public static EOAdaptor adaptorWithModel(EOModel model)
model, invoking adaptorWithName, and assigning
 model's connection dictionary to the new adaptor.
 Throws an exception if model is null, if
 model's adaptor name is null or an empty string, 
 or if the adaptor named in model can't be loaded.model - The model from which to read the adaptor.IllegalArgumentException - if model is null,
                  if model's adaptor name is null,
                  or if the adaptor named in model can't be loadedadaptorWithName(String name), 
EOModel.adaptorName(), 
setConnectionDictionary(NSDictionary dictionary), 
EOModelpublic static EOAdaptor adaptorWithName(String name)
name.  Usually you would use adaptorWithModel 
 to create a new adaptor istance, but you can use this method when you don't
 have a model. In fact, this method is typically used when you are creating
 an adaptor for the purpose of creating a model from an existing database.name - The adaptor name.adaptorWithModel(EOModel model)public NSDictionary administrativeConnectionDictionaryForAdaptor(EOAdaptor adaptor)
null in the default implementation.  Adaptor subclasses can
 override this method to return the administrative connection dictionary 
 for the specified adaptor. Should return null if the user 
 cancels the panel.adaptor - The adaptor.null by default.public abstract void assertConnectionDictionaryIsValid()
An actual connection is made when the first adaptor channel 
 is sent an openChannel message.
setConnectionDictionary(NSDictionary dictionary), 
EOAdaptorChannel.openChannel()public void assignExternalInfoForAttribute(EOAttribute attribute)
attribute based on attribute's internal
 name.  For example, if the attribute is named "firstName",
 this method assigns the external name "FIRST_NAME". Makes no 
 changes to attribute's column name if attribute 
 is derived.
 This method can be overridden by subclasses to assign other
 database-specific characteristics to attribute, such as external type. 
 Subclasses of EOAdaptor don't need to implement this method. A subclass
 that does implement this method must incorporate the superclass's 
 version.
attribute - The attribute.assignExternalTypeForAttribute(EOAttribute attribute), 
assignExternalInfoForEntireModel(EOModel model)public void assignExternalInfoForEntireModel(EOModel model)
model. Used in
 EOModeler to switch a model's adaptor. This method examines each entity
 in model. If an entity's external name is not set and all of
 the entity's attribute's external names are not set, then this method uses
 assignExternalInfoForEntity and
 assignExternalInfoForAttribute to assign external names. If the
 entity's external name is set or if any of the entity's attributes' external
 names are set, then the method doesn't assign external names to the entity
 or any of its attributes. Regardless, this method assigns external types for
 all the model's attributes. Recurses through entities and their attributes 
 calling  the conversion methods above.
A subclass of EOAdaptor doesn't need to implement this method.
model - The model.assignExternalInfoForEntity(EOEntity entity), 
assignExternalInfoForAttribute(EOAttribute attribute)public void assignExternalInfoForEntity(EOEntity entity)
entity 
 based on entity's name attribute.
 An adaptor subclass should implement this method to assign additional
 database-specific characteristics, if any, to entity. A 
 subclass that does implement this method must incorporate the superclass's 
 version.
entity - An EOEntity.assignExternalInfoForEntireModel(EOModel model), 
EOEntity.name(), 
EOEntity.externalNameForInternalName(String internalName, 
                 String separatorString, boolean allCaps)public void assignExternalTypeForAttribute(EOAttribute attribute)
attribute. 
 An adaptor subclass should implement this method to assign an external
 type using attribute's internal type, precision, and length
 information.attribute - The attribute for which to set a corresponding
                     external type.assignExternalInfoForEntireModel(EOModel model)public boolean canServiceModel(EOModel model)
true if the receiver can service model,
 false otherwise. EOAdaptor's implementation returns
 true if the receiver's connection dictionary is equal to
 model's connection dictionary as determined by NSDictionary's
 isEqual method.
 Subclasses of EOAdaptor don't need to override this method.
model - A model.true if this adaptor instance can service 
                  database access requests for this model.public NSDictionary connectionDictionary()
null if the
 adaptor doesn't have one. The connection dictionary contains the values,
 such as user name and password, needed to connect to the database server.
 The dictionary's keys identify the information the server expects, and its
 values are the values that the adaptor will try when connecting. Connection dictionary
 keys are specific to each adaptor; refer to your adaptor's documentation for the keys it uses.
 A subclass of EOAdaptor doesn't need to override this method.
null.public NSArray contexts()
createAdaptorContext()public abstract EOAdaptorContext createAdaptorContext()
null if a new context can't be created.
 A newly created EOAdaptor has no contexts.contexts()public void createDatabaseWithAdministrativeConnectionDictionary(NSDictionary administrativeConnectionDictionary)
administrativeConnectionDictionary.
 Throws an exception if administrativeConnectionDictionary
 is null.administrativeConnectionDictionary - The administrative connection
                                            dictionary.EOGeneralAdaptorException - if 
                   administrativeConnectionDictionary is
                   null.dropDatabaseWithAdministrativeConnectionDictionary(
      NSDictionary administrativeConnectionDictionary)public static Object defaultDelegate()
null if
 no default delegate is set.null.public abstract Class defaultExpressionClass()
setExpressionClassName(
               String sqlExpressionClassName,
               String adaptorClassName)public Object delegate()
null if a delegate has not
 been assigned. Subclasses of EOAdaptor don't need to override this method.null.public void dropDatabaseWithAdministrativeConnectionDictionary(NSDictionary administrativeConnectionDictionary)
administrativeConnectionDictionary.
 Throws an exception if administrativeConnectionDictionary
 is null.administrativeConnectionDictionary - The administrative connection
                                           dictionary.EOGeneralAdaptorException - if 
                   administrativeConnectionDictionary is
                   null.createDatabaseWithAdministrativeConnectionDictionary(
          NSDictionary administrativeConnectionDictionary)public Class expressionClass()
setExpressionClassName. If no class has been set
 for the receiver's class, this method determines the expression class by
 sending defaultExpressionClass to this. Throws
 an exception if the expression class is not loaded in memory.
 You rarely need to invoke this method yourself. It is invoked by the Enterprise Objects Framework to determine the class to use to represent query language expressions. You should use this method if you explicitly create EOSQLExpression instances. To be sure that you are using the correct expression class, create instances of the class returned from this method.
Subclasses of EOAdaptor don't need to override this method. A subclass
 that does override this method must incorporate the superclass's version
 by calling super.
IllegalStateException - if the expression class is not in 
             memory.setExpressionClassName(String sqlExpressionClassName,
             String adaptorClassName), 
defaultExpressionClass()public static String expressionClassName(String adaptorClassName)
adaptorClassName - The name of the adaptor class.setExpressionClassName(String
                          sqlExpressionClassName, String adaptorClassName)public abstract EOSQLExpressionFactory expressionFactory()
EOSQLExpressionpublic NSArray externalTypesWithModel(EOModel model)
model is an optional argument that can be used to supplement
 the adaptor's set of database types with additional, user-defined database 
 types. Refer to your adaptor's  documentation to determine whether, and how,
 it uses the model for type mapping.
model - An optional argument that can be used to supplement
                   the adaptor's set of database types with additional,
                   user-defined database types.
public NSData fetchedValueForDataValue(NSData value,
                                       EOAttribute att)
value unchanged.
 This method can be overridden by subclasses to return the value that the 
 receiver's database server would ultimately store for value 
 if it were inserted or updated in the column described by att.
 An adaptor subclass should override  this method if the adaptor's database
 performs transformations on binary types, such as BLOBs.
This method is  invoked from fetchedValueForValue 
 when the value argument is an NSData.
value - The original value.att - The attribute corresponding to the database column in
                  which value would be stored.value unchanged by default.fetchedValueForValue(Object value, EOAttribute att)
public NSTimestamp fetchedValueForDateValue(NSTimestamp value,
                                            EOAttribute att)
value unchanged.
 This method can be overridden by subclasses to return the value that the 
 receiver's database server would ultimately store for value 
 if it were inserted or updated in the column described by att.
 An adaptor subclass should override this method to convert or format date
 values. For example, a concrete adaptor subclass could set 
 value's millisecond value to 0.
 This method is invoked from fetchedValueForValue 
 when the value argument is a date.
value - The original value.att - The attribute corresponding to the database column in
                 which value would be stored.value unchanged by default.fetchedValueForValue(Object value, EOAttribute att)
public Number fetchedValueForNumberValue(Number value,
                                         EOAttribute att)
value unchanged.
 This method can be overridden by subclasses to return the value that the
 receiver's database server would ultimately store for value 
 if it were inserted or updated in the column described by att.
 An adaptor subclass should override this method to convert or format 
 numeric values. For example, a concrete adaptor subclass should probably 
 round value according to the precision and scale rules of
 the database.
 This method is invoked from fetchedValueForValue when the 
 value argument is a number.
value - The original value.att - The attribute corresponding to the database column in
                 which value would be stored.value unchanged by default.fetchedValueForValue(Object value, EOAttribute att)
public String fetchedValueForStringValue(String value,
                                         EOAttribute att)
value unchanged.
 This method can be overridden by subclasses to return the value that the
 receiver's database server would ultimately store for value 
 if it were inserted or updated in the column described by att. 
 An adaptor subclass should override this method to perform any additional
 conversion or formatting that is needed on string values. 
 This method is invoked from fetchedValueForValue 
 when the value argument is a string.
value - The original value.att - The attribute corresponding to the database column in
                   which value would be stored.value unchanged by default.fetchedValueForValue(Object value, EOAttribute att)
public Object fetchedValueForValue(Object value,
                                   EOAttribute att)
value if it were inserted or 
 updated in the column described by att. Returns
 value unchanged if value is not a string, 
 number, date, or data object (that is, an instance of String, 
 Number, NSTimestamp, NSData, or one of their subclasses). The
 Framework uses this method to keep Enterprise Object snapshots
 synchronized with database values. 
 For example, assume that a product's price is marked down 15%. If
 the product's original price was 5.25, the sale price is 5.25*.85, 
 or 4.4625. When the Enterprise Objects Framework updates the 
 product's price, the database server truncates the price to 4.46 
 (assuming the scale of the price column in the database is 2).
 Before performing the update, the Framework calls 
 fetchedValueForValue with the value 4.4625. The adaptor
 performs the database-specific transformation and returns 4.46. The
 Framework assigns the truncated value to the product object and to
 the product object's snapshot and then proceeds with the update.
 
An adaptor subclass can override this method or one of the data
 type-specific fetchedValue... methods. EOAdaptor's 
 implementation invokes one of the data type-specific
 methods depending on value's class. 
This method invokes adaptorFetchedValueForValue, 
 which can override the adaptor's default behavior.
value - The original value.att - The attribute corresponding to the database column
                 in which value would be stored.value, or the new value.fetchedValueForDataValue(NSData value,
                 EOAttribute att), 
fetchedValueForDateValue(
                 NSTimestamp value,
                 EOAttribute att), 
fetchedValueForNumberValue(Number value,
                 EOAttribute att), 
fetchedValueForStringValue(String value,
                 EOAttribute att), 
EOAttribute.valueFactoryMethod(), 
EOAdaptorpublic void handleDroppedConnection()
handleDroppedConnection to all of its adaptor contexts and then
 clears its array of contexts. If the delegate implements
 reconnectionDictionaryForAdaptor, that method is invoked, and
 the return value is assigned to the adaptor as its new connection dictionary.
 Never invoke this method yourself. It is invoked automatically by the Framework. Subclasses don't normally need to override the superclass implementation.
EOAdaptor.Delegate.reconnectionDictionaryForAdaptor(EOAdaptor adaptor), 
EOAdaptorContext.handleDroppedConnection()public boolean hasOpenChannels()
true if any of the receiver's contexts have open
 channels, false otherwise. Subclasses of EOAdaptor don't
 need to override this method.true if the adaptor has any open channels.EOAdaptorContext.hasOpenChannels()
public String internalTypeForExternalType(String extType,
                                          EOModel model)
null.
 This method can be overridden by subclasses to return the name of the class
 used to represent values stored in the database as extType.
 Should return null if no mapping for extType is 
 found.
 model is an optional argument that can be used to supplement
 the adaptor's set of type mappings with additional mappings for user-defined
 database types. Refer to your adaptor's documentation to determine whether,
 and how, it uses the model for type mapping.
extType - The name of the external type.model - An optional argument that can be used to supplement
                   the adaptor's set of type mappings with additional
                   mappings for user-defined database types.null by default.public boolean isDroppedConnectionException(Exception exception)
false. Subclasses 
 that support database reconnection should implement this method to
 allow for automatic database reconnection. This method should return
 true if the exception is one that the adaptor can 
 attempt to recover from by reconnecting to the database, 
 false otherwise.
 Invoked if an exception is thrown during fetching or saving. If 
 the adaptor returns true, it then attempts to reconnect
 to the database and retries the operation. If the reconnection 
 attempt fails, the exception from the failure is thrown as usual. If
 the adaptor returns false, reconnection isn't attempted
 and the exception is thrown.
exception - An exception object.false by default.handleDroppedConnection(), 
EOAdaptor.Delegate.reconnectionDictionaryForAdaptor(
                 EOAdaptor adaptor)
public abstract boolean isValidQualifierType(String typeName,
                                             EOModel model)
true if an attribute of type typeName
 can be used in a qualifier (an SQL WHERE clause) sent to the database server,
 false otherwise. typeName is the name of a type as
 required by the database server. model is an optional argument
 that can be used to supplement the adaptor's set of type mappings with 
 additional mappings for user-defined database types.typeName - The name of a type as determined by the database server.model - A model.true if an attribute of type
                     typeName can be used in a qualifier.public String name()
adaptorWithName(String name)public NSArray prototypeAttributes()
public void setConnectionDictionary(NSDictionary dictionary)
dictionary,
 which must only contain String, NSData, NSDictionary, and NSArray
 objects. Connection information can not be changed while the adaptor
 is connected. Throws an exception if there are any open channels
 when this method is invoked. 
 Subclasses of EOAdaptor don't need to override this method.
 A subclass that does override this method must incorporate the
 superclass's version by calling super.
dictionary - The adaptor's connection dictionary.IllegalArgumentException - if there are any
                         open channels when this method is called.connectionDictionary(), 
hasOpenChannels(), 
assertConnectionDictionaryIsValid()public static void setDefaultDelegate(Object delegate)
delegate - The object assigned as delegate to all newly
                      created EOAdaptor instances.public void setDelegate(Object delegate)
delegate, or removes its 
 delegate if delegate is null. Subclasses of 
 EOAdaptor don't need to override this method. A subclass that does override
 this method must incorporate the superclass's version by calling
 super.delegate - The receiver's delegate.
public static void setExpressionClassName(String sqlExpressionClassName,
                                          String adaptorClassName)
adaptorClassName to
 sqlExpressionClassName. If
 sqlExpressionClassName is null, restores 
 the expression class to the default. Throws an exception if 
 adaptorClassName is null or an empty 
 string. Use this method to substitute a subclass of EOSQLExpression
 for the expression class provided by the adaptor.sqlExpressionClassName - The name of a subclass of 
                               EOSQLExpression.adaptorClassName - The class name of affected adaptor.IllegalArgumentException - if 
                               adaptorClassName is
                               null or an empty string.expressionClassName(String className), 
defaultExpressionClass(), 
EOSQLExpressionpublic abstract EOSchemaGeneration synchronizationFactory()
EOSQLExpression| 
 | Last updated Fri Feb 21 13:15:00 PST 2003. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||