Class AlternativeUnitTypeNode
java.lang.Object
org.eclipse.milo.opcua.sdk.client.nodes.UaNode
org.eclipse.milo.opcua.sdk.client.nodes.UaObjectNode
org.eclipse.milo.opcua.sdk.client.model.objects.BaseObjectTypeNode
org.eclipse.milo.opcua.sdk.client.model.objects.UnitTypeNode
org.eclipse.milo.opcua.sdk.client.model.objects.AlternativeUnitTypeNode
- All Implemented Interfaces:
AlternativeUnitType,BaseObjectType,UnitType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
-
Field Summary
Fields inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.AlternativeUnitType
LINEAR_CONVERSION, MATH_ML_CONVERSION, MATH_ML_INVERSE_CONVERSIONFields inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.UnitType
DISCIPLINE, SYMBOL, UNIT_SYSTEM -
Constructor Summary
ConstructorsConstructorDescriptionAlternativeUnitTypeNode(OpcUaClient client, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId, org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass, org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] rolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] userRolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.AccessRestrictionType accessRestrictions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataTypeGet the local value of the LinearConversion Node.Get the LinearConversionPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofAlternativeUnitType.getLinearConversionNode().Get the local value of the MathMLConversion Node.Get the MathMLConversionPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofAlternativeUnitType.getMathMlConversionNode().Get the local value of the MathMLInverseConversion Node.Get the MathMLInverseConversionPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofAlternativeUnitType.getMathMlInverseConversionNode().org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataTypeRead the value of the LinearConversion Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataType>An asynchronous implementation ofAlternativeUnitType.readLinearConversion().Read the value of the MathMLConversion Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofAlternativeUnitType.readMathMlConversion().Read the value of the MathMLInverseConversion Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofAlternativeUnitType.readMathMlInverseConversion().voidsetLinearConversion(org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataType value) Set the local value of the LinearConversion Node.voidsetMathMlConversion(String value) Set the local value of the MathMLConversion Node.voidsetMathMlInverseConversion(String value) Set the local value of the MathMLInverseConversion Node.voidwriteLinearConversion(org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataType value) Write a new value for the LinearConversion Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeLinearConversionAsync(org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataType linearConversion) An asynchronous implementation ofAlternativeUnitType.writeLinearConversion(org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataType).voidwriteMathMlConversion(String value) Write a new value for the MathMLConversion Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeMathMlConversionAsync(String mathMlConversion) An asynchronous implementation ofAlternativeUnitType.writeMathMlConversion(java.lang.String).voidWrite a new value for the MathMLInverseConversion Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeMathMlInverseConversionAsync(String mathMlInverseConversion) An asynchronous implementation ofAlternativeUnitType.writeMathMlInverseConversion(java.lang.String).Methods inherited from class org.eclipse.milo.opcua.sdk.client.model.objects.UnitTypeNode
getDiscipline, getDisciplineNode, getDisciplineNodeAsync, getSymbol, getSymbolNode, getSymbolNodeAsync, getUnitSystem, getUnitSystemNode, getUnitSystemNodeAsync, readDiscipline, readDisciplineAsync, readSymbol, readSymbolAsync, readUnitSystem, readUnitSystemAsync, setDiscipline, setSymbol, setUnitSystem, writeDiscipline, writeDisciplineAsync, writeSymbol, writeSymbolAsync, writeUnitSystem, writeUnitSystemAsyncMethods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaObjectNode
callMethod, callMethod, callMethodAsync, callMethodAsync, getAttributeValue, getEventNotifier, getIconAsync, getMethod, getMethod, getMethodAsync, getMethodAsync, getNamingRuleAsync, getNodeVersionAsync, getObjectComponent, getObjectComponent, getObjectComponent, getObjectComponentAsync, getObjectComponentAsync, getObjectComponentAsync, getTypeDefinition, getTypeDefinitionAsync, getVariableComponent, getVariableComponent, getVariableComponent, getVariableComponentAsync, getVariableComponentAsync, getVariableComponentAsync, readEventNotifier, setAttributeValue, setEventNotifier, setIconAsync, setNamingRuleAsync, setNodeVersionAsync, writeEventNotifierMethods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaNode
browse, browse, browseAsync, browseAsync, browseNodes, browseNodes, browseNodesAsync, browseNodesAsync, canonicalize, cast, findMemberNodeId, getAccessRestrictions, getBrowseName, getComponentAsync, getDescription, getDisplayName, getMemberNodeAsync, getNodeClass, getNodeId, getProperty, getPropertyNodeAsync, getPropertyNodeAsync, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, invalidate, readAccessRestrictions, readAttribute, readAttributeAsync, readBrowseName, readDescription, readDisplayName, readNamespaceIndex, readNodeClass, readNodeId, readProperty, readRolePermissions, readUserRolePermissions, readUserWriteMask, readWriteMask, refresh, refreshAsync, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setProperty, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMask, synchronize, synchronizeAsync, writeAccessRestrictions, writeAttribute, writeAttributeAsync, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeProperty, writeRolePermissions, writeUserRolePermissions, writeUserWriteMask, writeWriteMaskMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.Node
getAccessRestrictions, getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMaskMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
getEventNotifier, setEventNotifierMethods inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.UnitType
getDiscipline, getDisciplineNode, getDisciplineNodeAsync, getSymbol, getSymbolNode, getSymbolNodeAsync, getUnitSystem, getUnitSystemNode, getUnitSystemNodeAsync, readDiscipline, readDisciplineAsync, readSymbol, readSymbolAsync, readUnitSystem, readUnitSystemAsync, setDiscipline, setSymbol, setUnitSystem, writeDiscipline, writeDisciplineAsync, writeSymbol, writeSymbolAsync, writeUnitSystem, writeUnitSystemAsync
-
Constructor Details
-
AlternativeUnitTypeNode
public AlternativeUnitTypeNode(OpcUaClient client, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId, org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass, org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] rolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] userRolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.AccessRestrictionType accessRestrictions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier)
-
-
Method Details
-
getLinearConversion
public org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataType getLinearConversion() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:AlternativeUnitTypeGet the local value of the LinearConversion Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getLinearConversionin interfaceAlternativeUnitType- Returns:
- the local value of the LinearConversion Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the LinearConversion Node.
-
setLinearConversion
public void setLinearConversion(org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataType value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:AlternativeUnitTypeSet the local value of the LinearConversion Node.The value is only updated locally; it is not written to the server.
- Specified by:
setLinearConversionin interfaceAlternativeUnitType- Parameters:
value- the local value to set for the LinearConversion Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the LinearConversion Node.
-
readLinearConversion
public org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataType readLinearConversion() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:AlternativeUnitTypeRead the value of the LinearConversion Node from the server and update the local value if the operation succeeds.- Specified by:
readLinearConversionin interfaceAlternativeUnitType- Returns:
- the
LinearConversionDataTypevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeLinearConversion
public void writeLinearConversion(org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataType value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:AlternativeUnitTypeWrite a new value for the LinearConversion Node to the server and update the local value if the operation succeeds.- Specified by:
writeLinearConversionin interfaceAlternativeUnitType- Parameters:
value- theLinearConversionDataTypevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readLinearConversionAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataType> readLinearConversionAsync()Description copied from interface:AlternativeUnitTypeAn asynchronous implementation ofAlternativeUnitType.readLinearConversion().- Specified by:
readLinearConversionAsyncin interfaceAlternativeUnitType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeLinearConversionAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeLinearConversionAsync(org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataType linearConversion) Description copied from interface:AlternativeUnitTypeAn asynchronous implementation ofAlternativeUnitType.writeLinearConversion(org.eclipse.milo.opcua.stack.core.types.structured.LinearConversionDataType).- Specified by:
writeLinearConversionAsyncin interfaceAlternativeUnitType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getLinearConversionNode
public PropertyTypeNode getLinearConversionNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:AlternativeUnitTypeGet the LinearConversionPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getLinearConversionNodein interfaceAlternativeUnitType- Returns:
- the LinearConversion
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getLinearConversionNodeAsync
Description copied from interface:AlternativeUnitTypeAsynchronous implementation ofAlternativeUnitType.getLinearConversionNode().- Specified by:
getLinearConversionNodeAsyncin interfaceAlternativeUnitType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getMathMlConversion
Description copied from interface:AlternativeUnitTypeGet the local value of the MathMLConversion Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getMathMlConversionin interfaceAlternativeUnitType- Returns:
- the local value of the MathMLConversion Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the MathMLConversion Node.
-
setMathMlConversion
Description copied from interface:AlternativeUnitTypeSet the local value of the MathMLConversion Node.The value is only updated locally; it is not written to the server.
- Specified by:
setMathMlConversionin interfaceAlternativeUnitType- Parameters:
value- the local value to set for the MathMLConversion Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the MathMLConversion Node.
-
readMathMlConversion
Description copied from interface:AlternativeUnitTypeRead the value of the MathMLConversion Node from the server and update the local value if the operation succeeds.- Specified by:
readMathMlConversionin interfaceAlternativeUnitType- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeMathMlConversion
public void writeMathMlConversion(String value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:AlternativeUnitTypeWrite a new value for the MathMLConversion Node to the server and update the local value if the operation succeeds.- Specified by:
writeMathMlConversionin interfaceAlternativeUnitType- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readMathMlConversionAsync
Description copied from interface:AlternativeUnitTypeAn asynchronous implementation ofAlternativeUnitType.readMathMlConversion().- Specified by:
readMathMlConversionAsyncin interfaceAlternativeUnitType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeMathMlConversionAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeMathMlConversionAsync(String mathMlConversion) Description copied from interface:AlternativeUnitTypeAn asynchronous implementation ofAlternativeUnitType.writeMathMlConversion(java.lang.String).- Specified by:
writeMathMlConversionAsyncin interfaceAlternativeUnitType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getMathMlConversionNode
public PropertyTypeNode getMathMlConversionNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:AlternativeUnitTypeGet the MathMLConversionPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getMathMlConversionNodein interfaceAlternativeUnitType- Returns:
- the MathMLConversion
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getMathMlConversionNodeAsync
Description copied from interface:AlternativeUnitTypeAsynchronous implementation ofAlternativeUnitType.getMathMlConversionNode().- Specified by:
getMathMlConversionNodeAsyncin interfaceAlternativeUnitType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getMathMlInverseConversion
Description copied from interface:AlternativeUnitTypeGet the local value of the MathMLInverseConversion Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getMathMlInverseConversionin interfaceAlternativeUnitType- Returns:
- the local value of the MathMLInverseConversion Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the MathMLInverseConversion Node.
-
setMathMlInverseConversion
public void setMathMlInverseConversion(String value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:AlternativeUnitTypeSet the local value of the MathMLInverseConversion Node.The value is only updated locally; it is not written to the server.
- Specified by:
setMathMlInverseConversionin interfaceAlternativeUnitType- Parameters:
value- the local value to set for the MathMLInverseConversion Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the MathMLInverseConversion Node.
-
readMathMlInverseConversion
Description copied from interface:AlternativeUnitTypeRead the value of the MathMLInverseConversion Node from the server and update the local value if the operation succeeds.- Specified by:
readMathMlInverseConversionin interfaceAlternativeUnitType- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeMathMlInverseConversion
public void writeMathMlInverseConversion(String value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:AlternativeUnitTypeWrite a new value for the MathMLInverseConversion Node to the server and update the local value if the operation succeeds.- Specified by:
writeMathMlInverseConversionin interfaceAlternativeUnitType- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readMathMlInverseConversionAsync
Description copied from interface:AlternativeUnitTypeAn asynchronous implementation ofAlternativeUnitType.readMathMlInverseConversion().- Specified by:
readMathMlInverseConversionAsyncin interfaceAlternativeUnitType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeMathMlInverseConversionAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeMathMlInverseConversionAsync(String mathMlInverseConversion) Description copied from interface:AlternativeUnitTypeAn asynchronous implementation ofAlternativeUnitType.writeMathMlInverseConversion(java.lang.String).- Specified by:
writeMathMlInverseConversionAsyncin interfaceAlternativeUnitType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getMathMlInverseConversionNode
public PropertyTypeNode getMathMlInverseConversionNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:AlternativeUnitTypeGet the MathMLInverseConversionPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getMathMlInverseConversionNodein interfaceAlternativeUnitType- Returns:
- the MathMLInverseConversion
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getMathMlInverseConversionNodeAsync
Description copied from interface:AlternativeUnitTypeAsynchronous implementation ofAlternativeUnitType.getMathMlInverseConversionNode().- Specified by:
getMathMlInverseConversionNodeAsyncin interfaceAlternativeUnitType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-