Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [Rule] >  [Router] >  [Condition]
Private  Storage   

persistent class Ens.Rule.Router.Condition extends %Persistent, %XML.Adaptor

Specialized version of Rule condition used within RoutingRules

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 6 2 1


Summary

Properties
CondNo JoinOperator Operand1 Operand2 Operator
Rule

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject GetExpression
GetJoinList XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType


Parameters

• parameter XMLIGNORENULL = 1;
Ensure that we don't get $C(0) for values that are empty strings

Properties

• property CondNo as %Integer(XMLPROJECTION="none") [ InitialExpression = $I(^Ens.Rule.ConditionC("CondNo")) ];
• property JoinOperator as %String(MAXLEN=3,VALUELIST=",AND,OR",XMLNAME="join",XMLPROJECTION="attribute") [ InitialExpression = "AND",Required ];
How this condition is joined with the previous one.
• property Operand1 as %String(MAXLEN=2500,XMLNAME="op1",XMLPROJECTION="attribute");
First operand for condition.
An operand is one of the following:
A string literal (within quotes)
A numeric literal
A property name (of a property within the associated Business Process context)
The name of another RuleDefinition associated with the same Busiess Process (rule name starts with #)
• property Operand2 as %String(MAXLEN=2500,XMLNAME="op2",XMLPROJECTION="attribute");
Second operand for condition. An operand is one of the following:
A string literal (within quotes)
A numeric literal
A property name (of a property within the associated Business Process context)
The name of another RuleDefinition associated with the same Busiess Process (rule name starts with #)
• property Operator as %String(MAXLEN=20,VALUELIST=",=,!=,>,>=,<,<=,Contains,DoesNotContain,In,NotIn,StartsWith,DoesNotStartWith,Like,NotLike,Matches,DoesNotMatch,InFile,NotInFile,IntersectsList,DoesNotIntersectList",XMLNAME="operator",XMLPROJECTION="attribute");
Operator used for this condition.
• relationship Rule as Ens.Rule.Router.Rule [ Inverse = Conditions,Cardinality = parent ];
Parent Rule.

Methods

• method GetExpression() as %String
Return the logical expression for this condition.
• classmethod GetJoinList() as %String
Called by U.I. to get list of join operators.

Indices

•index (ID on CondNo) [IdKey];
Make sure conditions are ordered correctly


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.