Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SetPropertyCommand

Base command that deletes some property from some element.

Hierarchy

Index

Constructors

constructor

  • new SetPropertyCommand(id: Guid, requestId: Guid, sessionId: Guid, type: CommandType, elementId: Guid, propertyName: string, propertyValue: any): SetPropertyCommand
  • 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.

    • type: CommandType
    • elementId: Guid

      The RFC4122 v4 compliant ID of the element 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 SetPropertyCommand

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