RKMappingInfo Class Reference
Inherits from | NSObject |
Declared in | RKMappingOperation.h |
Overview
Specifies the concrete object mapping and collection of property mappings that were applied for a given key path during the execution of an RKMappingOperation
.
Tasks
Other Methods
-
objectMapping
The mapping that was applied.
property -
dynamicMapping
The dynamic mapping, if any, that was used to perform the mapping.
property -
propertyMappings
The set of property mappings that were applied from the mapping. An empty set indicates that the mapping matched the representation, but all values were unchanged and thus no properties were set.
property -
relationshipMappingInfo
A dictionary whose keys are the destination key path for a mapped relationship and the value is an array of
propertyRKMappingInfo
objects specifying the mapping details for each item within the collection.
Accessing Property by Subscript
-
– objectForKeyedSubscript:
Retrieves the property mapping with the specified destination key path.
Properties
dynamicMapping
The dynamic mapping, if any, that was used to perform the mapping.
@property (nonatomic, strong, readonly) RKDynamicMapping *dynamicMapping
Declared In
RKMappingOperation.h
objectMapping
The mapping that was applied.
@property (nonatomic, strong, readonly) RKObjectMapping *objectMapping
Declared In
RKMappingOperation.h
propertyMappings
The set of property mappings that were applied from the mapping. An empty set indicates that the mapping matched the representation, but all values were unchanged and thus no properties were set.
@property (nonatomic, readonly) NSSet *propertyMappings
Declared In
RKMappingOperation.h
relationshipMappingInfo
A dictionary whose keys are the destination key path for a mapped relationship and the value is an array of RKMappingInfo
objects specifying the mapping details for each item within the collection.
@property (nonatomic, readonly) NSDictionary *relationshipMappingInfo
Declared In
RKMappingOperation.h
Instance Methods
objectForKeyedSubscript:
Retrieves the property mapping with the specified destination key path.
- (id)objectForKeyedSubscript:(id)key
Parameters
- key
An
NSString
object specifying the destination key-path for the property that is to be retrieved.
Return Value
The RKPropertyMapping
with the specified destination key path or nil
if none was found.
Declared In
RKMappingOperation.h