com.prosysopc.ua.types.di.server
Class DeviceTypeNodeBase

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.di.server.TopologyElementTypeNodeBase
                                  extended by com.prosysopc.ua.types.di.server.TopologyElementTypeNode
                                      extended by com.prosysopc.ua.types.di.server.DeviceTypeNodeBase
All Implemented Interfaces:
UaInstance, UaNode, UaObject, GeneratedNode, UaCallable, DeviceType, TopologyElementType, BaseInstanceType, BaseObjectType
Direct Known Subclasses:
DeviceTypeNode

public abstract class DeviceTypeNodeBase
extends TopologyElementTypeNode
implements DeviceType

Defines the basic information components for all configurable elements in a device topology

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


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.di.DeviceType
C_P_IDENTIFIER, DEVICE_CLASS, DEVICE_HEALTH, DEVICE_MANUAL, DEVICE_REVISION, DEVICE_TYPE_IMAGE, DOCUMENTATION, HARDWARE_REVISION, IMAGE_SET, MANUFACTURER, MODEL, PROTOCOL_SUPPORT, REVISION_COUNTER, SERIAL_NUMBER, SOFTWARE_REVISION
 
Fields inherited from interface com.prosysopc.ua.types.di.TopologyElementType
GROUP_IDENTIFIER, IDENTIFICATION, LOCK, METHOD_SET, PARAMETER_SET
 
Constructor Summary
protected DeviceTypeNodeBase(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
 org.opcfoundation.ua.builtintypes.Variant[] callMethod(ServiceContext serviceContext, org.opcfoundation.ua.builtintypes.NodeId methodId, org.opcfoundation.ua.builtintypes.Variant[] inputArguments, org.opcfoundation.ua.builtintypes.StatusCode[] inputArgumentResults, org.opcfoundation.ua.builtintypes.DiagnosticInfo[] inputArgumentDiagnosticInfos)
          Fallback implementation when no subtype handles the method call.
 String getDeviceClass()
           
 UaProperty getDeviceClassNode()
           
 DeviceHealthEnumeration getDeviceHealth()
           
 UaProperty getDeviceHealthNode()
           
 String getDeviceManual()
           
 UaProperty getDeviceManualNode()
           
 String getDeviceRevision()
           
 UaProperty getDeviceRevisionNode()
           
 FolderTypeNode getDeviceTypeImageNode()
           
static GeneratedNodeInitializer<DeviceTypeNode> getDeviceTypeNodeInitializer()
           
 FolderTypeNode getDocumentationNode()
           
 String getHardwareRevision()
           
 UaProperty getHardwareRevisionNode()
           
 FolderTypeNode getImageSetNode()
           
 org.opcfoundation.ua.builtintypes.LocalizedText getManufacturer()
           
 UaProperty getManufacturerNode()
           
 org.opcfoundation.ua.builtintypes.LocalizedText getModel()
           
 UaProperty getModelNode()
           
 FolderTypeNode getProtocolSupportNode()
           
 Integer getRevisionCounter()
           
 UaProperty getRevisionCounterNode()
           
 String getSerialNumber()
           
 UaProperty getSerialNumberNode()
           
 String getSoftwareRevision()
           
 UaProperty getSoftwareRevisionNode()
           
 void setDeviceClass(String value)
           
 void setDeviceHealth(DeviceHealthEnumeration value)
           
 void setDeviceManual(String value)
           
 void setDeviceRevision(String value)
           
static void setDeviceTypeNodeInitializer(GeneratedNodeInitializer<DeviceTypeNode> deviceTypeNodeInitializerNewValue)
           
 void setHardwareRevision(String value)
           
 void setManufacturer(org.opcfoundation.ua.builtintypes.LocalizedText value)
           
 void setModel(org.opcfoundation.ua.builtintypes.LocalizedText value)
           
 void setRevisionCounter(Integer value)
           
 void setSerialNumber(String value)
           
 void setSoftwareRevision(String value)
           
 
Methods inherited from class com.prosysopc.ua.types.di.server.TopologyElementTypeNodeBase
getIdentificationNode, getLockNode, getMethodSetNode, getParameterSetNode, getTopologyElementTypeNodeInitializer, setTopologyElementTypeNodeInitializer
 
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.di.TopologyElementType
getIdentificationNode, getLockNode, getMethodSetNode, getParameterSetNode
 
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

DeviceTypeNodeBase

protected DeviceTypeNodeBase(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 TopologyElementTypeNode

getDeviceTypeNodeInitializer

public static GeneratedNodeInitializer<DeviceTypeNode> getDeviceTypeNodeInitializer()

setDeviceTypeNodeInitializer

public static void setDeviceTypeNodeInitializer(GeneratedNodeInitializer<DeviceTypeNode> deviceTypeNodeInitializerNewValue)

getSerialNumberNode

public UaProperty getSerialNumberNode()
Specified by:
getSerialNumberNode in interface DeviceType

getSerialNumber

public String getSerialNumber()
Specified by:
getSerialNumber in interface DeviceType

setSerialNumber

public void setSerialNumber(String value)
Specified by:
setSerialNumber in interface DeviceType

getRevisionCounterNode

public UaProperty getRevisionCounterNode()
Specified by:
getRevisionCounterNode in interface DeviceType

getRevisionCounter

public Integer getRevisionCounter()
Specified by:
getRevisionCounter in interface DeviceType

setRevisionCounter

public void setRevisionCounter(Integer value)
Specified by:
setRevisionCounter in interface DeviceType

getManufacturerNode

public UaProperty getManufacturerNode()
Specified by:
getManufacturerNode in interface DeviceType

getManufacturer

public org.opcfoundation.ua.builtintypes.LocalizedText getManufacturer()
Specified by:
getManufacturer in interface DeviceType

setManufacturer

public void setManufacturer(org.opcfoundation.ua.builtintypes.LocalizedText value)
Specified by:
setManufacturer in interface DeviceType

getModelNode

public UaProperty getModelNode()
Specified by:
getModelNode in interface DeviceType

getModel

public org.opcfoundation.ua.builtintypes.LocalizedText getModel()
Specified by:
getModel in interface DeviceType

setModel

public void setModel(org.opcfoundation.ua.builtintypes.LocalizedText value)
Specified by:
setModel in interface DeviceType

getDeviceManualNode

public UaProperty getDeviceManualNode()
Specified by:
getDeviceManualNode in interface DeviceType

getDeviceManual

public String getDeviceManual()
Specified by:
getDeviceManual in interface DeviceType

setDeviceManual

public void setDeviceManual(String value)
Specified by:
setDeviceManual in interface DeviceType

getDeviceRevisionNode

public UaProperty getDeviceRevisionNode()
Specified by:
getDeviceRevisionNode in interface DeviceType

getDeviceRevision

public String getDeviceRevision()
Specified by:
getDeviceRevision in interface DeviceType

setDeviceRevision

public void setDeviceRevision(String value)
Specified by:
setDeviceRevision in interface DeviceType

getSoftwareRevisionNode

public UaProperty getSoftwareRevisionNode()
Specified by:
getSoftwareRevisionNode in interface DeviceType

getSoftwareRevision

public String getSoftwareRevision()
Specified by:
getSoftwareRevision in interface DeviceType

setSoftwareRevision

public void setSoftwareRevision(String value)
Specified by:
setSoftwareRevision in interface DeviceType

getHardwareRevisionNode

public UaProperty getHardwareRevisionNode()
Specified by:
getHardwareRevisionNode in interface DeviceType

getHardwareRevision

public String getHardwareRevision()
Specified by:
getHardwareRevision in interface DeviceType

setHardwareRevision

public void setHardwareRevision(String value)
Specified by:
setHardwareRevision in interface DeviceType

getDeviceClassNode

public UaProperty getDeviceClassNode()
Specified by:
getDeviceClassNode in interface DeviceType

getDeviceClass

public String getDeviceClass()
Specified by:
getDeviceClass in interface DeviceType

setDeviceClass

public void setDeviceClass(String value)
Specified by:
setDeviceClass in interface DeviceType

getDeviceHealthNode

public UaProperty getDeviceHealthNode()
Specified by:
getDeviceHealthNode in interface DeviceType

getDeviceHealth

public DeviceHealthEnumeration getDeviceHealth()
Specified by:
getDeviceHealth in interface DeviceType

setDeviceHealth

public void setDeviceHealth(DeviceHealthEnumeration value)
Specified by:
setDeviceHealth in interface DeviceType

getDeviceTypeImageNode

public FolderTypeNode getDeviceTypeImageNode()
Specified by:
getDeviceTypeImageNode in interface DeviceType

getDocumentationNode

public FolderTypeNode getDocumentationNode()
Specified by:
getDocumentationNode in interface DeviceType

getProtocolSupportNode

public FolderTypeNode getProtocolSupportNode()
Specified by:
getProtocolSupportNode in interface DeviceType

getImageSetNode

public FolderTypeNode getImageSetNode()
Specified by:
getImageSetNode in interface DeviceType

callMethod

public org.opcfoundation.ua.builtintypes.Variant[] callMethod(ServiceContext serviceContext,
                                                              org.opcfoundation.ua.builtintypes.NodeId methodId,
                                                              org.opcfoundation.ua.builtintypes.Variant[] inputArguments,
                                                              org.opcfoundation.ua.builtintypes.StatusCode[] inputArgumentResults,
                                                              org.opcfoundation.ua.builtintypes.DiagnosticInfo[] inputArgumentDiagnosticInfos)
                                                       throws StatusException
Description copied from class: UaObjectNode
Fallback implementation when no subtype handles the method call.

Specified by:
callMethod in interface UaCallable
Overrides:
callMethod in class TopologyElementTypeNodeBase
Returns:
Throws:
StatusException


Copyright © 2018. All rights reserved.