Reference Class
Constructor
Item Index
Methods
- _addVariable
- _arrow
- _coerce_parent convert a 'string' , NodeId or Object into a valid and existing object
- _createNode
- _process_modelling_rule
- addAlias
- addElement add a new element in a ExtensionObject Array variable
- addFolder
- addObjectType
- addReferenceType
- addVariable
- addVariableType
- bindExtObjArrayNode
- checkSelectClause
- checkSelectClauses
- createDataType
- createExtObjArrayNode
- createNode
- deleteNode
- findReferenceTypeFromInverseName
- makeOptionalsMap
- prepareDataType
- removeElement
- toString
Methods
_addVariable
()
private
_arrow
()
private
Example:
---- some text ----->
_coerce_parent
convert a 'string' , NodeId or Object into a valid and existing object
-
addressSpace
-
value
-
coerceFunc
Parameters:
-
addressSpace
AddressSpace -
value
Object -
coerceFunc
Function
_createNode
-
options
Parameters:
-
options
Object-
[nodeId]
NodeId optional -
nodeClass
NodeClass -
browseName
String | QualifiedNamethe node browseName the browseName can be either a string : "Hello" a string with a namespace : "1:Hello" a QualifiedName : new QualifiedName({name:"Hello", namespaceIndex:1});
-
[displayName]
String | LocalizedText optionalthe node display name
-
[description]
String | LocalizedText optionalthe node description
-
Returns:
_process_modelling_rule
-
references
-
modellingRule
Parameters:
-
references
Arraythe array of references
-
modellingRule
Referencethe modellling Rule reference.
addAlias
-
alias_name
-
nodeId
Parameters:
-
alias_name
Stringthe alias name
-
nodeId
NodeIdNodeId must belong to this namespace
addElement
add a new element in a ExtensionObject Array variable
-
options
-
uaArrayVariableNode
-
nodeVariable
-
uaArrayVariableNode
-
constructor
-
uaArrayVariableNode
Parameters:
-
options
Objectdata used to construct the underlying ExtensionObject
-
uaArrayVariableNode
UAVariable -
nodeVariable
UAVariablea variable already exposing an extension objects
-
uaArrayVariableNode
UAVariable -
constructor
Functionconstructor of the extension object to create
-
uaArrayVariableNode
UAVariable
Returns:
addFolder
-
parentFolder
-
options
Parameters:
-
parentFolder
Object -
options
String | Object-
browseName
Stringthe name of the folder
-
[nodeId]
NodeId optional. An optional nodeId for this object
-
Returns:
addObjectType
-
options
add a new Object type to the address space
Parameters:
-
options
Object-
browseName
Stringthe object type name
-
[displayName]
String | LocalizedText optionalthe display name
-
[subtypeOf="BaseObjectType"]
String | NodeId | BaseNode optionalthe base class
-
[nodeId]
String | NodeId optionalan optional nodeId for this objectType, if not provided a new nodeId will be created
-
[isAbstract= false]
Boolean optional -
[eventNotifier= 0]
Integer optional -
[postInstantiateFunc= null]
Function optional
-
addReferenceType
-
options
Parameters:
-
options
Object-
isAbstract
-
browseName
-
inverseName
-
addVariable
-
options
add a variable as a component of the parent node
Parameters:
-
options
Object-
browseName
Stringthe variable name
-
dataType
Stringthe variable datatype ( "Double", "UInt8" etc...)
-
[typeDefinition="BaseDataVariableType"]
optional -
[modellingRule=null]
optionalthe Modelling rule : "Optional" , "Mandatory"
-
[valueRank= -1]
Int optionalthe valueRank
-
[arrayDimensions]
Null | Arrayoptional
-
Returns:
addVariableType
-
options
add a new Variable type to the address space
Parameters:
-
options
Object-
browseName
Stringthe object type name
-
[displayName]
String | LocalizedText optionalthe display name
-
[subtypeOf="BaseVariableType"]
String | NodeId | BaseNode optionalthe base class
-
[nodeId]
String | NodeId optionalan optional nodeId for this objectType, if not provided a new nodeId will be created
-
[isAbstract= false]
Boolean optional -
dataType
String | NodeIdthe variable DataType
-
[valueRank= -1]
optional -
[arrayDimensions= null]
optional{ Array
>
-
bindExtObjArrayNode
-
uaArrayVariableNode
-
variableType
-
indexPropertyName
Parameters:
-
uaArrayVariableNode
UAVariable -
variableType
DataType -
indexPropertyName
String
Returns:
checkSelectClause
-
parentNode
-
selectClause
Parameters:
-
parentNode
Object -
selectClause
Object
Returns:
checkSelectClauses
-
eventTypeNode
-
selectClauses
Parameters:
-
eventTypeNode
Object -
selectClauses
SelectClauseResults
Returns:
createDataType
-
options
Parameters:
-
options
Object-
isAbstract
-
browseName
BrowseName -
superType
NodeId -
[nodeId]
optional -
[displayName]
optional -
[description]
optional
-
createExtObjArrayNode
-
parentFolder
-
options
create a node Variable that contains a array of ExtensionObject of a given type
Parameters:
-
parentFolder
Object -
options
Object-
browseName
-
complexVariableType
-
variableType
the type of Extension objects stored in the array.
-
indexPropertyName
-
Returns:
createNode
-
options
Parameters:
-
options
Object-
nodeClass
-
[nodeVersion= "0"]
String optionalinstall nodeVersion
-
[modellingRule= null]
String optional
-
deleteNode
-
nodeOrNodeId
remove the specified Node from the address space
Parameters:
-
nodeOrNodeId
Object
findReferenceTypeFromInverseName
-
inverseName
find a ReferenceType by its inverse name.
Parameters:
-
inverseName
Stringthe inverse name of the ReferenceType to find
Returns:
makeOptionalsMap
-
optionals transform
Parameters:
-
optionals transform
Objectoptional into a map
prepareDataType
-
dataType
Parameters:
-
dataType
Object
removeElement
-
uaArrayVariableNode
-
elementIndex
-
uaArrayVariableNode
-
element
Parameters:
-
uaArrayVariableNode
UAVariable -
elementIndex
Numberindex of element to remove in array
-
uaArrayVariableNode
UAVariable -
element
UAVariablenode of element to remove in array
toString
()
String
turn reference into a arrow : ---- REFERENCETYPE --> [NODEID]