UADataType Class
Extends BaseNode
Module: opcua.address_space
Constructor
UADataType
(
-
options
Parameters:
-
options
Object-
definition_name
Object -
definition
Object
-
Item Index
Methods
Methods
isSupertypeOf
(
Boolean
-
baseType
returns true if self is a super type of baseType
Parameters:
-
baseType
UADataType
Returns:
Boolean:
true if self is a Subtype of baseType
Example:
var dataTypeDouble = addressSpace.findDataType("Double"); var dataTypeNumber = addressSpace.findDataType("Number"); assert(dataTypeDouble.isSupertypeOf(dataTypeNumber)); assert(!dataTypeNumber.isSupertypeOf(dataTypeDouble));
Properties
binaryEncoding
BaseNode
binaryEncodingDefinition
String
binaryEncodingDefinition
String
hasEncoding !~YUIDOC_LINE~!TODO objects have 2 encodings : XML and Binaries
NodeId
returns the encoding of this node's