Class OpenDIDecisionModel
Representation of a Decision Model that is compliant witht the OpenDI standard.
Inherited Members
Namespace: Quantellia.WMServer.OpenDI
Assembly: WMServer.dll
Syntax
public class OpenDIDecisionModel : OpenDIBase
Constructors
OpenDIDecisionModel()
Default Constructor
Declaration
public OpenDIDecisionModel()
OpenDIDecisionModel(DecisionModel)
Constructor that initializes the OpenDIDecisionModel with values read from the specified Quantellia.WMServer.DecisionModeler.
Declaration
public OpenDIDecisionModel(DecisionModel dm)
Parameters
Type | Name | Description |
---|---|---|
DecisionModel | dm | The World Modeler Decision Model used to initialize this OpenDIDecisionModel |
OpenDIDecisionModel(DecisionModelDTO)
Constructor that initializes the OpenDIDecisionModel with values read from the specified DecisionModelDTO (that is, the Data Transfer Object class associated with the Quantellia.WMServer.DecisionModeler class).
Declaration
public OpenDIDecisionModel(DecisionModelDTO dmDTO)
Parameters
Type | Name | Description |
---|---|---|
DecisionModelDTO | dmDTO | The World Modeler DecisionModelDTO object used to initialize this OpenDIDecisionModel |
Remarks
This constructor can be used to convert DecisionModelDTO objects to OpenDIDecisionModel objects.
Properties
elements
Collection of elements that belong to this Decision Model.
Declaration
public virtual ICollection<OpenDIDecisionModelElement> elements { get; set; }
Property Value
Type | Description |
---|---|
ICollection<OpenDIDecisionModelElement> |
Methods
ToDTO()
Create a new DecisionModelDTO object that contains the properties of this OpenDIDecisionModel
Declaration
public DecisionModelDTO ToDTO()
Returns
Type | Description |
---|---|
DecisionModelDTO | A DecisionModelDTO object that contains the properties of this OpenDIDecisionModel |