Public Member Functions | Properties

SimpleDBUpdateCondition Class Reference

Update Condition. More...

#import <SimpleDBUpdateCondition.h>

List of all members.

Public Member Functions

(id) - init
 Default constructor for a new UpdateCondition object.
(id) - initWithName:andValue:andExists:
 Constructs a new UpdateCondition object.
(NSString *) - description
 Returns a string representation of this object; useful for testing and debugging.

Properties

NSString * name
 The name of the attribute involved in the condition.
NSString * value
 The value of an attribute.
bool exists
 A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied.

Detailed Description

Update Condition.


Member Function Documentation

- (NSString* SimpleDBUpdateCondition.)description  

Returns a string representation of this object; useful for testing and debugging.

Returns:
A string representation of this object.
- (id SimpleDBUpdateCondition.)init  

Default constructor for a new UpdateCondition object.

Callers should use the property methods to initialize this object after creating it.

- (id SimpleDBUpdateCondition.)initWithName: (NSString *)  theName
andValue: (NSString *)  theValue
andExists: (bool)  theExists 

Constructs a new UpdateCondition object.

Callers should use properties to initialize any additional object members.

Parameters:
theName The name of the attribute involved in the condition.
theValue The value of an attribute. This value can only be specified when the Exists parameter is equal to true.
theExists A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify true if the attribute must exist for the update condition to be satisfied. Specify false if the attribute should not exist in order for the update condition to be satisfied.

Property Documentation

- (bool) exists [read, write, assign]

A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied.

Specify true if the attribute must exist for the update condition to be satisfied. Specify false if the attribute should not exist in order for the update condition to be satisfied.

- (NSString *) value [read, write, retain]

The value of an attribute.

This value can only be specified when the Exists parameter is equal to true.


The documentation for this class was generated from the following file: