diff options
Diffstat (limited to 'Frameworks/QueryKit/Source/QKQueryParameter.h')
-rw-r--r-- | Frameworks/QueryKit/Source/QKQueryParameter.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/Frameworks/QueryKit/Source/QKQueryParameter.h b/Frameworks/QueryKit/Source/QKQueryParameter.h index 18f87929..b2436468 100644 --- a/Frameworks/QueryKit/Source/QKQueryParameter.h +++ b/Frameworks/QueryKit/Source/QKQueryParameter.h @@ -29,6 +29,7 @@ // OTHER DEALINGS IN THE SOFTWARE. #import "QKQueryOperators.h" +#import "QKQueryGenericParameter.h" /** * @class QKQueryParameter QKQueryParameter.h @@ -37,30 +38,16 @@ * * QueryKit query parameter class. */ -@interface QKQueryParameter : NSObject -{ - NSString *_field; - +@interface QKQueryParameter : QKQueryGenericParameter +{ QKQueryOperator _operator; - - id _value; } /** - * @property _field The field component of the parameter. - */ -@property (readwrite, retain, getter=field, setter=setField:) NSString *_field; - -/** * @property _operator The operator component of the parameter. */ @property (readwrite, assign, getter=operator, setter=setOperator:) QKQueryOperator _operator; -/** - *@property _value The value component of the parameter. - */ -@property (readwrite, retain, getter=value, setter=setValue:) id _value; - + (QKQueryParameter *)queryParamWithField:(NSString *)field operator:(QKQueryOperator)op value:(id)value; - (id)initParamWithField:(NSString *)field operator:(QKQueryOperator)op value:(id)value; |