SIFWorks ADK 2.0
ConditionGroup Class
NamespacesEdustructures.SifWorksConditionGroup

[This is preliminary documentation and is subject to change.]

A group of query conditions.
Declaration Syntax
C#Visual BasicVisual C++
public class ConditionGroup
Public Class ConditionGroup
public ref class ConditionGroup
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ConditionGroupConditionGroupNew(GroupOperator)
Constructs a ConditionGroup

AddCondition(Condition)
Adds a Condition to this group

AddCondition(IElementDef, ComparisonOperators, String)
Adds a condition to this group

AddGroup(ConditionGroup)
Adds a nested ConditionGroup to this group

Conditions
Gets the conditions in this group. If the group consists of only nested ConditionGroups, an empty array is returned; use the getConditionGroups method to retrieve the nested groups.

Groups
Gets the nested ConditionGroups in this group. If the group does not contain any nested ConditionGroups and is comprised of only Condition elements, an empty array is returned

HasCondition(IElementDef)
Tests if this ConditionGroup has a Condition for a specific element or attribute. Nested ConditionGroups are not included in the search.

HasConditions()()
Determines if there are any conditions in this group, including any nested ConditionGroups

Operator
Gets the Boolean operator for joining all conditions in this group

Size()()
Gets the number of conditions in this group.

Remarks
A ConditionGroup is a container for Condition objects that are evaluated together as a group using the Boolean operator passed to the constructor. ConditionGroups may be nested such that each ConditionGroup is evaluated using the Boolean operator passed to the constructor.
Inheritance Hierarchy
Object
ConditionGroup

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10