public class FileTypeNode extends BaseObjectTypeNode implements FileType
MIME_TYPE, OPEN_COUNT, SIZE, USER_WRITABLE, WRITABLE| Constructor and Description |
|---|
FileTypeNode(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.builtin.unsigned.UByte eventNotifier) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMimeType()
Get the local value of the MimeType Node.
|
PropertyTypeNode |
getMimeTypeNode()
Get the MimeType
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getMimeTypeNodeAsync()
Asynchronous implementation of
FileType.getMimeTypeNode(). |
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort |
getOpenCount()
Get the local value of the OpenCount Node.
|
PropertyTypeNode |
getOpenCountNode()
Get the OpenCount
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getOpenCountNodeAsync()
Asynchronous implementation of
FileType.getOpenCountNode(). |
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong |
getSize()
Get the local value of the Size Node.
|
PropertyTypeNode |
getSizeNode()
Get the Size
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getSizeNodeAsync()
Asynchronous implementation of
FileType.getSizeNode(). |
Boolean |
getUserWritable()
Get the local value of the UserWritable Node.
|
PropertyTypeNode |
getUserWritableNode()
Get the UserWritable
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getUserWritableNodeAsync()
Asynchronous implementation of
FileType.getUserWritableNode(). |
Boolean |
getWritable()
Get the local value of the Writable Node.
|
PropertyTypeNode |
getWritableNode()
Get the Writable
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getWritableNodeAsync()
Asynchronous implementation of
FileType.getWritableNode(). |
String |
readMimeType()
Read the value of the MimeType Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends String> |
readMimeTypeAsync()
An asynchronous implementation of
FileType.readMimeType(). |
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort |
readOpenCount()
Read the value of the OpenCount Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort> |
readOpenCountAsync()
An asynchronous implementation of
FileType.readOpenCount(). |
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong |
readSize()
Read the value of the Size Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong> |
readSizeAsync()
An asynchronous implementation of
FileType.readSize(). |
Boolean |
readUserWritable()
Read the value of the UserWritable Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends Boolean> |
readUserWritableAsync()
An asynchronous implementation of
FileType.readUserWritable(). |
Boolean |
readWritable()
Read the value of the Writable Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends Boolean> |
readWritableAsync()
An asynchronous implementation of
FileType.readWritable(). |
void |
setMimeType(String mimeType)
Set the local value of the MimeType Node.
|
void |
setOpenCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort openCount)
Set the local value of the OpenCount Node.
|
void |
setSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong size)
Set the local value of the Size Node.
|
void |
setUserWritable(Boolean userWritable)
Set the local value of the UserWritable Node.
|
void |
setWritable(Boolean writable)
Set the local value of the Writable Node.
|
void |
writeMimeType(String mimeType)
Write a new value for the MimeType Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeMimeTypeAsync(String mimeType)
An asynchronous implementation of
FileType.writeMimeType(String). |
void |
writeOpenCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort openCount)
Write a new value for the OpenCount Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeOpenCountAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort openCount)
An asynchronous implementation of
FileType.writeOpenCount(UShort). |
void |
writeSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong size)
Write a new value for the Size Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeSizeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong size)
An asynchronous implementation of
FileType.writeSize(ULong). |
void |
writeUserWritable(Boolean userWritable)
Write a new value for the UserWritable Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeUserWritableAsync(Boolean userWritable)
An asynchronous implementation of
FileType.writeUserWritable(Boolean). |
void |
writeWritable(Boolean writable)
Write a new value for the Writable Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeWritableAsync(Boolean writable)
An asynchronous implementation of
FileType.writeWritable(Boolean). |
callMethod, callMethod, callMethodAsync, callMethodAsync, getAttributeValue, getEventNotifier, getIcon, getMethod, getMethod, getMethodAsync, getMethodAsync, getNamingRuleAsync, getNodeVersion, getObjectComponent, getObjectComponent, getObjectComponent, getObjectComponentAsync, getObjectComponentAsync, getObjectComponentAsync, getTypeDefinition, getTypeDefinitionAsync, getVariableComponent, getVariableComponent, getVariableComponent, getVariableComponentAsync, getVariableComponentAsync, getVariableComponentAsync, readEventNotifier, setAttributeValue, setEventNotifier, setIcon, setNamingRuleAsync, setNodeVersion, writeEventNotifierbrowse, browse, browseAsync, browseAsync, browseNodes, browseNodes, browseNodesAsync, browseNodesAsync, canonicalize, cast, findMemberNodeId, getBrowseName, getComponentAsync, getDescription, getDisplayName, getMemberNodeAsync, getNodeClass, getNodeId, getProperty, getPropertyNodeAsync, getPropertyNodeAsync, getUserWriteMask, getWriteMask, invalidate, readAttribute, readAttributeAsync, readBrowseName, readDescription, readDisplayName, readNamespaceIndex, readNodeClass, readNodeId, readProperty, readUserWriteMask, readWriteMask, refresh, refreshAsync, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setProperty, setUserWriteMask, setWriteMask, synchronize, synchronizeAsync, writeAttribute, writeAttributeAsync, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeProperty, writeUserWriteMask, writeWriteMaskclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventNotifier, setEventNotifiergetBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMaskpublic FileTypeNode(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.builtin.unsigned.UByte eventNotifier)
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong getSize()
throws org.eclipse.milo.opcua.stack.core.UaException
FileTypeThe returned value is the last seen; it is not read live from the server.
public void setSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong size)
throws org.eclipse.milo.opcua.stack.core.UaException
FileTypeThe value is only updated locally; it is not written to the server.
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong readSize()
throws org.eclipse.milo.opcua.stack.core.UaException
FileTypepublic void writeSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong size)
throws org.eclipse.milo.opcua.stack.core.UaException
FileTypepublic CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong> readSizeAsync()
FileTypeFileType.readSize().readSizeAsync in interface FileTypepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeSizeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong size)
FileTypeFileType.writeSize(ULong).writeSizeAsync in interface FileTypepublic PropertyTypeNode getSizeNode() throws org.eclipse.milo.opcua.stack.core.UaException
FileTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getSizeNode in interface FileTypePropertyType Node, or null if it does not exist.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.public CompletableFuture<? extends PropertyTypeNode> getSizeNodeAsync()
FileTypeFileType.getSizeNode().getSizeNodeAsync in interface FileTypepublic Boolean getWritable() throws org.eclipse.milo.opcua.stack.core.UaException
FileTypeThe returned value is the last seen; it is not read live from the server.
getWritable in interface FileTypeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Writable Node.public void setWritable(Boolean writable) throws org.eclipse.milo.opcua.stack.core.UaException
FileTypeThe value is only updated locally; it is not written to the server.
setWritable in interface FileTypewritable - the local value to set for the Writable Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Writable Node.public Boolean readWritable() throws org.eclipse.milo.opcua.stack.core.UaException
FileTypereadWritable in interface FileTypeBoolean value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeWritable(Boolean writable) throws org.eclipse.milo.opcua.stack.core.UaException
FileTypewriteWritable in interface FileTypewritable - the Boolean value to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public CompletableFuture<? extends Boolean> readWritableAsync()
FileTypeFileType.readWritable().readWritableAsync in interface FileTypepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeWritableAsync(Boolean writable)
FileTypeFileType.writeWritable(Boolean).writeWritableAsync in interface FileTypepublic PropertyTypeNode getWritableNode() throws org.eclipse.milo.opcua.stack.core.UaException
FileTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getWritableNode in interface FileTypePropertyType Node, or null if it does not exist.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.public CompletableFuture<? extends PropertyTypeNode> getWritableNodeAsync()
FileTypeFileType.getWritableNode().getWritableNodeAsync in interface FileTypepublic Boolean getUserWritable() throws org.eclipse.milo.opcua.stack.core.UaException
FileTypeThe returned value is the last seen; it is not read live from the server.
getUserWritable in interface FileTypeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the UserWritable Node.public void setUserWritable(Boolean userWritable) throws org.eclipse.milo.opcua.stack.core.UaException
FileTypeThe value is only updated locally; it is not written to the server.
setUserWritable in interface FileTypeuserWritable - the local value to set for the UserWritable Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the UserWritable Node.public Boolean readUserWritable() throws org.eclipse.milo.opcua.stack.core.UaException
FileTypereadUserWritable in interface FileTypeBoolean value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeUserWritable(Boolean userWritable) throws org.eclipse.milo.opcua.stack.core.UaException
FileTypewriteUserWritable in interface FileTypeuserWritable - the Boolean value to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public CompletableFuture<? extends Boolean> readUserWritableAsync()
FileTypeFileType.readUserWritable().readUserWritableAsync in interface FileTypepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeUserWritableAsync(Boolean userWritable)
FileTypeFileType.writeUserWritable(Boolean).writeUserWritableAsync in interface FileTypepublic PropertyTypeNode getUserWritableNode() throws org.eclipse.milo.opcua.stack.core.UaException
FileTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getUserWritableNode in interface FileTypePropertyType Node, or null if it does not exist.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.public CompletableFuture<? extends PropertyTypeNode> getUserWritableNodeAsync()
FileTypeFileType.getUserWritableNode().getUserWritableNodeAsync in interface FileTypepublic org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort getOpenCount()
throws org.eclipse.milo.opcua.stack.core.UaException
FileTypeThe returned value is the last seen; it is not read live from the server.
getOpenCount in interface FileTypeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the OpenCount Node.public void setOpenCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort openCount)
throws org.eclipse.milo.opcua.stack.core.UaException
FileTypeThe value is only updated locally; it is not written to the server.
setOpenCount in interface FileTypeopenCount - the local value to set for the OpenCount Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the OpenCount Node.public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort readOpenCount()
throws org.eclipse.milo.opcua.stack.core.UaException
FileTypereadOpenCount in interface FileTypeUShort value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeOpenCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort openCount)
throws org.eclipse.milo.opcua.stack.core.UaException
FileTypewriteOpenCount in interface FileTypeopenCount - the UShort value to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort> readOpenCountAsync()
FileTypeFileType.readOpenCount().readOpenCountAsync in interface FileTypepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeOpenCountAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort openCount)
FileTypeFileType.writeOpenCount(UShort).writeOpenCountAsync in interface FileTypepublic PropertyTypeNode getOpenCountNode() throws org.eclipse.milo.opcua.stack.core.UaException
FileTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getOpenCountNode in interface FileTypePropertyType Node, or null if it does not exist.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.public CompletableFuture<? extends PropertyTypeNode> getOpenCountNodeAsync()
FileTypeFileType.getOpenCountNode().getOpenCountNodeAsync in interface FileTypepublic String getMimeType() throws org.eclipse.milo.opcua.stack.core.UaException
FileTypeThe returned value is the last seen; it is not read live from the server.
getMimeType in interface FileTypeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the MimeType Node.public void setMimeType(String mimeType) throws org.eclipse.milo.opcua.stack.core.UaException
FileTypeThe value is only updated locally; it is not written to the server.
setMimeType in interface FileTypemimeType - the local value to set for the MimeType Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the MimeType Node.public String readMimeType() throws org.eclipse.milo.opcua.stack.core.UaException
FileTypereadMimeType in interface FileTypeString value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeMimeType(String mimeType) throws org.eclipse.milo.opcua.stack.core.UaException
FileTypewriteMimeType in interface FileTypemimeType - the String value to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public CompletableFuture<? extends String> readMimeTypeAsync()
FileTypeFileType.readMimeType().readMimeTypeAsync in interface FileTypepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeMimeTypeAsync(String mimeType)
FileTypeFileType.writeMimeType(String).writeMimeTypeAsync in interface FileTypepublic PropertyTypeNode getMimeTypeNode() throws org.eclipse.milo.opcua.stack.core.UaException
FileTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getMimeTypeNode in interface FileTypePropertyType Node, or null if it does not exist.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.public CompletableFuture<? extends PropertyTypeNode> getMimeTypeNodeAsync()
FileTypeFileType.getMimeTypeNode().getMimeTypeNodeAsync in interface FileTypeCopyright © 2021. All rights reserved.