Up
Authors
- Ovidiu Predescu (
ovidiu@bx.logicnet.ro
)
-
- Mirko Viviani (
mirko.viviani@gmail.com
)
-
Version: 26323
Date: 2008-03-16 23:59:56 +0100 (Son, 16 Mär 2008)
Copyright: (C)
1996-2001,2002,2003,2004,2005 Free
Software Foundation, Inc.
- Declared in:
- EOAccess/EOAdaptor.h
Description forthcoming.
Instance Variables
Method summary
+ (id)
adaptorWithModel: (
EOModel*)model;
Description forthcoming.
+ (id)
adaptorWithName: (NSString*)name;
Description forthcoming.
+ (NSArray*)
availableAdaptorNames;
Returns an array of EOAdaptor frameworks found in
the standard framework locations. If an adaptor is
found in multiple locations the name is listed only
once. An adaptor framework is recognized the the
"EOAdaptor.framework" suffix. The
framework name without this suffix is the name
returned in the array.
+ (void)
setExpressionClassName: (NSString*)sqlExpressionClassName
adaptorClassName: (NSString*)adaptorClassName;
Description forthcoming.
+ (
EOLoginPanel*)
sharedLoginPanelInstance;
Description forthcoming.
- (void)
assertConnectionDictionaryIsValid;
Description forthcoming.
- (BOOL)
canServiceModel: (
EOModel*)model;
Description forthcoming.
- (NSDictionary*)
connectionDictionary;
Description forthcoming.
- (NSArray*)
contexts;
Description forthcoming.
- (NSStringEncoding)
databaseEncoding;
Description forthcoming.
- (Class)
defaultExpressionClass;
Description forthcoming.
- (id)
delegate;
Description forthcoming.
- (Class)
expressionClass;
Description forthcoming.
- (NSData*)
fetchedValueForDataValue: (NSData*)value
attribute: (
EOAttribute*)attribute;
Description forthcoming.
- (NSCalendarDate*)
fetchedValueForDateValue: (NSCalendarDate*)value
attribute: (
EOAttribute*)attribute;
Description forthcoming.
- (NSNumber*)
fetchedValueForNumberValue: (NSNumber*)value
attribute: (
EOAttribute*)attribute;
Description forthcoming.
- (NSString*)
fetchedValueForStringValue: (NSString*)value
attribute: (
EOAttribute*)attribute;
Description forthcoming.
- (id)
fetchedValueForValue: (id)value
attribute: (
EOAttribute*)attribute;
Description forthcoming.
- (void)
handleDroppedConnection;
Description forthcoming.
- (BOOL)
hasOpenChannels;
Description forthcoming.
- (id)
initWithName: (NSString*)name;
Description forthcoming.
- (BOOL)
isDroppedConnectionException: (NSException*)exception;
Description forthcoming.
- (BOOL)
isValidQualifierType: (NSString*)attribute
model: (
EOModel*)model;
Description forthcoming.
- (
EOModel*)
model;
Description forthcoming.
- (NSString*)
name;
Description forthcoming.
- (NSArray*)
prototypeAttributes;
Description forthcoming.
- (void)
setConnectionDictionary: (NSDictionary*)dictionary;
Description forthcoming.
- (void)
setDelegate: (id)delegate;
Description forthcoming.
- (void)
setModel: (
EOModel*)model;
Description forthcoming.
Instance Variables for EOAdaptor Class
@protected NSDictionary* _connectionDictionary;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableArray* _contexts;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _delegate;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected struct ... _delegateRespondsTo;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected Class _expressionClass;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString* _expressionClassName;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected EOModel* _model;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString* _name;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
- Declared in:
- EOAccess/EOAdaptor.h
Description forthcoming.
Method summary
- (NSDictionary*)
administrativeConnectionDictionaryForAdaptor: (
EOAdaptor*)adaptor;
Subclasses should implement this method to
return a connection dictionary for an administrative
user able to create databases etc. Or nil
if the the user cancels.
- (NSDictionary*)
runPanelForAdaptor: (
EOAdaptor*)adaptor
validate: (BOOL)yn
allowsCreation: (BOOL)allowsCreation;
Description forthcoming.
- Declared in:
- EOAccess/EOAdaptor.h
Description forthcoming.
Method summary
- (NSDictionary*)
runLoginPanel;
- (BOOL)
runLoginPanelAndValidateConnectionDictionary;
- Declared in:
- EOAccess/EOAdaptor.h
Description forthcoming.
Method summary
+ (void)
assignExternalInfoForAttribute: (
EOAttribute*)attribute;
Invokes
[+assignExternalTypeForAttribute:]
and unless the
attribute is derived it sets
the column name if it hasn't been set. An
'attributeName' result in a column named
'ATTRIBUTE_NAME'.
NOTE: This
differs from the EOF implementation as EOF
unconditionally sets the the external name
attributes that are not derived. This can cause
trouble on certain RDMS which may not support the
extended names used internally in an application.
Subclass shouldn't need to override this method,
yet if the do, they should call this implementation.
+ (void)
assignExternalInfoForEntireModel: (
EOModel*)model;
Invokes
[+assignExternalInfoForEntity:]
for each of the model's entities. Subclass shouldn't
need to override this method, yet if the do, they
should call this implementation.
+ (void)
assignExternalInfoForEntity: (
EOEntity*)entity;
Invokes
[+assignExternalInfoForAttribute:]
for each of the model's entities. If the externalName
of the
entity hasn't been set, this method
sets it to a standardized name according to the
entities name. An 'entityName' will be converted
to 'ENTITY_NAME'.
Subclass shouldn't need to
override this method, yet if the do, they should
call this implementation.
+ (void)
assignExternalTypeForAttribute: (
EOAttribute*)attribute;
Subclasses must override this method without
invoking this implementation to set the the
external type according to the internal type
information. It should take into account
width, precesion and scale accordingly.
+ (NSArray*)
externalTypesWithModel: (
EOModel*)model;
Subclasses must override this method without
invoking this implementation to return an array of
types available for the RDBMS. A subclass may use
information provided by an optional
model to determine the exact available
types.
+ (NSString*)
internalTypeForExternalType: (NSString*)extType
model: (
EOModel*)model;
Subclasses must override this method without
invoking this implementation to return the name of
the class used internal to the database for the
extType provided. A subclass may use
information provided by an optional
model to determine the exact type.
- Declared in:
- EOAccess/EOAdaptor.h
Description forthcoming.
Method summary
- (void)
createDatabaseWithAdministrativeConnectionDictionary: (NSDictionary*)administrativeConnectionDictionary;
Description forthcoming.
- (void)
dropDatabaseWithAdministrativeConnectionDictionary: (NSDictionary*)administrativeConnectionDictionary;
Description forthcoming.
- Declared in:
- EOAccess/EOAdaptor.h
Description forthcoming.
Method summary
- (id)
adaptor: (
EOAdaptor*)adaptor
fetchedValueForValue: (id)value
attribute: (
EOAttribute*)attribute;
Description forthcoming.
- (NSDictionary*)
reconnectionDictionaryForAdaptor: (
EOAdaptor*)adaptor;
Description forthcoming.
NSString* EOAdaptorKey;
Description forthcoming.
NSString* EOAdministrativeConnectionDictionaryKey;
Description forthcoming.
NSString* EOAdministrativeConnectionDictionaryNeededNotification;
Description forthcoming.
NSString* EOConnectionDictionaryKey;
Description forthcoming.
NSString* EOGeneralAdaptorException;
Description forthcoming.
NSString* EOModelKey;
Description forthcoming.
Up