SimpleAttributeOperand Class
Extends FilterOperand
Module: service.filter.tools
Constructor
SimpleAttributeOperand
(
String
-
options
Parameters:
-
options
Object-
[typeId]
NodeId optionalNodeId of a TypeDefinitionNode.
-
[browsePath]
QualifiedName[] optional -
[attributeId]
IntegerId optional -
[indexRange]
NumericRange optional
-
Returns:
String:
Example:
:
Item Index
Methods
Properties
Methods
binaryStoreSize
()
Number
Calculate the required size to store this object in a binary stream.
Returns:
Number:
constructEventFilter
(
EventFilter
-
arrayOfNames
-
conditionTypes
helper to construct event filters: construct a simple event filter
Parameters:
-
arrayOfNames
Array -
conditionTypes
Array
Returns:
Example:
constructEventFilter(["SourceName","Message","ReceiveTime"]);
constructEventFilter(["SourceName",{namespaceIndex:2 , "MyData"}]);
constructEventFilter(["SourceName","2:MyData" ]);
constructEventFilter(["SourceName" ,["EnabledState","EffectiveDisplayName"] ]);
constructEventFilter(["SourceName" ,"EnabledState.EffectiveDisplayName" ]);
decode
(
-
stream
-
[option]
decode the object from a binary stream
Parameters:
-
stream
BinaryStream -
[option]
Object optional
decode_debug
()
extractEventField
extract a eventField from a event node, matching the given selectClause
(
-
eventData
-
selectClause
Parameters:
-
eventData
Object -
selectClause
Object
extractEventFields
extract a array of eventFields from a event node, matching the selectClauses
(
-
selectClauses
-
eventData
Parameters:
-
selectClauses
Object -
eventData
Object: a pseudo Node that provides a browse Method and a readValue(nodeId)
isValid
()
Boolean
verify that all object attributes values are valid according to schema
Returns:
Boolean:
toString
()
String
Returns:
String: