/usr/include/GNUstep/GDLAccess/EOModelGroup.h is in libsope-dev 3.2.10-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | // $Id: EOModelGroup.h 1 2004-08-20 10:38:46Z znek $
#ifndef __EOAccess_EOModelGroup_H__
#define __EOAccess_EOModelGroup_H__
#import <Foundation/NSObject.h>
@class NSDictionary;
@class EOGlobalID, EOFetchSpecification;
@class EOModelGroup, EOModel, EOEntity, EORelationship;
@protocol EOModelGroupClassDelegation < NSObject >
- (EOModelGroup *)defaultModelGroup;
@end
@protocol EOModelGroupDelegation < NSObject >
- (Class)entity:(EOEntity *)_entity
classForObjectWithGlobalID:(EOGlobalID *)_oid;
- (Class)entity:(EOEntity *)_entity
failedToLookupClassNamed:(NSString *)_className;
- (EOEntity *)relationship:(EORelationship *)_relship
failedToLookupDestinationNamed:(NSString *)_entityName;
- (EOEntity *)subEntityForEntity:(EOEntity *)_entity
primaryKey:(NSDictionary *)_pkey
isFinal:(BOOL *)_flag;
- (EOModel *)modelGroup:(EOModelGroup *)_group
entityNamed:(NSString *)_name;
- (EORelationship *)entity:(EOEntity *)_entity
relationshipForRow:(NSDictionary *)_row
relationship:(EORelationship *)_relship;
@end
@class NSArray, NSMutableDictionary;
@interface EOModelGroup : NSObject
{
NSMutableDictionary *nameToModel;
id<EOModelGroupDelegation> delegate; /* non-retained */
}
+ (void)setDefaultGroup:(EOModelGroup *)_group;
+ (EOModelGroup *)defaultGroup;
+ (EOModelGroup *)globalModelGroup;
/* class delegate */
+ (void)setClassDelegate:(id<EOModelGroupClassDelegation>)_delegate;
+ (id<EOModelGroupClassDelegation>)classDelegate;
/* instance delegate */
- (void)setDelegate:(id<EOModelGroupDelegation>)_delegate;
- (id<EOModelGroupDelegation>)delegate;
/* models */
- (void)addModel:(EOModel *)_model;
- (void)removeModel:(EOModel *)_model;
- (EOModel *)modelNamed:(NSString *)_name;
- (NSArray *)modelNames;
- (NSArray *)models;
- (EOModel *)modelWithPath:(NSString *)_path;
- (EOModel *)addModelWithFile:(NSString *)_path;
- (void)loadAllModelObjects;
/* entities */
- (EOEntity *)entityForObject:(id)_object;
- (EOEntity *)entityNamed:(NSString *)_name;
- (EOFetchSpecification *)fetchSpecificationNamed:(NSString *)_name
entityNamed:(NSString *)_entityName;
@end
#endif /* __EOAccess_EOModelGroup_H__ */
|