Home > Class Reference > ENSLIB namespace > Ens.Rule.Assign

Ens.Rule.Assign

persistent class Ens.Rule.Assign extends Ens.Rule.Action

SQL Table Name: Ens_Rule.Assign

Implements the Assign Action for Rules.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property Property as %String (MAXLEN = 128, XMLNAME = "property", XMLPROJECTION = "ATTRIBUTE");
Name of context Property to assign value into.
Property methods: PropertyDisplayToLogical(), PropertyGet(), PropertyGetStored(), PropertyIsValid(), PropertyLogicalToDisplay(), PropertyLogicalToOdbc(), PropertyNormalize(), PropertySet()
property Value as %String (MAXLEN = 128, XMLNAME = "value", XMLPROJECTION = "ATTRIBUTE") [ SqlFieldName = AssignValue ];
Value that is to be assigned.
Property methods: ValueDisplayToLogical(), ValueGet(), ValueGetStored(), ValueIsValid(), ValueLogicalToDisplay(), ValueLogicalToOdbc(), ValueNormalize(), ValueSet()

Methods (Including Private)

method Execute(pRule As Rule, pRuleSet As RuleDefinition, pContext As %RegisteredObject) as %Status
Execute this Assignment Action.
method GenerateCode(pCompiler As Compiler, pActionNo As %Integer, pPad As %String = " ") as %Status
Generate code for this Assign Action.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Storage

Gray indicates storage defined by superclasses.

Storage Model: CacheStorage (Ens.Rule.Action)

{%%PARENT}("Actions")(ID)
=
%%CLASSNAME

Storage Model: CacheStorage (Ens.Rule.Assign)

{%%PARENT}("Actions")(ID,"Assign")
=
Property
Value