34 lines
882 B
Objective-C
34 lines
882 B
Objective-C
//
|
|
// MAFolder.h
|
|
// Medianno
|
|
//
|
|
// Created by Matthias Neeracher on 8/10/11.
|
|
// Copyright (c) 2011 Apple Computer. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreData/CoreData.h>
|
|
|
|
@class MAFolder;
|
|
|
|
@interface MAFolder : NSManagedObject {
|
|
@private
|
|
}
|
|
@property (nonatomic, retain) NSString * name;
|
|
@property (nonatomic, retain) MAFolder *parent;
|
|
@property (nonatomic, retain) NSSet *children;
|
|
@property (nonatomic, retain) NSSet *contents;
|
|
@end
|
|
|
|
@interface MAFolder (CoreDataGeneratedAccessors)
|
|
|
|
- (void)addChildrenObject:(MAFolder *)value;
|
|
- (void)removeChildrenObject:(MAFolder *)value;
|
|
- (void)addChildren:(NSSet *)values;
|
|
- (void)removeChildren:(NSSet *)values;
|
|
- (void)addContentsObject:(NSManagedObject *)value;
|
|
- (void)removeContentsObject:(NSManagedObject *)value;
|
|
- (void)addContents:(NSSet *)values;
|
|
- (void)removeContents:(NSSet *)values;
|
|
@end
|