Rule Class Reference

Inherits from NSObject
Declared in Rule.h

– setRuleName:

Sets rule name

- (void)setRuleName:(NSString *)name

Parameters

name

The name of the rule

Declared In

Rule.h

– setRuleDescription:

Sets rule Description

- (void)setRuleDescription:(NSString *)description

Parameters

description

The description of the rule.

Declared In

Rule.h

– setRulePriority:

Sets rule priority

- (void)setRulePriority:(NSString *)priority

Parameters

priority

The priority of the rule

Declared In

Rule.h

– setRuleType:

Sets type of rule

- (void)setRuleType:(NSString *)type

Parameters

type

The type of rule

Declared In

Rule.h

– setRuleStatus:

Sets status of rule

- (void)setRuleStatus:(NSString *)status

Parameters

status

The status of the rule

Declared In

Rule.h

– setRuleResetType:

Sets resetType of rule

- (void)setRuleResetType:(NSString *)resetType

Parameters

resetType

The reset type

Declared In

Rule.h

– setRulePopulationAttributes:

Sets population attributes on rule

- (void)setRulePopulationAttributes:(NSString *)attributes

Parameters

attributes

The population attributes

Declared In

Rule.h

– setRuleOperatorName:

Sets rule opeartor name

- (void)setRuleOperatorName:(NSString *)operatorName

Parameters

operatorName

The name of the operator

Declared In

Rule.h

– addRuleActions:

Adds rule action object to rule action list

- (void)addRuleActions:(RuleActions *)ruleActionsObj

Parameters

ruleActionsObj

The rule action

Declared In

Rule.h

– addRulePopulationId:

Append population Id’s to lsit of Id’s

- (void)addRulePopulationId:(NSString *)populationId

Parameters

populationId

The identifier for the population

Declared In

Rule.h

– addRuleConditionValues:

Append condition value obj to list of conditions

- (void)addRuleConditionValues:(RuleConditionValues *)ruleConditionValuesObj

Parameters

ruleConditionValuesObj

The rule condition values

Declared In

Rule.h