diff options
author | Brian Cully <bjc@kublai.com> | 2008-04-14 21:45:08 -0400 |
---|---|---|
committer | Brian Cully <github.20.shmit@spamgourmet.com> | 2008-04-14 21:45:08 -0400 |
commit | 17349a5e426dc7acf1216a3767a22f69974cbca0 (patch) | |
tree | 20029d02f07ab6257cccec36d34fb312f796e1d1 /Frameworks/LiBackend/LiFilter.h | |
download | liaison-17349a5e426dc7acf1216a3767a22f69974cbca0.tar.gz liaison-17349a5e426dc7acf1216a3767a22f69974cbca0.zip |
Initial commit.
Diffstat (limited to 'Frameworks/LiBackend/LiFilter.h')
-rw-r--r-- | Frameworks/LiBackend/LiFilter.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Frameworks/LiBackend/LiFilter.h b/Frameworks/LiBackend/LiFilter.h new file mode 100644 index 0000000..3a81280 --- /dev/null +++ b/Frameworks/LiBackend/LiFilter.h @@ -0,0 +1,38 @@ +// +// LiFilter.h +// LiFrameworks +// +// Created by Brian Cully on Sat Aug 23 2003. +// Copyright (c) 2003 Brian Cully. All rights reserved. +// + +@interface LiFilter : NSObject +{ + NSString *theAttribute; + NSString *theCompareSelector; + id theValue; +} ++ (LiFilter *)filterWithAttribute: (NSString *)anAttribute + compareSelector: (SEL)aSelector + value: (id)aValue; + +- (id)initWithAttribute: (NSString *)anAttribute + compareSelector: (SEL)aSelector + value: (id)aValue; +@property (retain,getter=attribute) NSString *theAttribute; +@property (retain,getter=value) id theValue; +@property (retain) NSString *theCompareSelector; +@end + +@interface LiFilter (Accessors) +- (NSString *)attribute; +- (void)setAttribute: (NSString *)anAttribute; +- (SEL)compareSelector; +- (void)setCompareSelector: (SEL)aSelector; +- (id)value; +- (void)setValue: (id)aValue; +@end + +@interface LiFilter (CommonAccessors) +- (NSString *)description; +@end
\ No newline at end of file |