Up
Authors
- Mirko Viviani (
mirko.viviani@rccr.cremona.it
)
-
Version: 21645
Date: 2005-08-17 10:07:57 +0200 (Mit, 17 Aug 2005)
Copyright: (C) 2000-2002,2003,2004,2005 Free Software Foundation, Inc.
- Declared in:
- EOAccess/EODatabaseOperation.h
Availability: OpenStep
EOAdaptorOperation represent an adaptor 'elementaty' operation. Instance objects are created by EODatabaseOperation
Instance Variables
Method summary
- (
EOAdaptorOperator)
adaptorOperator;
Availability: OpenStep
returns adaptor operator
- (NSArray*)
attributes;
Availability: OpenStep
Description forthcoming.
- (NSDictionary*)
changedValues;
Availability: OpenStep
returns dictionary of changed values
- (NSComparisonResult)
compareAdaptorOperation: (
EOAdaptorOperation*)adaptorOp;
Availability: OpenStep
compare 2 adaptor operations
- (
EOEntity*)
entity;
Availability: OpenStep
returns entity
- (NSException*)
exception;
Availability: OpenStep
Description forthcoming.
- (id)
initWithEntity: (
EOEntity*)entity;
Availability: OpenStep
Init the instance with the main concerned entity
- (
EOQualifier*)
qualifier;
Availability: OpenStep
returns qualifier
- (void)
setAdaptorOperator: (
EOAdaptorOperator)adaptorOperator;
Availability: OpenStep
set adaptor operator
- (void)
setAttributes: (NSArray*)attributes;
Availability: OpenStep
Description forthcoming.
- (void)
setChangedValues: (NSDictionary*)changedValues;
Availability: OpenStep
set dictionary of changed values
- (void)
setException: (NSException*)exception;
Availability: OpenStep
Description forthcoming.
- (void)
setQualifier: (
EOQualifier*)qualifier;
Availability: OpenStep
set Qualifier
- (void)
setStoredProcedure: (
EOStoredProcedure*)storedProcedure;
Availability: OpenStep
Description forthcoming.
- (
EOStoredProcedure*)
storedProcedure;
Availability: OpenStep
Description forthcoming.
Instance Variables for EOAdaptorOperation Class
@protected EOAdaptorOperator _adaptorOperator;
Database Adaptor
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 NSArray* _attributes;
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 NSDictionary* _changedValues;
dictionary of changed fields/values
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 EOEntity* _entity;
Main concerned entity
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 NSException* _exception;
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 EOQualifier* _qualifier;
qualifier
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 EOStoredProcedure* _storedProcedure;
Stored Procedure
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/EODatabaseOperation.h
Availability: OpenStep
EODatabaseOperation represent a database high level operation on an object (record) It creates EOAdaptorOperations. You generally don't need to create such objects by yourself. They are created by EOEditingContext
Instance Variables
Method summary
- (NSArray*)
adaptorOperations;
Availability: OpenStep
returns array of EOAdaptorOperations to perform
- (void)
addAdaptorOperation: (
EOAdaptorOperation*)adaptorOperation;
Availability: OpenStep
adds an Adaptor Operation Raises an exception if adaptorOperation is nil
- (NSDictionary*)
dbSnapshot;
Availability: OpenStep
Returns the database snapshot for the object. The snapshot contains the last known database values for the object. If the object has just been inserted (i.e. not yet in database), the returned dictionary is empty
- (
EOEntity*)
entity;
Availability: OpenStep
Description forthcoming.
- (
EOGlobalID*)
globalID;
Availability: OpenStep
Description forthcoming.
- (id)
initWithGlobalID: (
EOGlobalID*)globalID
object: (id)object
entity: (
EOEntity*)entity;
Availability: OpenStep
Description forthcoming.
- (NSMutableDictionary*)
newRow;
Availability: OpenStep
Returns a dictionary with (new) values (properties+primary keys...) of the object. The newRow dictionary is created when creating the database operation (in EODatabaseChannel
-databaseOperationForObject:
for exemple). Values come from object state in database and overrides by changes made on the object
- (id)
object;
Availability: OpenStep
Description forthcoming.
- (NSDictionary*)
primaryKeyDiffs;
Availability: OpenStep
Description forthcoming.
- (void)
recordToManySnapshot: (NSArray*)gids
relationshipName: (NSString*)name;
Availability: OpenStep
Description forthcoming.
- (void)
removeAdaptorOperation: (
EOAdaptorOperation*)adaptorOperation;
Availability: OpenStep
removes an Adaptor Operation
- (NSDictionary*)
rowDiffs;
Availability: OpenStep
Description forthcoming.
- (NSDictionary*)
rowDiffsForAttributes: (NSArray*)attributes;
Availability: OpenStep
Description forthcoming.
- (void)
setDBSnapshot: (NSDictionary*)dbSnapshot;
Availability: OpenStep
sets the snapshot for the object (should be empty if the object has just been inserted into an EOEditingContext
- (void)
setDatabaseOperator: (
EODatabaseOperator)dbOp;
Availability: OpenStep
Description forthcoming.
- (void)
setNewRow: (NSMutableDictionary*)newRow;
Availability: OpenStep
Description forthcoming.
- (NSDictionary*)
toManySnapshots;
Availability: OpenStep
Description forthcoming.
Instance Variables for EODatabaseOperation Class
@protected NSMutableArray* _adaptorOps;
EOAdaptorOperations generated to perfor this DatabaseOperation
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 EODatabaseOperator _databaseOperator;
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 NSDictionary* _dbSnapshot;
The last known database values for the object (i.e. values from last fetch or last commited operation)
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 EOEntity* _entity;
entity
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 EOGlobalID* _globalID;
global ID of the object
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 NSMutableDictionary* _newRow;
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 _object;
object (record)
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 NSMutableDictionary* _toManySnapshots;
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.
typedef enum ... EOAdaptorOperator;
Description forthcoming.
typedef enum ... EODatabaseOperator;
Description forthcoming.
Up