Interface QuantityType
- All Superinterfaces:
BaseObjectType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- All Known Implementing Classes:
QuantityTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[]>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<String>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[]Get the local value of the Annotation Node.Get the AnnotationPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetAnnotationNode().Get the local value of the ConversionService Node.Get the ConversionServicePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetConversionServiceNode().org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimensionGet the local value of the Dimension Node.Get the DimensionPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetDimensionNode().Get the ServerUnitsBaseObjectTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseObjectType>Asynchronous implementation ofgetServerUnitsNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextGet the local value of the Symbol Node.Get the SymbolPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetSymbolNode().org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[]Read the value of the Annotation Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[]>An asynchronous implementation ofreadAnnotation().Read the value of the ConversionService Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofreadConversionService().org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimensionRead the value of the Dimension Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension>An asynchronous implementation ofreadDimension().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextRead the value of the Symbol Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText>An asynchronous implementation ofreadSymbol().voidsetAnnotation(org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[] value) Set the local value of the Annotation Node.voidsetConversionService(String value) Set the local value of the ConversionService Node.voidsetDimension(org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension value) Set the local value of the Dimension Node.voidsetSymbol(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Set the local value of the Symbol Node.voidwriteAnnotation(org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[] value) Write a new value for the Annotation Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeAnnotationAsync(org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[] value) An asynchronous implementation ofwriteAnnotation(org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[]).voidwriteConversionService(String value) Write a new value for the ConversionService Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>An asynchronous implementation ofwriteConversionService(java.lang.String).voidwriteDimension(org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension value) Write a new value for the Dimension Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeDimensionAsync(org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension value) An asynchronous implementation ofwriteDimension(org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension).voidwriteSymbol(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Write a new value for the Symbol Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeSymbolAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) An asynchronous implementation ofwriteSymbol(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).Methods 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, setEventNotifier
-
Field Details
-
SYMBOL
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> SYMBOL -
ANNOTATION
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[]> ANNOTATION -
CONVERSION_SERVICE
-
DIMENSION
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension> DIMENSION
-
-
Method Details
-
getSymbol
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getSymbol() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the Symbol Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the Symbol Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Symbol Node.
-
setSymbol
void setSymbol(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the Symbol Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the Symbol Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Symbol Node.
-
readSymbol
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readSymbol() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the Symbol Node from the server and update the local value if the operation succeeds.- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeSymbol
void writeSymbol(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the Symbol Node to the server and update the local value if the operation succeeds.- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readSymbolAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readSymbolAsync()An asynchronous implementation ofreadSymbol().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeSymbolAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeSymbolAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) An asynchronous implementation ofwriteSymbol(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getSymbolNode
Get the SymbolPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the Symbol
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getSymbolNodeAsync
CompletableFuture<? extends PropertyType> getSymbolNodeAsync()Asynchronous implementation ofgetSymbolNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getAnnotation
org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[] getAnnotation() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the Annotation Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the Annotation Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Annotation Node.
-
setAnnotation
void setAnnotation(org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[] value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the Annotation Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the Annotation Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Annotation Node.
-
readAnnotation
org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[] readAnnotation() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the Annotation Node from the server and update the local value if the operation succeeds.- Returns:
- the
AnnotationDataTypevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeAnnotation
void writeAnnotation(org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[] value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the Annotation Node to the server and update the local value if the operation succeeds.- Parameters:
value- theAnnotationDataTypevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readAnnotationAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[]> readAnnotationAsync()An asynchronous implementation ofreadAnnotation().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeAnnotationAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeAnnotationAsync(org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[] value) An asynchronous implementation ofwriteAnnotation(org.eclipse.milo.opcua.stack.core.types.structured.AnnotationDataType[]).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getAnnotationNode
Get the AnnotationPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the Annotation
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getAnnotationNodeAsync
CompletableFuture<? extends PropertyType> getAnnotationNodeAsync()Asynchronous implementation ofgetAnnotationNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getConversionService
Get the local value of the ConversionService Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the ConversionService Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ConversionService Node.
-
setConversionService
Set the local value of the ConversionService Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the ConversionService Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ConversionService Node.
-
readConversionService
Read the value of the ConversionService Node from the server and update the local value if the operation succeeds.- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeConversionService
Write a new value for the ConversionService Node to the server and update the local value if the operation succeeds.- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readConversionServiceAsync
CompletableFuture<? extends String> readConversionServiceAsync()An asynchronous implementation ofreadConversionService().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeConversionServiceAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeConversionServiceAsync(String value) An asynchronous implementation ofwriteConversionService(java.lang.String).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getConversionServiceNode
Get the ConversionServicePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the ConversionService
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getConversionServiceNodeAsync
CompletableFuture<? extends PropertyType> getConversionServiceNodeAsync()Asynchronous implementation ofgetConversionServiceNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getDimension
org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension getDimension() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the Dimension Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the Dimension Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Dimension Node.
-
setDimension
void setDimension(org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the Dimension Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the Dimension Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Dimension Node.
-
readDimension
org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension readDimension() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the Dimension Node from the server and update the local value if the operation succeeds.- Returns:
- the
QuantityDimensionvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeDimension
void writeDimension(org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the Dimension Node to the server and update the local value if the operation succeeds.- Parameters:
value- theQuantityDimensionvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readDimensionAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension> readDimensionAsync()An asynchronous implementation ofreadDimension().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeDimensionAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDimensionAsync(org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension value) An asynchronous implementation ofwriteDimension(org.eclipse.milo.opcua.stack.core.types.structured.QuantityDimension).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getDimensionNode
Get the DimensionPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the Dimension
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getDimensionNodeAsync
CompletableFuture<? extends PropertyType> getDimensionNodeAsync()Asynchronous implementation ofgetDimensionNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getServerUnitsNode
Get the ServerUnitsBaseObjectTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the ServerUnits
BaseObjectTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getServerUnitsNodeAsync
CompletableFuture<? extends BaseObjectType> getServerUnitsNodeAsync()Asynchronous implementation ofgetServerUnitsNode().- Returns:
- a CompletableFuture that completes successfully with the BaseObjectType Node or completes exceptionally if an error occurs creating or getting the Node.
-