]> err.no Git - sope/blob - sope-gdl1/GDLAccess/EOEntity+Factory.h
renamed PostgreSQL72 to PostgreSQL, install in Library/GDLAdaptors-1.1
[sope] / sope-gdl1 / GDLAccess / EOEntity+Factory.h
1 // $Id: EOEntity+Factory.h 1 2004-08-20 10:38:46Z znek $
2
3 #ifndef __GDLAccess_EOEntity_Factory_H__
4 #define __GDLAccess_EOEntity_Factory_H__
5
6 #import <GDLAccess/EOEntity.h>
7
8 @class NSDictionary;
9 @class EOAttribute;
10
11 @interface EOEntity(AttributeNames)
12
13 - (NSArray *)attributeNames;
14
15 @end
16
17 @interface EOEntity(PrimaryKeys)
18
19 - (BOOL)isPrimaryKeyAttribute:(EOAttribute *)_attribute;
20 - (unsigned)primaryKeyCount;
21
22 @end
23
24 @interface EOEntity(ObjectFactory)
25
26 - (id)produceNewObjectWithPrimaryKey:(NSDictionary *)_key;
27 - (void)setAttributesOfObjectToEONull:(id)_object;
28
29 @end
30
31 #endif /* __GDLAccess_EOEntity_Factory_H__ */