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

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.BaseEventTypeNodeBase
                                  extended by com.prosysopc.ua.types.opcua.server.BaseEventTypeNode
                                      extended by com.prosysopc.ua.types.opcua.server.ConditionTypeNodeBase
All Implemented Interfaces:
UaInstance, UaNode, UaObject, GeneratedNode, UaCallable, BaseEventType, BaseInstanceType, BaseObjectType, ConditionType
Direct Known Subclasses:
ConditionTypeNode

public abstract class ConditionTypeNodeBase
extends BaseEventTypeNode
implements ConditionType

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


Field Summary
 
Fields inherited from class com.prosysopc.ua.types.opcua.server.BaseEventTypeNode
lastEvent
 
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.ConditionType
ADD_COMMENT, BRANCH_ID, CLIENT_USER_ID, COMMENT, CONDITION_CLASS_ID, CONDITION_CLASS_NAME, CONDITION_NAME, DISABLE, ENABLE, ENABLED_STATE, LAST_SEVERITY, QUALITY, RETAIN
 
Fields inherited from interface com.prosysopc.ua.types.opcua.BaseEventType
EVENT_ID, EVENT_TYPE, LOCAL_TIME, MESSAGE, RECEIVE_TIME, SEVERITY, SOURCE_NAME, SOURCE_NODE, TIME
 
Constructor Summary
protected ConditionTypeNodeBase(NodeManagerUaNode nodeManager, org.opcfoundation.ua.builtintypes.NodeId nodeId, org.opcfoundation.ua.builtintypes.QualifiedName browseName, org.opcfoundation.ua.builtintypes.LocalizedText displayName)
           
 
Method Summary
 void addComment(org.opcfoundation.ua.builtintypes.ByteString eventId, org.opcfoundation.ua.builtintypes.LocalizedText comment)
           
 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.
 void disable()
           
 void enable()
           
static ConditionTypeAddCommentMethod getAddCommentMethodImplementation()
           
 UaMethod getAddCommentNode()
           
 org.opcfoundation.ua.builtintypes.NodeId getBranchId()
           
 UaProperty getBranchIdNode()
           
 String getClientUserId()
           
 UaProperty getClientUserIdNode()
           
 org.opcfoundation.ua.builtintypes.LocalizedText getComment()
           
 ConditionVariableTypeNode getCommentNode()
           
 org.opcfoundation.ua.builtintypes.NodeId getConditionClassId()
           
 UaProperty getConditionClassIdNode()
           
 org.opcfoundation.ua.builtintypes.LocalizedText getConditionClassName()
           
 UaProperty getConditionClassNameNode()
           
 String getConditionName()
           
 UaProperty getConditionNameNode()
           
static GeneratedNodeInitializer<ConditionTypeNode> getConditionTypeNodeInitializer()
           
static ConditionTypeDisableMethod getDisableMethodImplementation()
           
 UaMethod getDisableNode()
           
 org.opcfoundation.ua.builtintypes.LocalizedText getEnabledState()
           
 TwoStateVariableTypeNode getEnabledStateNode()
           
static ConditionTypeEnableMethod getEnableMethodImplementation()
           
 UaMethod getEnableNode()
           
 org.opcfoundation.ua.builtintypes.UnsignedShort getLastSeverity()
           
 ConditionVariableTypeNode getLastSeverityNode()
           
 org.opcfoundation.ua.builtintypes.StatusCode getQuality()
           
 ConditionVariableTypeNode getQualityNode()
           
 UaProperty getRetainNode()
           
 Boolean isRetain()
           
protected abstract  void onAddComment(ServiceContext serviceContext, org.opcfoundation.ua.builtintypes.ByteString eventId, org.opcfoundation.ua.builtintypes.LocalizedText comment)
           
protected abstract  void onDisable(ServiceContext serviceContext)
           
protected abstract  void onEnable(ServiceContext serviceContext)
           
static void setAddCommentMethodImplementation(ConditionTypeAddCommentMethod addCommentMethodImplementationNewValue)
           
 void setBranchId(org.opcfoundation.ua.builtintypes.NodeId value)
           
 void setClientUserId(String value)
           
 void setComment(org.opcfoundation.ua.builtintypes.LocalizedText value)
           
 void setConditionClassId(org.opcfoundation.ua.builtintypes.NodeId value)
           
 void setConditionClassName(org.opcfoundation.ua.builtintypes.LocalizedText value)
           
 void setConditionName(String value)
           
static void setConditionTypeNodeInitializer(GeneratedNodeInitializer<ConditionTypeNode> conditionTypeNodeInitializerNewValue)
           
static void setDisableMethodImplementation(ConditionTypeDisableMethod disableMethodImplementationNewValue)
           
 void setEnabledState(org.opcfoundation.ua.builtintypes.LocalizedText value)
           
static void setEnableMethodImplementation(ConditionTypeEnableMethod enableMethodImplementationNewValue)
           
 void setLastSeverity(int value)
           
 void setLastSeverity(org.opcfoundation.ua.builtintypes.UnsignedShort value)
           
 void setQuality(org.opcfoundation.ua.builtintypes.StatusCode value)
           
 void setRetain(Boolean value)
           
 
Methods inherited from class com.prosysopc.ua.types.opcua.server.BaseEventTypeNode
afterAddReference, getLastEvent, getSource, getSourceName, getSourceNode, isDeleteOneShotEvents, isMonitoredForEvents, setDeleteOneShotEvents, setSeverity, setSeverity, setSource, setSourceName, triggerEvent, triggerEvent
 
Methods inherited from class com.prosysopc.ua.types.opcua.server.BaseEventTypeNodeBase
getBaseEventTypeNodeInitializer, getEventId, getEventIdNode, getEventType, getEventTypeNode, getLocalTime, getLocalTimeNode, getMessage, getMessageNode, getReceiveTime, getReceiveTimeNode, getSeverity, getSeverityNode, getSourceNameNode, getSourceNodeNode, getTime, getTimeNode, setBaseEventTypeNodeInitializer, setEventId, setEventType, setLocalTime, setMessage, setReceiveTime, setSourceNode, setTime
 
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, 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.BaseEventType
getEventId, getEventIdNode, getEventType, getEventTypeNode, getLocalTime, getLocalTimeNode, getMessage, getMessageNode, getReceiveTime, getReceiveTimeNode, getSeverity, getSeverityNode, getSourceName, getSourceNameNode, getSourceNode, getSourceNodeNode, getTime, getTimeNode, setEventId, setEventType, setLocalTime, setMessage, setReceiveTime, setSeverity, setSourceName, setSourceNode, setTime
 
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

ConditionTypeNodeBase

protected ConditionTypeNodeBase(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 BaseEventTypeNode

getConditionTypeNodeInitializer

public static GeneratedNodeInitializer<ConditionTypeNode> getConditionTypeNodeInitializer()

setConditionTypeNodeInitializer

public static void setConditionTypeNodeInitializer(GeneratedNodeInitializer<ConditionTypeNode> conditionTypeNodeInitializerNewValue)

getConditionClassIdNode

public UaProperty getConditionClassIdNode()
Specified by:
getConditionClassIdNode in interface ConditionType

getConditionClassId

public org.opcfoundation.ua.builtintypes.NodeId getConditionClassId()
Specified by:
getConditionClassId in interface ConditionType

setConditionClassId

public void setConditionClassId(org.opcfoundation.ua.builtintypes.NodeId value)
Specified by:
setConditionClassId in interface ConditionType

getConditionClassNameNode

public UaProperty getConditionClassNameNode()
Specified by:
getConditionClassNameNode in interface ConditionType

getConditionClassName

public org.opcfoundation.ua.builtintypes.LocalizedText getConditionClassName()
Specified by:
getConditionClassName in interface ConditionType

setConditionClassName

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

getConditionNameNode

public UaProperty getConditionNameNode()
Specified by:
getConditionNameNode in interface ConditionType

getConditionName

public String getConditionName()
Specified by:
getConditionName in interface ConditionType

setConditionName

public void setConditionName(String value)
Specified by:
setConditionName in interface ConditionType

getBranchIdNode

public UaProperty getBranchIdNode()
Specified by:
getBranchIdNode in interface ConditionType

getBranchId

public org.opcfoundation.ua.builtintypes.NodeId getBranchId()
Specified by:
getBranchId in interface ConditionType

setBranchId

public void setBranchId(org.opcfoundation.ua.builtintypes.NodeId value)
Specified by:
setBranchId in interface ConditionType

getRetainNode

public UaProperty getRetainNode()
Specified by:
getRetainNode in interface ConditionType

isRetain

public Boolean isRetain()
Specified by:
isRetain in interface ConditionType

setRetain

public void setRetain(Boolean value)
Specified by:
setRetain in interface ConditionType

getClientUserIdNode

public UaProperty getClientUserIdNode()
Specified by:
getClientUserIdNode in interface ConditionType

getClientUserId

public String getClientUserId()
Specified by:
getClientUserId in interface ConditionType

setClientUserId

public void setClientUserId(String value)
Specified by:
setClientUserId in interface ConditionType

getEnabledStateNode

public TwoStateVariableTypeNode getEnabledStateNode()
Specified by:
getEnabledStateNode in interface ConditionType

getEnabledState

public org.opcfoundation.ua.builtintypes.LocalizedText getEnabledState()
Specified by:
getEnabledState in interface ConditionType

setEnabledState

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

getQualityNode

public ConditionVariableTypeNode getQualityNode()
Specified by:
getQualityNode in interface ConditionType

getQuality

public org.opcfoundation.ua.builtintypes.StatusCode getQuality()
Specified by:
getQuality in interface ConditionType

setQuality

public void setQuality(org.opcfoundation.ua.builtintypes.StatusCode value)
Specified by:
setQuality in interface ConditionType

getLastSeverityNode

public ConditionVariableTypeNode getLastSeverityNode()
Specified by:
getLastSeverityNode in interface ConditionType

getLastSeverity

public org.opcfoundation.ua.builtintypes.UnsignedShort getLastSeverity()
Specified by:
getLastSeverity in interface ConditionType

setLastSeverity

public void setLastSeverity(org.opcfoundation.ua.builtintypes.UnsignedShort value)
Specified by:
setLastSeverity in interface ConditionType

setLastSeverity

public void setLastSeverity(int value)

getCommentNode

public ConditionVariableTypeNode getCommentNode()
Specified by:
getCommentNode in interface ConditionType

getComment

public org.opcfoundation.ua.builtintypes.LocalizedText getComment()
Specified by:
getComment in interface ConditionType

setComment

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

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

getDisableNode

public UaMethod getDisableNode()
Specified by:
getDisableNode in interface ConditionType

onDisable

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

disable

public void disable()
             throws StatusException
Specified by:
disable in interface ConditionType
Throws:
StatusException

getDisableMethodImplementation

public static ConditionTypeDisableMethod getDisableMethodImplementation()

setDisableMethodImplementation

public static void setDisableMethodImplementation(ConditionTypeDisableMethod disableMethodImplementationNewValue)

getEnableNode

public UaMethod getEnableNode()
Specified by:
getEnableNode in interface ConditionType

onEnable

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

enable

public void enable()
            throws StatusException
Specified by:
enable in interface ConditionType
Throws:
StatusException

getEnableMethodImplementation

public static ConditionTypeEnableMethod getEnableMethodImplementation()

setEnableMethodImplementation

public static void setEnableMethodImplementation(ConditionTypeEnableMethod enableMethodImplementationNewValue)

getAddCommentNode

public UaMethod getAddCommentNode()
Specified by:
getAddCommentNode in interface ConditionType

onAddComment

protected abstract void onAddComment(ServiceContext serviceContext,
                                     org.opcfoundation.ua.builtintypes.ByteString eventId,
                                     org.opcfoundation.ua.builtintypes.LocalizedText comment)
                              throws StatusException
Throws:
StatusException

addComment

public void addComment(org.opcfoundation.ua.builtintypes.ByteString eventId,
                       org.opcfoundation.ua.builtintypes.LocalizedText comment)
                throws StatusException
Specified by:
addComment in interface ConditionType
Throws:
StatusException

getAddCommentMethodImplementation

public static ConditionTypeAddCommentMethod getAddCommentMethodImplementation()

setAddCommentMethodImplementation

public static void setAddCommentMethodImplementation(ConditionTypeAddCommentMethod addCommentMethodImplementationNewValue)


Copyright © 2018. All rights reserved.