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 RKMappingInfo objects specifying the mapping details for each item within the collection.

    property

Accessing Property by Subscript

Properties

dynamicMapping

@property (nonatomic, strong, readonly) RKDynamicMapping *dynamicMapping
Discussion

The dynamic mapping, if any, that was used to perform the mapping.

Declared In

RKMappingOperation.h

objectMapping

@property (nonatomic, strong, readonly) RKObjectMapping *objectMapping
Discussion

The mapping that was applied.

Declared In

RKMappingOperation.h

propertyMappings

@property (nonatomic, readonly) NSSet *propertyMappings
Discussion

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.

Declared In

RKMappingOperation.h

relationshipMappingInfo

@property (nonatomic, readonly) NSDictionary *relationshipMappingInfo
Discussion

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.

Declared In

RKMappingOperation.h

Instance Methods

objectForKeyedSubscript:

- (id)objectForKeyedSubscript:(id)key
Discussion

Retrieves the property mapping with the specified destination key path.

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