-#import <Foundation/Foundation.h>
+//
+// NJInputPathElement.h
+// Enjoyable
+//
+// Created by Joe Wreschnig on 3/13/13.
+//
+//
+@interface NJInputPathElement : NSObject
-@protocol NJInputPathElement <NSObject>
+- (id)initWithName:(NSString *)name
+ did:(NSString *)did
+ base:(NJInputPathElement *)base;
-- (NSArray *)children;
-- (id <NJInputPathElement>) base;
-- (NSString *)name;
-- (NSString *)uid;
+@property (nonatomic, weak) NJInputPathElement *base;
+@property (nonatomic, copy) NSString *name;
+@property (nonatomic, readonly) NSString *uid;
+@property (nonatomic, strong) NSArray *children;
+
+- (NJInputPathElement *)elementForUID:(NSString *)uid;
@end