Show / Hide Table of Contents

Class DecisionModelDiagramElementDTO

DataTransferObject<T> proxy for a DecisionModelDiagramElement.

Inheritance
object
DataTransferObject<DecisionModelElement>
DecisionModelDiagramElementDTO
Implements
IDbEntity
IWMEntity
IDecisionModelElementDTO
Inherited Members
DataTransferObject<DecisionModelElement>.ModelObject
DataTransferObject<DecisionModelElement>.SetID(string)
DataTransferObject<DecisionModelElement>.UpdateModel(WMPrincipal, DbContext, object[])
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.DecisionModeler.Model.Diagram
Assembly: WMServer.dll
Syntax
public class DecisionModelDiagramElementDTO : DataTransferObject<DecisionModelElement>, IDbEntity, IWMEntity, IDecisionModelElementDTO

Constructors

DecisionModelDiagramElementDTO()

Constructor for WMAssetDirectoryDTO

Declaration
public DecisionModelDiagramElementDTO()

DecisionModelDiagramElementDTO(JObject)

Constructor that builds a DecisionModelDiagramElementDTO from a JObject

Declaration
public DecisionModelDiagramElementDTO(JObject j_obj)
Parameters
Type Name Description
JObject j_obj

DecisionModelDiagramElementDTO(string)

Constructor for WMAssetDirectoryDTO specifying ID

Declaration
public DecisionModelDiagramElementDTO(string id)
Parameters
Type Name Description
string id

Properties

CreatedBy

Declaration
public string CreatedBy { get; set; }
Property Value
Type Description
string

CreatedDate

Declaration
public DateTime CreatedDate { get; set; }
Property Value
Type Description
DateTime

Documentation

Longer, formatted description of this object

Declaration
public string? Documentation { get; set; }
Property Value
Type Description
string

DocumentationMIMEType

MIME type of the Documentation.

Declaration
public string? DocumentationMIMEType { get; set; }
Property Value
Type Description
string

Geometry

Declaration
public string Geometry { get; set; }
Property Value
Type Description
string

Height

Declaration
public double Height { get; set; }
Property Value
Type Description
double

ID

Declaration
public string ID { get; set; }
Property Value
Type Description
string

LastUpdatedBy

Declaration
public string LastUpdatedBy { get; set; }
Property Value
Type Description
string

LastUpdatedDate

Declaration
public DateTime LastUpdatedDate { get; set; }
Property Value
Type Description
DateTime

ModelID

Declaration
public string ModelID { get; set; }
Property Value
Type Description
string

Name

Name of this object.

Declaration
public string? Name { get; set; }
Property Value
Type Description
string

ParentID

Declaration
public string? ParentID { get; set; }
Property Value
Type Description
string

Properties

Custom properties defined by the user

Declaration
[NotMapped]
public Dictionary<string, string> Properties { get; }
Property Value
Type Description
Dictionary<string, string>

PropertiesSerialized

Custom properties defined by the user. Serializes to and from Properties

Declaration
public string PropertiesSerialized { get; set; }
Property Value
Type Description
string

Role

Declaration
public string? Role { get; set; }
Property Value
Type Description
string

SourceRefID

Declaration
public string? SourceRefID { get; set; }
Property Value
Type Description
string

Style

Declaration
public string? Style { get; set; }
Property Value
Type Description
string

Summary

Short summary of this object.

Declaration
public string? Summary { get; set; }
Property Value
Type Description
string

TargetRefID

Declaration
public string? TargetRefID { get; set; }
Property Value
Type Description
string

Type

Declaration
public string Type { get; set; }
Property Value
Type Description
string

Width

Declaration
public double Width { get; set; }
Property Value
Type Description
double

Methods

CreateModel(WMPrincipal, DbContext, object[]?)

Create an instance of a class derived from DecisionModelElement whose type depends on the "Type" property, and whose properties are populated from this DecisionModelElementDTO.

Declaration
public override Task<DecisionModelElement> CreateModel(WMPrincipal principal, DbContext context, object[]? data = null)
Parameters
Type Name Description
WMPrincipal principal
DbContext context
object[] data The data array should be populated as follows:
[0]: The DecisionModel reference [1]: The subtype to create (as a Type object).
Returns
Type Description
Task<DecisionModelElement>
Overrides
DataTransferObject<DecisionModelElement>.CreateModel(WMPrincipal, DbContext, object[])

FromModel()

Declaration
public override void FromModel()
Overrides
DataTransferObject<DecisionModelElement>.FromModel()

Implements

IDbEntity
IWMEntity
IDecisionModelElementDTO
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE