com.prosysopc.ua.types.opcua.server
Class FileDirectoryTypeNode

java.lang.Object
  extended by com.prosysopc.ua.nodes.AbstractUaNode
      extended by com.prosysopc.ua.server.nodes.ServerNode
          extended by com.prosysopc.ua.server.nodes.BaseNode
              extended by com.prosysopc.ua.server.nodes.UaInstanceNode
                  extended by com.prosysopc.ua.server.nodes.UaObjectNode
                      extended by com.prosysopc.ua.server.nodes.AbstractGeneratedObjectNode
                          extended by com.prosysopc.ua.types.opcua.server.BaseObjectTypeNode
                              extended by com.prosysopc.ua.types.opcua.server.FolderTypeNodeBase
                                  extended by com.prosysopc.ua.types.opcua.server.FolderTypeNode
                                      extended by com.prosysopc.ua.types.opcua.server.FileDirectoryTypeNodeBase
                                          extended by com.prosysopc.ua.types.opcua.server.FileDirectoryTypeNode
All Implemented Interfaces:
UaInstance, UaNode, UaObject, GeneratedNode, UaCallable, BaseInstanceType, BaseObjectType, FileDirectoryType, FolderType

public class FileDirectoryTypeNode
extends FileDirectoryTypeNodeBase

Generated on 2018-05-09 10:46:24


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.prosysopc.ua.types.opcua.FileDirectoryType
FileDirectoryType.CreateFileMethodOutputs
 
Field Summary
 
Fields inherited from class com.prosysopc.ua.server.nodes.BaseNode
NODE_VERSION_PROPERTY_NAME
 
Fields inherited from class com.prosysopc.ua.server.nodes.ServerNode
eventListeners, INITIALIZATION_TIME, nodeManager, supportedAttributesMap
 
Fields inherited from interface com.prosysopc.ua.types.opcua.FileDirectoryType
CREATE_DIRECTORY, CREATE_FILE, DELETE, FILE_DIRECTORY_NAME__PLACEHOLDER, FILE_NAME__PLACEHOLDER, MOVE_OR_COPY
 
Constructor Summary
protected FileDirectoryTypeNode(NodeManagerUaNode nodeManager, org.opcfoundation.ua.builtintypes.NodeId nodeId, org.opcfoundation.ua.builtintypes.QualifiedName browseName, org.opcfoundation.ua.builtintypes.LocalizedText displayName)
           
 
Method Summary
 void afterCreate()
          This method is called after NodeBuilder has constructed the instance, it is called for every sub-node that also implement this interface
protected  org.opcfoundation.ua.builtintypes.NodeId onCreateDirectory(ServiceContext serviceContext, String directoryName)
           
protected  FileDirectoryType.CreateFileMethodOutputs onCreateFile(ServiceContext serviceContext, String fileName, Boolean requestFileOpen)
           
protected  void onDelete(ServiceContext serviceContext, org.opcfoundation.ua.builtintypes.NodeId objectToDelete)
           
protected  org.opcfoundation.ua.builtintypes.NodeId onMoveOrCopy(ServiceContext serviceContext, org.opcfoundation.ua.builtintypes.NodeId objectToMoveOrCopy, org.opcfoundation.ua.builtintypes.NodeId targetDirectory, Boolean createCopy, String newName)
           
 
Methods inherited from class com.prosysopc.ua.types.opcua.server.FileDirectoryTypeNodeBase
callMethod, createDirectory, createFile, delete, getCreateDirectoryMethodImplementation, getCreateDirectoryNode, getCreateFileMethodImplementation, getCreateFileNode, getDeleteMethodImplementation, getDeleteNode, getFileDirectoryTypeNodeInitializer, getMoveOrCopyMethodImplementation, getMoveOrCopyNode, moveOrCopy, setCreateDirectoryMethodImplementation, setCreateFileMethodImplementation, setDeleteMethodImplementation, setFileDirectoryTypeNodeInitializer, setMoveOrCopyMethodImplementation
 
Methods inherited from class com.prosysopc.ua.types.opcua.server.FolderTypeNodeBase
getFolderTypeNodeInitializer, setFolderTypeNodeInitializer
 
Methods inherited from class com.prosysopc.ua.types.opcua.server.BaseObjectTypeNode
isCacheMethodIds, setCacheMethodIds
 
Methods inherited from class com.prosysopc.ua.server.nodes.AbstractGeneratedObjectNode
afterCreateInitIfExists, afterCreateSetValueIfExists, callAfterCreateIfExists, getDefaultTypeDefinition, getQualifiedName, isComponentMatch
 
Methods inherited from class com.prosysopc.ua.server.nodes.UaObjectNode
addCallListener, callMethod, deleteIfNodeExists, getAttributes, getAttributes, getEventNotifier, getIcon, getNodeClass, initSupportedAttributes, readAttributeValue, removeCallListener, setAttributes, setEventNotifier, setIcon, toString, writeAttributeValue
 
Methods inherited from class com.prosysopc.ua.server.nodes.UaInstanceNode
addModellingRule, beforeAddReference, getTypeDefinition, getTypeDefinitionId, hasTypeDefinition, registerOverridePlainMethod, setTypeDefinition, setTypeDefinitionId, setTypeDefinitionId, supportsTypeDefinitionNode
 
Methods inherited from class com.prosysopc.ua.server.nodes.BaseNode
addPlainProperty, addPlainVariable, assertTypeSupport, assertTypeSupport, createNodeId, createNodeId, createReflectiveInstanceProperty, createReflectiveInstanceProperty, deleteReference, deleteReference, doAddProperty, getAttributes, getBrowseName, getComponent, getComponents, getDescription, getDescription, getDisplayName, getDisplayName, getMethod, getNodeVersion, getNodeVersionValue, getProperties, getProperty, getPropertyValue, getReferencesAsList, getStandardBrowseName, getStandardDisplayText, getUserWriteMask, getWriteMask, hasProperty, hasReference, hasUserWriteAccess, hasWriteAccess, incNodeVersion, initNodeVersion, isChildOfType, readAttribute, readAttribute, registerCallbackProperty, registerPlainInstanceProperty, registerPlainInstanceProperty, registerPlainProperty, registerPlainProperty, registerPlainVariable, registerPlainVariable, registerReflectiveInstanceProperty, registerReflectiveInstanceVariable, registerReflectiveProperty, registerReflectiveVariable, removeProperty, setAccessLevelRecursively, setAccessLevelRecursively, setAttribute, setBrowseName, setDescription, setDisplayName, setNodeVersionValue, setPropertyValue, setUserWriteMask, setWriteMask, writeAttribute
 
Methods inherited from class com.prosysopc.ua.server.nodes.ServerNode
addComponent, addDataChangeListener, addEventListener, addNewReference, addNewReference, addOrganizes, addProperties, addProperty, addReference, addReference, addReference, addReference, addReference, addReference, afterAddReference, afterDeleteReference, dataChange, deleteReference, deleteReference, deleteReferences, doDeleteReference, equals, findPlaceholders, fireDataChange, fireEvent, fireEventInParents, getAddressSpace, getDefaultBrowseName, getNodeId, getNodeManager, getReference, getReferenceList, getReferences, getSupportedAttributes, getTargetNodes, hashCode, isAddNotifierReferencesToServerObject, isFalseOrNull, isMandatory, isMonitoredForEvents, isTrueOrNull, isType, referenceTypeInherits, removeComponent, removeDataChangeListener, removeEventListener, setAddNotifierReferencesToServerObject, setReferences, supportsAttribute, translateBrowsePathToNodeIds, validateHasEventSourceChain, validateHasEventSourceChain
 
Methods inherited from class com.prosysopc.ua.nodes.AbstractUaNode
getForwardReferences, getInverseReferences, getReferences, getReferences, referenceTypeInherits
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.prosysopc.ua.types.opcua.BaseInstanceType
getQualifiedName
 
Methods inherited from interface com.prosysopc.ua.nodes.UaObject
callMethod, getEventNotifier, getIcon, setEventNotifier, setIcon
 
Methods inherited from interface com.prosysopc.ua.nodes.UaInstance
getTypeDefinition, getTypeDefinitionId, setTypeDefinition, setTypeDefinitionId, setTypeDefinitionId
 
Methods inherited from interface com.prosysopc.ua.nodes.UaNode
addComponent, addProperty, addReference, addReference, addReference, deleteReference, deleteReference, deleteReference, deleteReference, getAddressSpace, getAttributes, getBrowseName, getComponent, getComponents, getDescription, getDisplayName, getForwardReferences, getInverseReferences, getMethod, getNodeClass, getNodeId, getNodeVersion, getProperties, getProperty, getReference, getReferences, getReferences, getSupportedAttributes, getUserWriteMask, getWriteMask, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, removeComponent, removeProperty, setAttribute, setAttributes, setBrowseName, setDescription, setDisplayName, setReferences, setUserWriteMask, setWriteMask, supportsAttribute, writeAttribute
 

Constructor Detail

FileDirectoryTypeNode

protected FileDirectoryTypeNode(NodeManagerUaNode nodeManager,
                                org.opcfoundation.ua.builtintypes.NodeId nodeId,
                                org.opcfoundation.ua.builtintypes.QualifiedName browseName,
                                org.opcfoundation.ua.builtintypes.LocalizedText displayName)
Method Detail

afterCreate

public void afterCreate()
Description copied from interface: GeneratedNode
This method is called after NodeBuilder has constructed the instance, it is called for every sub-node that also implement this interface

Specified by:
afterCreate in interface GeneratedNode
Overrides:
afterCreate in class FileDirectoryTypeNodeBase

onCreateDirectory

protected org.opcfoundation.ua.builtintypes.NodeId onCreateDirectory(ServiceContext serviceContext,
                                                                     String directoryName)
                                                              throws StatusException
Specified by:
onCreateDirectory in class FileDirectoryTypeNodeBase
Throws:
StatusException

onCreateFile

protected FileDirectoryType.CreateFileMethodOutputs onCreateFile(ServiceContext serviceContext,
                                                                 String fileName,
                                                                 Boolean requestFileOpen)
                                                          throws StatusException
Specified by:
onCreateFile in class FileDirectoryTypeNodeBase
Throws:
StatusException

onDelete

protected void onDelete(ServiceContext serviceContext,
                        org.opcfoundation.ua.builtintypes.NodeId objectToDelete)
                 throws StatusException
Specified by:
onDelete in class FileDirectoryTypeNodeBase
Throws:
StatusException

onMoveOrCopy

protected org.opcfoundation.ua.builtintypes.NodeId onMoveOrCopy(ServiceContext serviceContext,
                                                                org.opcfoundation.ua.builtintypes.NodeId objectToMoveOrCopy,
                                                                org.opcfoundation.ua.builtintypes.NodeId targetDirectory,
                                                                Boolean createCopy,
                                                                String newName)
                                                         throws StatusException
Specified by:
onMoveOrCopy in class FileDirectoryTypeNodeBase
Throws:
StatusException


Copyright © 2018. All rights reserved.