Show / Hide Table of Contents

Class FlowModelObject

Base class for flow model objects.

Inheritance
System.Object
FlowModelObject
Job
WorkItem
JobProperties
WorkItemProperties
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public abstract class FlowModelObject : object

Constructors

View Source

FlowModelObject()

Initializes a new instance of the FlowModelObject class.

Declaration
protected FlowModelObject()
View Source

FlowModelObject(JObject)

Initializes a new instance of the FlowModelObject class.

Declaration
protected FlowModelObject(JObject properties)
Parameters
Type Name Description
JObject properties

The properties.

Properties

View Source

BatchNumber

Gets or sets the batch number.

Declaration
public int BatchNumber { get; set; }
Property Value
Type Description
System.Int32

The batch number.

View Source

Item[String]

Gets or sets the specified property.

Declaration
public string this[string property] { get; set; }
Parameters
Type Name Description
System.String property

The property.

Property Value
Type Description
System.String

The property value.

View Source

Properties

Gets the properties.

Declaration
public IPropertyContainer Properties { get; }
Property Value
Type Description
IPropertyContainer

The properties.

View Source

PropertiesContent

Gets or sets the content of the work item.

Declaration
public byte[] PropertiesContent { get; set; }
Property Value
Type Description
System.Byte[]

The content of the work item.

Remarks

This is not (and should not be) a [DataMember], and will therefore not be serialized to JSON, because when serialized as JSON, the properties are transferred by serializing Properties. This member is used to support using this class as an entity when storing to tables.

Methods

View Source

UpdateProperties(String)

Updates the properties.

Declaration
protected void UpdateProperties(string json)
Parameters
Type Name Description
System.String json

The json.

  • View Source
In This Article
Back to top Copyright © DNV AS. All rights reserved.