Instance Property

subentities

An array containing the sub-entities of the receiver.

Declaration

@property(strong) NSArray<NSEntityDescription *> *subentities;

Discussion

The sub-entities are instances of NSEntityDescription.

Special Considerations

Setting the sub-entities raises an exception if the receiver’s model has been used by an object graph manager.

See Also

Managing Inheritance

subentitiesByName

A dictionary containing the receiver’s sub-entities.

superentity

The super-entity of the receiver.

- isKindOfEntity:

Returns a Boolean value that indicates whether the receiver is a sub-entity of another given entity.