NSPropertyMapping Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/CoreData.framework
Availability
Available in OS X v10.5 and later.
Companion guide
Declared in
NSPropertyMapping.h

Overview

Instances of NSPropertyMapping specify in a mapping model how to map from a property in a source entity to a property in a destination entity.

Tasks

Managing Mapping Attributes

Instance Methods

name

Returns the name of the property in the destination entity for the receiver.

- (NSString *)name
Return Value

The name of the property in the destination entity for the receiver.

Availability
  • Available in OS X v10.5 and later.
See Also
Declared In
NSPropertyMapping.h

setName:

Sets the name of the property in the destination entity for the receiver.

- (void)setName:(NSString *)name
Parameters
name

The name of the property in the destination entity for the receiver.

Availability
  • Available in OS X v10.5 and later.
See Also
Declared In
NSPropertyMapping.h

setUserInfo:

Sets the user info for the receiver.

- (void)setUserInfo:(NSDictionary *)userInfo
Parameters
userInfo

The user info for the receiver.

Availability
  • Available in OS X v10.5 and later.
See Also
Declared In
NSPropertyMapping.h

setValueExpression:

Sets the value expression for the receiver.

- (void)setValueExpression:(NSExpression *)expression
Parameters
expression

The the value expression for the receiver.

Availability
  • Available in OS X v10.5 and later.
Declared In
NSPropertyMapping.h

userInfo

Returns the user info for the receiver.

- (NSDictionary *)userInfo
Return Value

The user info for the receiver.

Availability
  • Available in OS X v10.5 and later.
Declared In
NSPropertyMapping.h

valueExpression

Returns the value expression for the receiver.

- (NSExpression *)valueExpression
Return Value

The value expression for the receiver.

Discussion

The expression is used to create the value for the destination property.

Availability
  • Available in OS X v10.5 and later.
Declared In
NSPropertyMapping.h