Ens.Rule.SubCondition
persistent class Ens.Rule.SubCondition extends %Library.Persistent, %XML.Adaptor
SQL Table Name: Ens_Rule.SubCondition
Property Inventory
Method Inventory
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")) , Required ];
Property methods: CondNoDisplayToLogical(), CondNoGet(), CondNoGetStored(), CondNoIsValid(), CondNoLogicalToDisplay(), CondNoNormalize(), CondNoSet(), CondNoXSDToLogical()
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 methods: JoinOperatorDisplayToLogical(), JoinOperatorGet(), JoinOperatorGetStored(), JoinOperatorIsValid(), JoinOperatorLogicalToDisplay(), JoinOperatorLogicalToOdbc(), JoinOperatorNormalize(), JoinOperatorSet()
property Operand1 as %String (MAXLEN = 255, 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 #)
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 methods: Operand1DisplayToLogical(), Operand1Get(), Operand1GetStored(), Operand1IsValid(), Operand1LogicalToDisplay(), Operand1LogicalToOdbc(), Operand1Normalize(), Operand1Set()
property Operand2 as %String (MAXLEN = 255, 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 #)
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 methods: Operand2DisplayToLogical(), Operand2Get(), Operand2GetStored(), Operand2IsValid(), Operand2LogicalToDisplay(), Operand2LogicalToOdbc(), Operand2Normalize(), Operand2Set()
property Operator as %String (MAXLEN = 20, VALUELIST = ",=,!=,>,>=,<,<=,Contains,DoesNotContain,In,NotIn,StartsWith,DoesNotStartWith,Like,NotLike,Matches,DoesNotMatch,InFile,NotInFile", XMLNAME = "operator", XMLPROJECTION = "attribute");
Operator used for this condition.
Property methods: OperatorDisplayToLogical(), OperatorGet(), OperatorGetStored(), OperatorIsValid(), OperatorLogicalToDisplay(), OperatorLogicalToOdbc(), OperatorNormalize(), OperatorSet()
relationship SubRule as Ens.Rule.SubRule [ Required , Inverse = Conditions , Cardinality = parent ];
Parent Rule.
Property methods: SubRuleGet(), SubRuleGetObject(), SubRuleGetObjectId(), SubRuleGetStored(), SubRuleGetSwizzled(), SubRuleIsValid(), SubRuleNewObject(), SubRuleOnDelete(), SubRuleRClose(), SubRuleRExec(), SubRuleRFetch(), SubRuleRelate(), SubRuleSQLCompute(), SubRuleSet(), SubRuleSetObject(), SubRuleSetObjectId(), SubRuleUnRelate(), SubRuleUnSwizzle()
Methods
method Evaluate(pRuleSet As RuleDefinition, pContext As %RegisteredObject, Output pValue As %Boolean, Output pErrorMsg As %String) as %Status
Evaluate this condition.
Returns user errors via pErrorMsg.
Returns user errors via pErrorMsg.
method GetExpression() as %String
Return the logical expression for this condition.
Indexes
index (ID on CondNo) [IdKey, Type = key];
Make sure conditions are ordered correctly
Index methods: IDCheck(), IDDelete(), IDExists(), IDOpen(), IDSQLCheckUnique(), IDSQLExists(), IDSQLFindPKeyByConstraint(), IDSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %%CLASSNAMELogicalToStorage()
 - %%CLASSNAMEStorageToLogical()
 - %AddToSaveSet()
 - %AddToSyncSet()
 - %BMEBuilt()
 - %BuildIndicesAsync()
 - %BuildIndicesAsyncResponse()
 - %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()
 - %InitExtentData()
 - %InsertBatch()
 - %IsA()
 - %IsModified()
 - %IsNull()
 - %KillExtent()
 - %KillExtentData()
 - %LoadFromMemory()
 - %LockExtent()
 - %LockId()
 - %New()
 - %NormalizeObject()
 - %ObjectIsNull()
 - %ObjectModified()
 - %Oid()
 - %OnBeforeAddToSync()
 - %OnDeleteFinally()
 - %OnDetermineClass()
 - %OnOpenFinally()
 - %OnSaveFinally()
 - %Open()
 - %OpenId()
 - %OriginalNamespace()
 - %PackageName()
 - %PhysicalAddress()
 - %PurgeIndices()
 - %Reload()
 - %RemoveFromSaveSet()
 - %ResolveConcurrencyConflict()
 - %RollBack()
 - %Save()
 - %SaveDirect()
 - %SaveIndices()
 - %SerializeObject()
 - %SetModified()
 - %SortBegin()
 - %SortEnd()
 - %SyncObjectIn()
 - %SyncTransport()
 - %UnlockExtent()
 - %UnlockId()
 - %ValidateIndices()
 - %ValidateObject()
 - %ValidateTable()
 - XMLDTD()
 - XMLExport()
 - XMLExportToStream()
 - XMLExportToString()
 - XMLNew()
 - XMLSchema()
 - XMLSchemaNamespace()
 - XMLSchemaType()
 
Storage
Storage Model: Storage (Ens.Rule.SubCondition)
{%%PARENT}("Conditions")(ID)  | 
= | %%CLASSNAME 
JoinOperator 
Operator 
Operand1 
Operand2 
 |