Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UADataType

Hierarchy

Implements

  • BaseNode
  • UADataType

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

_extensionObjectConstructor

_extensionObjectConstructor: ExtensionObjectConstructorFuncWithSchema

Readonly browseName

browseName: QualifiedName

Readonly definitionName

definitionName: string = ""

Readonly isAbstract

isAbstract: boolean

isSupertypeOf

  • isSupertypeOf(referenceType: NodeIdLike | UADataType): boolean
  • Parameters

    Returns boolean

Readonly nodeClass

nodeClass: DataType = NodeClass.DataType

Readonly nodeId

nodeId: NodeId

Optional nodeVersion

nodeVersion: UAVariableT<string, String>

NodeVersion (Optional) String The NodeVersion Property is used to indicate the version of a Node. The NodeVersion Property is updated each time a Reference is added or deleted to the Node the Property belongs to. Attribute value changes do not cause the NodeVersion to change. Clients may read the NodeVersion Property or subscribe to it to determine when the structure of a Node has changed.

Optional onFirstBrowseAction

onFirstBrowseAction: function

Type declaration

    • (this: BaseNodePublic): Promise<void>
    • Parameters

      • this: BaseNodePublic

      Returns Promise<void>

Readonly symbolicName

symbolicName: string

Accessors

addressSpace

basicDataType

  • Returns DataType

binaryEncoding

  • returns the encoding of this node's TODO objects have 2 encodings : XML and Binaries

    Returns BaseNode | null

binaryEncodingDefinition

  • get binaryEncodingDefinition(): string | null
  • Returns string | null

binaryEncodingNodeId

  • get binaryEncodingNodeId(): ExpandedNodeId | null
  • Returns ExpandedNodeId | null

description

  • get description(): LocalizedText
  • set description(value: LocalizedText): void

displayName

  • get displayName(): LocalizedText[]
  • set displayName(value: LocalizedText[]): void

fromStateNode

isFalseSubStateOf

  • get isFalseSubStateOf(): BaseNodePublic | null
  • property

    isFalseSubStateOf

    Returns BaseNodePublic | null

isTrueSubStateOf

  • get isTrueSubStateOf(): BaseNodePublic | null
  • property

    isTrueSubStateOf

    Returns BaseNodePublic | null

jsonEncoding

  • Returns BaseNode | null

jsonEncodingNodeId

  • get jsonEncodingNodeId(): ExpandedNodeId | null
  • Returns ExpandedNodeId | null

modellingRule

namespace

namespaceIndex

  • get namespaceIndex(): number

namespaceUri

  • get namespaceUri(): string

parent

  • get parent(): BaseNodePublic | null
  • the parent node

    Returns BaseNodePublic | null

parentNodeId

  • get parentNodeId(): NodeId | undefined

subtypeOf

  • get subtypeOf(): NodeId | null
  • returns true if this is a super type of baseType

    example

    var dataTypeDouble = addressSpace.findDataType("Double"); var dataTypeNumber = addressSpace.findDataType("Number"); assert(dataTypeDouble.isSupertypeOf(dataTypeNumber)); assert(!dataTypeNumber.isSupertypeOf(dataTypeDouble));

    Returns NodeId | null

subtypeOfObj

  • get subtypeOfObj(): UADataTypePublic | null
  • Returns UADataTypePublic | null

toStateNode

typeDefinition

  • get typeDefinition(): NodeId
  • returns the nodeId of this node's Type Definition

    Returns NodeId

typeDefinitionObj

  • get typeDefinitionObj(): UAObjectTypePublic | UAVariableTypePublic
  • returns the nodeId of this node's Type Definition

    Returns UAObjectTypePublic | UAVariableTypePublic

xmlEncoding

  • Returns BaseNode | null

xmlEncodingDefinition

  • get xmlEncodingDefinition(): string | null
  • Returns string | null

xmlEncodingNodeId

  • get xmlEncodingNodeId(): ExpandedNodeId | null
  • Returns ExpandedNodeId | null

Methods

_getDefinition

  • _getDefinition(): DataTypeDefinition | null
  • Returns DataTypeDefinition | null

_getEnumerationInfo

  • Returns EnumerationInfo

_on_child_added

  • _on_child_added(): void

_on_child_removed

  • _on_child_removed(obj: BaseNode): void

addListener

  • addListener(event: string | symbol, listener: function): this
  • Parameters

    • event: string | symbol
    • listener: function
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns this

addReference

  • method

    addReference

    example
    view.addReference({ referenceType: "Organizes", nodeId: myDevice });

    or

    myDevice1.addReference({ referenceType: "OrganizedBy", nodeId: view });

    Parameters

    Returns void

allReferences

browseNode

  • browseNode(browseDescription: BrowseDescription, context?: SessionContext): ReferenceDescription[]
  • browse the node to extract information requested in browseDescription

    method

    browseNode

    Parameters

    • browseDescription: BrowseDescription
    • Optional context: SessionContext

    Returns ReferenceDescription[]

    an array with reference descriptions

browseNodeByTargetName

  • browseNodeByTargetName(relativePathElement: RelativePathElement, isLast: boolean): NodeId[]
  • method

    browseNodeByTargetName

    Parameters

    • relativePathElement: RelativePathElement
    • isLast: boolean

    Returns NodeId[]

dispose

  • dispose(): void
  • the dispose method should be called when the node is no longer used, to release back pointer to the address space and clear caches.

    method

    dispose

    Returns void

dumpXML

  • Parameters

    Returns void

emit

  • emit(event: string | symbol, ...args: any[]): boolean

eventNames

  • eventNames(): Array<string | symbol>

findHierarchicalReferences

findReference

  • findReference(strReference: string, isForward?: boolean): UAReferencePublic | null
  • method

    findReference

    Parameters

    • strReference: string

      the referenceType as a string.

    • Optional isForward: boolean

    Returns UAReferencePublic | null

findReferences

  • findReferences(referenceType: string | NodeId | UAReferenceTypePublic, isForward?: boolean): UAReferencePublic[]
  • method

    findReferences

    Parameters

    • referenceType: string | NodeId | UAReferenceTypePublic

      the referenceType as a string.

    • Optional isForward: boolean

    Returns UAReferencePublic[]

    an array with references

findReferencesAsObject

  • findReferencesAsObject(strReference: string, isForward?: boolean): BaseNode[]

findReferencesEx

  • findReferencesEx(strReference: string, browseDirection?: BrowseDirection): UAReferencePublic[]

findReferencesExAsObject

fullName

  • fullName(): string

getAggregates

  • return an array with the Aggregates of this object.

    Returns BaseNode[]

getChildByName

  • getChildByName(browseName: string | QualifiedName): BaseNode | null

getComponentByName

  • getComponentByName(browseName: QualifiedNameLike, namespaceIndex?: number): UAVariablePublic | UAObjectPublic | null
  • retrieve a component by name

    Parameters

    Returns UAVariablePublic | UAObjectPublic | null

getComponents

  • return an array with the components of this object.

    Returns BaseNode[]

getDisplayName

  • getDisplayName(locale?: string): string
  • Parameters

    • Optional locale: string

    Returns string

getEncodingDefinition

  • getEncodingDefinition(encoding_name: string): string | null
  • Parameters

    • encoding_name: string

    Returns string | null

getEncodingNode

  • getEncodingNode(encoding_name: string): UAObject | null
  • getEncodingNode(encodingName: string): BaseNode | null
  • Parameters

    • encoding_name: string

    Returns UAObject | null

  • Parameters

    • encodingName: string

    Returns BaseNode | null

getEncodingNodeId

  • getEncodingNodeId(encoding_name: string): ExpandedNodeId | null
  • Parameters

    • encoding_name: string

    Returns ExpandedNodeId | null

getEventSourceOfs

getEventSources

getFalseSubStates

  • method

    getFalseSubStates

    Returns UAStateVariable[]

    return an array with the SubStates of this object.

getFolderElementByName

  • getFolderElementByName(browseName: string, namespaceIndex?: number): BaseNode | null
  • retrieve a folder by name

    Parameters

    • browseName: string
    • Optional namespaceIndex: number

    Returns BaseNode | null

getFolderElements

  • returns the list of nodes that this folder object organizes

    Returns BaseNode[]

getMaxListeners

  • getMaxListeners(): number

getMethodById

  • getMethodById(nodeId: NodeId): UAMethodPublic | null
  • returns the method exposed by this object and with the given nodeId

    Parameters

    • nodeId: NodeId

    Returns UAMethodPublic | null

getMethodByName

  • getMethodByName(browseName: string, namespaceIndex?: number): UAMethodPublic | null
  • Parameters

    • browseName: string
    • Optional namespaceIndex: number

    Returns UAMethodPublic | null

getMethods

  • getMethods(): UAMethodPublic[]
  • returns the list of methods that this object provides

    method

    getMethods

    Returns UAMethodPublic[]

    an array with Method objects.

    Note: internally, methods are special types of components

getNotifiers

  • return a array with the notifiers of this object.

    Returns BaseNode[]

getProperties

  • return a array with the properties of this object.

    Returns BaseNode[]

getPropertyByName

  • getPropertyByName(browseName: string, namespaceIndex?: number): UAVariablePublic | null
  • retrieve a property by name

    Parameters

    • browseName: string
    • Optional namespaceIndex: number

    Returns UAVariablePublic | null

getTrueSubStates

  • method

    getTrueSubStates

    Returns UAStateVariable[]

    return an array with the SubStates of this object.

getUserWriteMask

  • getUserWriteMask(): number

getWriteMask

  • getWriteMask(): number
  • Returns number

installPostInstallFunc

  • installPostInstallFunc(f: any): void

install_extra_properties

  • install_extra_properties(): void

listenerCount

  • listenerCount(event: string | symbol): number

listeners

  • listeners(event: string | symbol): Function[]

off

  • off(event: string | symbol, listener: function): this
  • Parameters

    • event: string | symbol
    • listener: function
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns this

on

  • on(event: string | symbol, listener: function): this

once

  • once(event: string | symbol, listener: function): this

ownReferences

prependListener

  • prependListener(event: string | symbol, listener: function): this

prependOnceListener

  • prependOnceListener(event: string | symbol, listener: function): this

propagate_back_references

  • propagate_back_references(): void

rawListeners

  • rawListeners(event: string | symbol): Function[]

readAttribute

removeAllListeners

  • removeAllListeners(event?: string | symbol): this

removeListener

  • removeListener(event: string | symbol, listener: function): this

removeReference

resolveNodeId

setMaxListeners

  • setMaxListeners(n: number): this

toString

  • toString(): string
  • Returns string

uninstall_extra_properties

  • uninstall_extra_properties(reference: Reference): void

unpropagate_back_references

  • unpropagate_back_references(): void

writeAttribute

  • writeAttribute(context: SessionContext, writeValue: any, callback: function): void

Static makeAttributeEventName

Generated using TypeDoc