// // RKObjectRelationshipMapping.h // RestKit // // Created by Blake Watters on 5/4/11. // Copyright 2011 Two Toasters. All rights reserved. // #import #import "RKObjectAttributeMapping.h" #import "RKObjectMappingDefinition.h" @class RKObjectmapping; @interface RKObjectRelationshipMapping : RKObjectAttributeMapping { id _mapping; BOOL _reversible; } @property (nonatomic, retain) id mapping; @property (nonatomic, assign) BOOL reversible; + (RKObjectRelationshipMapping*)mappingFromKeyPath:(NSString*)sourceKeyPath toKeyPath:(NSString*)destinationKeyPath withMapping:(id)objectOrDynamicMapping; + (RKObjectRelationshipMapping*)mappingFromKeyPath:(NSString*)sourceKeyPath toKeyPath:(NSString*)destinationKeyPath withMapping:(id)objectOrDynamicMapping reversible:(BOOL)reversible; @end