blob: 7a0aae604f480955003b93c561e1b0feda8da395 (
plain)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
{ Parsed from Coredata.framework NSEntityMapping.h }
{$ifdef TYPES}
{$ifndef NSENTITYMAPPING_PAS_T}
{$define NSENTITYMAPPING_PAS_T}
{ Constants }
const
NSUndefinedEntityMappingType = $00;
NSCustomEntityMappingType = $01;
NSAddEntityMappingType = $02;
NSRemoveEntityMappingType = $03;
NSCopyEntityMappingType = $04;
NSTransformEntityMappingType = $05;
{ Types }
type
NSEntityMappingType = NSUInteger;
NSEntityMappingTypePtr = ^NSEntityMappingType;
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSENTITYMAPPING_PAS_R}
{$define NSENTITYMAPPING_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSENTITYMAPPING_PAS_F}
{$define NSENTITYMAPPING_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSENTITYMAPPING_PAS_S}
{$define NSENTITYMAPPING_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSEntityMapping = objcclass;
NSEntityMappingPointer = ^NSEntityMapping;
NSEntityMappingPtr = NSEntityMappingPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSENTITYMAPPING_PAS_C}
{$define NSENTITYMAPPING_PAS_C}
{ NSEntityMapping }
NSEntityMapping = objcclass external (NSObject)
private
_reserved: Pointer;
_reserved1: Pointer;
_reserved2: Pointer;
_name: NSString;
_mappingType: NSEntityMappingType;
_sourceEntityName: NSString;
_sourceEntityVersionHash: NSData;
_destinationEntityName: NSString;
_destinationEntityVersionHash: NSData;
_sourceExpression: NSExpression;
_userInfo: NSDictionary;
_entityMigrationPolicyClassName: NSString;
_attributeMappings: NSMutableArray;
_relationshipMappings: NSMutableArray;
__entityMappingFlags: record
case byte of
0: (_anonbitfield_NSEntityMapping0: cuint);
1: (data: bitpacked record
_isInUse: 0..1;
_reservedEntityMapping: 0..((1 shl 31)-1);
end;
);
end;
public
function name: NSString; message 'name';
procedure setName(name_: NSString); message 'setName:';
function mappingType: NSEntityMappingType; message 'mappingType';
procedure setMappingType(type_: NSEntityMappingType); message 'setMappingType:';
function sourceEntityName: NSString; message 'sourceEntityName';
procedure setSourceEntityName(name_: NSString); message 'setSourceEntityName:';
function sourceEntityVersionHash: NSData; message 'sourceEntityVersionHash';
procedure setSourceEntityVersionHash(vhash: NSData); message 'setSourceEntityVersionHash:';
function destinationEntityName: NSString; message 'destinationEntityName';
procedure setDestinationEntityName(name_: NSString); message 'setDestinationEntityName:';
function destinationEntityVersionHash: NSData; message 'destinationEntityVersionHash';
procedure setDestinationEntityVersionHash(vhash: NSData); message 'setDestinationEntityVersionHash:';
function attributeMappings: NSArray; message 'attributeMappings';
procedure setAttributeMappings(mappings: NSArray); message 'setAttributeMappings:';
function relationshipMappings: NSArray; message 'relationshipMappings';
procedure setRelationshipMappings(mappings: NSArray); message 'setRelationshipMappings:';
function sourceExpression: NSExpression; message 'sourceExpression';
procedure setSourceExpression(source: NSExpression); message 'setSourceExpression:';
function userInfo: NSDictionary; message 'userInfo';
procedure setUserInfo(dict: NSDictionary); message 'setUserInfo:';
function entityMigrationPolicyClassName: NSString; message 'entityMigrationPolicyClassName';
procedure setEntityMigrationPolicyClassName(name_: NSString); message 'setEntityMigrationPolicyClassName:';
end;
{$endif}
{$endif}
|