BDKeyComparisonQualifier

Inherits from:
BDQualifier
NSObject
Conforms to:
BDQualifierEvaluation
NSCoding
Declared in:
BDControl/BDKeyComparisonQualifier.h

Class at a Glance

A BDKeyComparisonQualifier compares the values of two attributes of the object the qualifier is evaluated against.


Class Description

A BDKeyComparisonQualifier is used to compare two of an object's attributes using one of the standard BDQualifier comparison selectors.


Adopted Protocols

BDQualifierEvaluation
-evaluateWithObject:
NSCoding
-encodeWithCoder:
-initWithCoder:

Method Types

Initialization
-initWithLeftKey:operatorSelector:rightKey:
 
Accessors
-leftKey
-operatorSelector
-rightKey

Instance Methods

initWithLeftKey:operatorSelector:rightKey:

- (id)initWithLeftKey:(NSString *)leftKey operatorSelector:(SEL)operatorSelector rightKey:(NSString *)rightKey

Initializes an instance of BDKeyComparisonQualifier with the keys to compare and the comparison operation to use.

leftKey

- (NSString *)leftKey

Returns the left-hand key.

operatorSelector

- (SEL)operatorSelector

Returns the selector used to compare the values of the two keys when the qualifier is evaluated.

rightKey

- (NSString *)rightKey

Returns the right-hand key.


Copyright © 2002, 2003, bDistributed.com, Inc. All rights reserved worldwide.