com.prosysopc.ua.types.opcua.client
Class ProgramStateMachineTypeImplBase

java.lang.Object
  extended by com.prosysopc.ua.nodes.AbstractUaNode
      extended by com.prosysopc.ua.client.nodes.UaNodeImpl
          extended by com.prosysopc.ua.client.nodes.UaInstanceImpl
              extended by com.prosysopc.ua.client.nodes.UaObjectImpl
                  extended by com.prosysopc.ua.types.opcua.client.BaseObjectTypeImpl
                      extended by com.prosysopc.ua.types.opcua.client.StateMachineTypeImplBase
                          extended by com.prosysopc.ua.types.opcua.client.StateMachineTypeImpl
                              extended by com.prosysopc.ua.types.opcua.client.FiniteStateMachineTypeImplBase
                                  extended by com.prosysopc.ua.types.opcua.client.FiniteStateMachineTypeImpl
                                      extended by com.prosysopc.ua.types.opcua.client.ProgramStateMachineTypeImplBase
All Implemented Interfaces:
UaInstance, UaNode, UaObject, BaseInstanceType, BaseObjectType, FiniteStateMachineType, ProgramStateMachineType, StateMachineType
Direct Known Subclasses:
ProgramStateMachineTypeImpl

public abstract class ProgramStateMachineTypeImplBase
extends FiniteStateMachineTypeImpl
implements ProgramStateMachineType

A state machine for a program.

Generated on 2018-05-09 10:45:27


Field Summary
 
Fields inherited from class com.prosysopc.ua.client.nodes.UaNodeImpl
addressSpace, references, supportedAttributesMap
 
Fields inherited from interface com.prosysopc.ua.types.opcua.ProgramStateMachineType
AUTO_DELETE, CURRENT_STATE, DELETABLE, FINAL_RESULT_DATA, HALT, LAST_TRANSITION, PROGRAM_DIAGNOSTICS, RECYCLE_COUNT, RESET, RESUME, START, SUSPEND
 
Constructor Summary
protected ProgramStateMachineTypeImplBase(AddressSpace addressSpace, org.opcfoundation.ua.builtintypes.NodeId nodeId, org.opcfoundation.ua.builtintypes.QualifiedName browseName, org.opcfoundation.ua.builtintypes.LocalizedText displayName)
           
 
Method Summary
 UaProperty getAutoDeleteNode()
           
 org.opcfoundation.ua.builtintypes.LocalizedText getCurrentState()
           
 FiniteStateVariableType getCurrentStateNode()
           
 UaProperty getDeletableNode()
           
 BaseObjectType getFinalResultDataNode()
           
 UaMethod getHaltNode()
           
 org.opcfoundation.ua.builtintypes.LocalizedText getLastTransition()
           
 FiniteTransitionVariableType getLastTransitionNode()
           
 org.opcfoundation.ua.core.ProgramDiagnosticDataType getProgramDiagnostics()
           
 ProgramDiagnosticType getProgramDiagnosticsNode()
           
 Integer getRecycleCount()
           
 UaProperty getRecycleCountNode()
           
 UaMethod getResetNode()
           
 UaMethod getResumeNode()
           
 UaMethod getStartNode()
           
 UaMethod getSuspendNode()
           
 void halt()
           
 org.opcfoundation.ua.transport.AsyncResult<Void> haltAsync()
           
 Boolean isAutoDelete()
           
 Boolean isDeletable()
           
 void reset()
           
 org.opcfoundation.ua.transport.AsyncResult<Void> resetAsync()
           
 void resume()
           
 org.opcfoundation.ua.transport.AsyncResult<Void> resumeAsync()
           
 void setAutoDelete(Boolean value)
           
 void setCurrentState(org.opcfoundation.ua.builtintypes.LocalizedText value)
           
 void setDeletable(Boolean value)
           
 void setLastTransition(org.opcfoundation.ua.builtintypes.LocalizedText value)
           
 void setProgramDiagnostics(org.opcfoundation.ua.core.ProgramDiagnosticDataType value)
           
 void setRecycleCount(Integer value)
           
 void start()
           
 org.opcfoundation.ua.transport.AsyncResult<Void> startAsync()
           
 void suspend()
           
 org.opcfoundation.ua.transport.AsyncResult<Void> suspendAsync()
           
 
Methods inherited from class com.prosysopc.ua.types.opcua.client.BaseObjectTypeImpl
callMethod, callMethodAsync, getComponentId, getQualifiedName
 
Methods inherited from class com.prosysopc.ua.client.nodes.UaObjectImpl
addComponent, call, call, call, callAsync, callAsync, callAsync, callMethod, getAttributes, getAttributes, getEventNotifier, getIcon, getNodeClass, initSupportedAttributes, readAttributeValue, setAttributes, setEventNotifier, setIcon, toString, writeAttributeValue
 
Methods inherited from class com.prosysopc.ua.client.nodes.UaInstanceImpl
getTypeDefinition, getTypeDefinitionId, setTypeDefinition, setTypeDefinitionId, setTypeDefinitionId
 
Methods inherited from class com.prosysopc.ua.client.nodes.UaNodeImpl
addProperties, addProperty, addReference, addReference, addReference, addReference, afterAddReference, afterDeleteReference, assertTypeSupport, assertTypeSupport, beforeAddReference, deleteReference, deleteReference, deleteReference, deleteReference, deleteReferences, doAddProperty, equals, findPlaceholders, getAddressSpace, getAttributes, getBrowseName, getComponent, getComponents, getDescription, getDescription, getDisplayName, getDisplayName, getMethod, getNodeId, getNodeVersion, getNodeVersionString, getProperties, getProperty, getPropertyValue, getReference, getReferenceList, getReferences, getSupportedAttributes, getUserWriteMask, getWriteMask, hashCode, hasProperty, hasTypeDefinition, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, referenceTypeInherits, removeComponent, removeProperty, setAttribute, setAttributes, setBrowseName, setDescription, setDisplayName, setNodeVersion, setPropertyValue, setReferences, setUserWriteMask, setWriteMask, supportsAttribute, writeAttribute
 
Methods inherited from class com.prosysopc.ua.nodes.AbstractUaNode
getForwardReferences, getInverseReferences, getReferences, getReferences, getReferencesAsList, 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

ProgramStateMachineTypeImplBase

protected ProgramStateMachineTypeImplBase(AddressSpace addressSpace,
                                          org.opcfoundation.ua.builtintypes.NodeId nodeId,
                                          org.opcfoundation.ua.builtintypes.QualifiedName browseName,
                                          org.opcfoundation.ua.builtintypes.LocalizedText displayName)
Method Detail

getDeletableNode

public UaProperty getDeletableNode()
Specified by:
getDeletableNode in interface ProgramStateMachineType

isDeletable

public Boolean isDeletable()
Specified by:
isDeletable in interface ProgramStateMachineType

setDeletable

public void setDeletable(Boolean value)
                  throws StatusException
Specified by:
setDeletable in interface ProgramStateMachineType
Throws:
StatusException

getAutoDeleteNode

public UaProperty getAutoDeleteNode()
Specified by:
getAutoDeleteNode in interface ProgramStateMachineType

isAutoDelete

public Boolean isAutoDelete()
Specified by:
isAutoDelete in interface ProgramStateMachineType

setAutoDelete

public void setAutoDelete(Boolean value)
                   throws StatusException
Specified by:
setAutoDelete in interface ProgramStateMachineType
Throws:
StatusException

getRecycleCountNode

public UaProperty getRecycleCountNode()
Specified by:
getRecycleCountNode in interface ProgramStateMachineType

getRecycleCount

public Integer getRecycleCount()
Specified by:
getRecycleCount in interface ProgramStateMachineType

setRecycleCount

public void setRecycleCount(Integer value)
                     throws StatusException
Specified by:
setRecycleCount in interface ProgramStateMachineType
Throws:
StatusException

getCurrentStateNode

public FiniteStateVariableType getCurrentStateNode()
Specified by:
getCurrentStateNode in interface FiniteStateMachineType
Specified by:
getCurrentStateNode in interface ProgramStateMachineType
Specified by:
getCurrentStateNode in interface StateMachineType
Overrides:
getCurrentStateNode in class FiniteStateMachineTypeImplBase

getCurrentState

public org.opcfoundation.ua.builtintypes.LocalizedText getCurrentState()
Specified by:
getCurrentState in interface FiniteStateMachineType
Specified by:
getCurrentState in interface ProgramStateMachineType
Specified by:
getCurrentState in interface StateMachineType
Overrides:
getCurrentState in class FiniteStateMachineTypeImplBase

setCurrentState

public void setCurrentState(org.opcfoundation.ua.builtintypes.LocalizedText value)
                     throws StatusException
Specified by:
setCurrentState in interface FiniteStateMachineType
Specified by:
setCurrentState in interface ProgramStateMachineType
Specified by:
setCurrentState in interface StateMachineType
Overrides:
setCurrentState in class FiniteStateMachineTypeImplBase
Throws:
StatusException

getLastTransitionNode

public FiniteTransitionVariableType getLastTransitionNode()
Specified by:
getLastTransitionNode in interface FiniteStateMachineType
Specified by:
getLastTransitionNode in interface ProgramStateMachineType
Specified by:
getLastTransitionNode in interface StateMachineType
Overrides:
getLastTransitionNode in class FiniteStateMachineTypeImplBase

getLastTransition

public org.opcfoundation.ua.builtintypes.LocalizedText getLastTransition()
Specified by:
getLastTransition in interface FiniteStateMachineType
Specified by:
getLastTransition in interface ProgramStateMachineType
Specified by:
getLastTransition in interface StateMachineType
Overrides:
getLastTransition in class FiniteStateMachineTypeImplBase

setLastTransition

public void setLastTransition(org.opcfoundation.ua.builtintypes.LocalizedText value)
                       throws StatusException
Specified by:
setLastTransition in interface FiniteStateMachineType
Specified by:
setLastTransition in interface ProgramStateMachineType
Specified by:
setLastTransition in interface StateMachineType
Overrides:
setLastTransition in class FiniteStateMachineTypeImplBase
Throws:
StatusException

getProgramDiagnosticsNode

public ProgramDiagnosticType getProgramDiagnosticsNode()
Specified by:
getProgramDiagnosticsNode in interface ProgramStateMachineType

getProgramDiagnostics

public org.opcfoundation.ua.core.ProgramDiagnosticDataType getProgramDiagnostics()
Specified by:
getProgramDiagnostics in interface ProgramStateMachineType

setProgramDiagnostics

public void setProgramDiagnostics(org.opcfoundation.ua.core.ProgramDiagnosticDataType value)
                           throws StatusException
Specified by:
setProgramDiagnostics in interface ProgramStateMachineType
Throws:
StatusException

getFinalResultDataNode

public BaseObjectType getFinalResultDataNode()
Specified by:
getFinalResultDataNode in interface ProgramStateMachineType

getStartNode

public UaMethod getStartNode()
Specified by:
getStartNode in interface ProgramStateMachineType

start

public void start()
           throws MethodCallStatusException,
                  ServiceException
Specified by:
start in interface ProgramStateMachineType
Throws:
MethodCallStatusException
ServiceException

startAsync

public org.opcfoundation.ua.transport.AsyncResult<Void> startAsync()

getSuspendNode

public UaMethod getSuspendNode()
Specified by:
getSuspendNode in interface ProgramStateMachineType

suspend

public void suspend()
             throws MethodCallStatusException,
                    ServiceException
Specified by:
suspend in interface ProgramStateMachineType
Throws:
MethodCallStatusException
ServiceException

suspendAsync

public org.opcfoundation.ua.transport.AsyncResult<Void> suspendAsync()

getResumeNode

public UaMethod getResumeNode()
Specified by:
getResumeNode in interface ProgramStateMachineType

resume

public void resume()
            throws MethodCallStatusException,
                   ServiceException
Specified by:
resume in interface ProgramStateMachineType
Throws:
MethodCallStatusException
ServiceException

resumeAsync

public org.opcfoundation.ua.transport.AsyncResult<Void> resumeAsync()

getHaltNode

public UaMethod getHaltNode()
Specified by:
getHaltNode in interface ProgramStateMachineType

halt

public void halt()
          throws MethodCallStatusException,
                 ServiceException
Specified by:
halt in interface ProgramStateMachineType
Throws:
MethodCallStatusException
ServiceException

haltAsync

public org.opcfoundation.ua.transport.AsyncResult<Void> haltAsync()

getResetNode

public UaMethod getResetNode()
Specified by:
getResetNode in interface ProgramStateMachineType

reset

public void reset()
           throws MethodCallStatusException,
                  ServiceException
Specified by:
reset in interface ProgramStateMachineType
Throws:
MethodCallStatusException
ServiceException

resetAsync

public org.opcfoundation.ua.transport.AsyncResult<Void> resetAsync()


Copyright © 2018. All rights reserved.