Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AddNodeCommand

A command to add a node to a model.

Hierarchy

Index

Constructors

constructor

  • new AddNodeCommand(id: Guid, requestId: Guid, sessionId: Guid, elementId: Guid, elementType: string, elementProperties: Dictionary<any>, modelId: Guid): AddNodeCommand
  • Parameters

    • id: Guid

      The RFC4122 v4 compliant ID of this command.

    • requestId: Guid

      The RFC4122 v4 compliant ID of the request that created this command.

    • sessionId: Guid

      The RFC4122 v4 compliant ID of the session that created this command.

    • elementId: Guid

      The RFC4122 v4 compliant ID of the new node.

    • elementType: string

      The type of the new node.

    • elementProperties: Dictionary<any>

      The properties of the new node.

    • modelId: Guid

      The RFC4122 v4 compliant ID of the model to which the new node belongs.

    Returns AddNodeCommand

Properties

elementId

elementId: Guid

The RFC4122 v4 compliant ID of the new element.

elementProperties

elementProperties: Dictionary<any>

The properties of the new element.

elementType

elementType: string

The type of the new element.

id

id: Guid

The RFC4122 v4 compliant ID of this command.

modelId

modelId: Guid

The RFC4122 v4 compliant ID of the model to which the new node belongs.

requestId

requestId: Guid

The RFC4122 v4 compliant ID of the request that created this command.

sessionId

sessionId: Guid

The RFC4122 v4 compliant ID of the session that created this command.

type

The type of this command.

Methods

toJson

  • toJson(): string

Generated using TypeDoc