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

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.StateMachineTypeNodeBase
                                  extended by com.prosysopc.ua.types.opcua.server.StateMachineTypeNode
                                      extended by com.prosysopc.ua.types.opcua.server.FiniteStateMachineTypeNodeBase
                                          extended by com.prosysopc.ua.types.opcua.server.FiniteStateMachineTypeNode
                                              extended by com.prosysopc.ua.types.opcua.server.ShelvedStateMachineTypeNodeBase
All Implemented Interfaces:
UaInstance, UaNode, UaObject, GeneratedNode, UaCallable, BaseInstanceType, BaseObjectType, FiniteStateMachineType, ShelvedStateMachineType, StateMachineType
Direct Known Subclasses:
ShelvedStateMachineTypeNode

public abstract class ShelvedStateMachineTypeNodeBase
extends FiniteStateMachineTypeNode
implements ShelvedStateMachineType

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


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.ShelvedStateMachineType
ONE_SHOT_SHELVE, TIMED_SHELVE, UNSHELVE, UNSHELVE_TIME
 
Fields inherited from interface com.prosysopc.ua.types.opcua.FiniteStateMachineType
CURRENT_STATE, LAST_TRANSITION
 
Constructor Summary
protected ShelvedStateMachineTypeNodeBase(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.
static ShelvedStateMachineTypeOneShotShelveMethod getOneShotShelveMethodImplementation()
           
 UaMethod getOneShotShelveNode()
           
static GeneratedNodeInitializer<ShelvedStateMachineTypeNode> getShelvedStateMachineTypeNodeInitializer()
           
static ShelvedStateMachineTypeTimedShelveMethod getTimedShelveMethodImplementation()
           
 UaMethod getTimedShelveNode()
           
static ShelvedStateMachineTypeUnshelveMethod getUnshelveMethodImplementation()
           
 UaMethod getUnshelveNode()
           
 Double getUnshelveTime()
           
 UaProperty getUnshelveTimeNode()
           
 void oneShotShelve()
           
protected abstract  void onOneShotShelve(ServiceContext serviceContext)
           
protected abstract  void onTimedShelve(ServiceContext serviceContext, Double shelvingTime)
           
protected abstract  void onUnshelve(ServiceContext serviceContext)
           
static void setOneShotShelveMethodImplementation(ShelvedStateMachineTypeOneShotShelveMethod oneShotShelveMethodImplementationNewValue)
           
static void setShelvedStateMachineTypeNodeInitializer(GeneratedNodeInitializer<ShelvedStateMachineTypeNode> shelvedStateMachineTypeNodeInitializerNewValue)
           
static void setTimedShelveMethodImplementation(ShelvedStateMachineTypeTimedShelveMethod timedShelveMethodImplementationNewValue)
           
static void setUnshelveMethodImplementation(ShelvedStateMachineTypeUnshelveMethod unshelveMethodImplementationNewValue)
           
 void setUnshelveTime(Double value)
           
 void timedShelve(Double shelvingTime)
           
 void unshelve()
           
 
Methods inherited from class com.prosysopc.ua.types.opcua.server.FiniteStateMachineTypeNodeBase
getCurrentState, getCurrentStateNode, getFiniteStateMachineTypeNodeInitializer, getLastTransition, getLastTransitionNode, setCurrentState, setFiniteStateMachineTypeNodeInitializer, setLastTransition
 
Methods inherited from class com.prosysopc.ua.types.opcua.server.StateMachineTypeNodeBase
getStateMachineTypeNodeInitializer, setStateMachineTypeNodeInitializer
 
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.FiniteStateMachineType
getCurrentState, getCurrentStateNode, getLastTransition, getLastTransitionNode, setCurrentState, setLastTransition
 
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

ShelvedStateMachineTypeNodeBase

protected ShelvedStateMachineTypeNodeBase(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 FiniteStateMachineTypeNode

getShelvedStateMachineTypeNodeInitializer

public static GeneratedNodeInitializer<ShelvedStateMachineTypeNode> getShelvedStateMachineTypeNodeInitializer()

setShelvedStateMachineTypeNodeInitializer

public static void setShelvedStateMachineTypeNodeInitializer(GeneratedNodeInitializer<ShelvedStateMachineTypeNode> shelvedStateMachineTypeNodeInitializerNewValue)

getUnshelveTimeNode

public UaProperty getUnshelveTimeNode()
Specified by:
getUnshelveTimeNode in interface ShelvedStateMachineType

getUnshelveTime

public Double getUnshelveTime()
Specified by:
getUnshelveTime in interface ShelvedStateMachineType

setUnshelveTime

public void setUnshelveTime(Double value)
Specified by:
setUnshelveTime in interface ShelvedStateMachineType

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 FiniteStateMachineTypeNodeBase
Returns:
Throws:
StatusException

getUnshelveNode

public UaMethod getUnshelveNode()
Specified by:
getUnshelveNode in interface ShelvedStateMachineType

onUnshelve

protected abstract void onUnshelve(ServiceContext serviceContext)
                            throws StatusException
Throws:
StatusException

unshelve

public void unshelve()
              throws StatusException
Specified by:
unshelve in interface ShelvedStateMachineType
Throws:
StatusException

getUnshelveMethodImplementation

public static ShelvedStateMachineTypeUnshelveMethod getUnshelveMethodImplementation()

setUnshelveMethodImplementation

public static void setUnshelveMethodImplementation(ShelvedStateMachineTypeUnshelveMethod unshelveMethodImplementationNewValue)

getOneShotShelveNode

public UaMethod getOneShotShelveNode()
Specified by:
getOneShotShelveNode in interface ShelvedStateMachineType

onOneShotShelve

protected abstract void onOneShotShelve(ServiceContext serviceContext)
                                 throws StatusException
Throws:
StatusException

oneShotShelve

public void oneShotShelve()
                   throws StatusException
Specified by:
oneShotShelve in interface ShelvedStateMachineType
Throws:
StatusException

getOneShotShelveMethodImplementation

public static ShelvedStateMachineTypeOneShotShelveMethod getOneShotShelveMethodImplementation()

setOneShotShelveMethodImplementation

public static void setOneShotShelveMethodImplementation(ShelvedStateMachineTypeOneShotShelveMethod oneShotShelveMethodImplementationNewValue)

getTimedShelveNode

public UaMethod getTimedShelveNode()
Specified by:
getTimedShelveNode in interface ShelvedStateMachineType

onTimedShelve

protected abstract void onTimedShelve(ServiceContext serviceContext,
                                      Double shelvingTime)
                               throws StatusException
Throws:
StatusException

timedShelve

public void timedShelve(Double shelvingTime)
                 throws StatusException
Specified by:
timedShelve in interface ShelvedStateMachineType
Throws:
StatusException

getTimedShelveMethodImplementation

public static ShelvedStateMachineTypeTimedShelveMethod getTimedShelveMethodImplementation()

setTimedShelveMethodImplementation

public static void setTimedShelveMethodImplementation(ShelvedStateMachineTypeTimedShelveMethod timedShelveMethodImplementationNewValue)


Copyright © 2018. All rights reserved.