Class CompiledElementBase
The process of compiling decision models to runnable code involves several steps of parsing, replacement, normalization, etc... Each decision model element type serves a similar purpose, and therefore compiles to a similar form. Furthermore, decision model elements retain a parent based hierarchical means of identification; this remains true regardless of which language we are compiling code for.
The purpose of a CompiledElementBase is to transform a decision model element into a normalized form valid given a chosen CompiledElementBase.Syntax. This allows generalizable steps in compilation to be performed in an ICompiledElementFactory<T_CompiledElement>, and language specific steps in compilation to be performed in an ICompiler
Inherited Members
Namespace: Quantellia.WMServer.Execution.Compilation
Assembly: WMServer.dll
Syntax
public abstract class CompiledElementBase
Properties
Dependencies
A list of DecisionModelElements that this CompiledElementBase is dependant on.
Declaration
public List<DecisionModelElement> Dependencies { get; set; }
Property Value
| Type | Description |
|---|---|
| List<DecisionModelElement> |
FullyQualifiedIdentifier
A syntax valid means of identifying this element. (i.e. The element C may have the fully qualified name A.B.C, and the fully qualified identifier A_Dot_B_Dot_C)
Declaration
public string FullyQualifiedIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SourceElement
The DecisionModelElement that composes this CompiledElementBase.
Declaration
public DecisionModelElement SourceElement { get; set; }
Property Value
| Type | Description |
|---|---|
| DecisionModelElement |
Methods
AsElementDependencyResults()
Converts this CompiledElementBase to an API facing format.
Declaration
public ElementDependencyResults AsElementDependencyResults()
Returns
| Type | Description |
|---|---|
| ElementDependencyResults |