mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-22 19:01:04 +00:00
* config.h.in: o added EMIT_TODO control * EOAccess/EOAccessFault.m: o commented debug logs * EOAccess/EODatabaseContext.m: o more information in asserts o asserts o fix in -relayPrimaryKey:object:entity: for nil 1:1 relationship value o add -forgetSnapshotForGlobalID call in -refaultObject:withGlobalID:editingContext: o add -forgetSnapshotForGlobalID database call in -forgetSnapshotForGlobalID: * EOAccess/EOEntity.m: o logs o fix in -awakeObject:fromInsertionInEditingContext: to avoid setting already present values o reverted code in -awakeObject:fromInsertionInEditingContext: My (old) tests show that we create 1: object not on mandatory property but on propagatesPrimaryKey one if someone has an example of EOF creating an object here without propagatesPrimaryKey, please send it to me. * EOAccess/EOModelGroup.m: o don't autorelease return model group in -globalModelGroup as it will crash. I haven't find why :-( o logs * EOAccess/EOSQLExpression.m: o fix bug in -assembleSelectStatementWithAttributes🔒qualifier: fetchOrder:selectString:columnList:tableList: whereClause:joinClause:orderByClause:lockClause: by adding () around where and join clause o add detail in sqlStringForSelector:value: exception * EOAdaptors/Postgres95/PostPostgres95Channel.m: o add more information on exceptions * EOAdaptors/Postgres95/Postgres95SQLExpression.m: o fix escaping string in -formatValue:forAttribute: o fix bug in -assembleSelectStatementWithAttributes🔒qualifier: fetchOrder:selectString:columnList:tableList: whereClause:joinClause:orderByClause:lockClause: by adding () around where and join clause * EOAdaptors/Postgres95/Postgres95Value.m: o Change log in +newValueForDateType:length:attribute: * EOControl/EOCheapArray.m o removed some logs * EOAccess/EOClassDescription.m: o fix in -validateForUpdate o logs * EOControl/Debug.h: o donditional define of NSEmitTODO() * EOControl/EODetailDataSource.h/.m: o added -setDetailKey: * EOControl/EOEditingContext.m o logs * EOControl/EOFetchSpecification.m o logs * EOControl/EOKeyValueCoding.m: o fix in computeSum, computeAverage * EOControl/EOQualifier.m o logs * EOControl/EOSortOrdering.m o use valueForKeyPath: instead of valueForKey: to allow sort on related objects * EOControl/EOUndoManager.h o protection of include git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@17037 72102866-910b-0410-8b05-ffd578937521
71 lines
2.2 KiB
Objective-C
71 lines
2.2 KiB
Objective-C
/*
|
|
EODetailDataSource.m
|
|
|
|
Copyright (C) 2000 Free Software Foundation, Inc.
|
|
|
|
Author: Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
|
Date: July 2000
|
|
|
|
This file is part of the GNUstep Database Library.
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Library General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2 of the License, or (at your option) any later version.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
License along with this library; see the file COPYING.LIB.
|
|
If not, write to the Free Software Foundation,
|
|
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __EODetailDataSource_h__
|
|
#define __EODetailDataSource_h__
|
|
|
|
#include <EOControl/EODataSource.h>
|
|
|
|
|
|
@class EOKeyValueUnarchiver;
|
|
|
|
|
|
@interface EODetailDataSource : EODataSource <NSCoding>
|
|
{
|
|
EODataSource *_masterDataSource;
|
|
id _masterObject;
|
|
NSString *_detailKey;
|
|
NSString *_masterClassDescriptionName;
|
|
}
|
|
|
|
+ (EODetailDataSource *)detailDataSourceWithMasterDataSource: (EODataSource *)master
|
|
detailKey: (NSString *)detailKey;
|
|
|
|
- initWithMasterClassDescription: (EOClassDescription *)masterClassDescription
|
|
detailKey: (NSString *)detailKey;
|
|
|
|
- initWithMasterDataSource: (EODataSource *)master
|
|
detailKey: (NSString *)detailKey;
|
|
|
|
- (id) initWithKeyValueUnarchiver: (EOKeyValueUnarchiver *)unarchiver;
|
|
|
|
- (EODataSource *)masterDataSource;
|
|
|
|
- (EOClassDescription *)masterClassDescription;
|
|
- (void)setMasterClassDescription: (EOClassDescription *)classDescription;
|
|
- (EOClassDescription *)classDescriptionForObjects;
|
|
|
|
- (void)qualifyWithRelationshipKey: (NSString *)key
|
|
ofObject: masterObject;
|
|
- (NSString *)detailKey;
|
|
- (void)setDetailKey:(NSString *)detailKey;
|
|
- (id)masterObject;
|
|
|
|
- (EOEditingContext *)editingContext;
|
|
|
|
@end
|
|
|
|
#endif /* __EODetailDataSource_h__ */
|