Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

NSPropertyMapping Class Reference

Inherits from
Framework
/System/Library/Frameworks/CoreData.framework
Availability
Available in Mac 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
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
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
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
See Also
Declared In
NSPropertyMapping.h

userInfo

Returns the user info for the receiver.

- (NSDictionary *)userInfo

Return Value

The user info for the receiver.

Availability
See Also
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
See Also
Declared In
NSPropertyMapping.h

Next Page > Hide TOC


Last updated: 2007-05-22




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice