Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SetModelPropertyCommand

A command to set a property of a model.

Hierarchy

Index

Constructors

constructor

  • new SetModelPropertyCommand(id: Guid, requestId: Guid, sessionId: Guid, elementId: Guid, propertyName: string, propertyValue: any): SetModelPropertyCommand
  • 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 model with the property that has to be set.

    • propertyName: string

      The name of the property that has to be set.

    • propertyValue: any

      The value of the property that has to be set.

    Returns SetModelPropertyCommand

Properties

elementId

elementId: Guid

The RFC4122 v4 compliant ID of the element with the property that has to be set.

id

id: Guid

The RFC4122 v4 compliant ID of this command.

propertyName

propertyName: string

The name of the property that has to be set.

propertyValue

propertyValue: any

The value of the property that has to be set.

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