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

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
All Implemented Interfaces:
UaInstance, UaNode, UaObject, BaseInstanceType, BaseObjectType
Direct Known Subclasses:
AggregateConfigurationTypeImplBase, AggregateFunctionTypeImplBase, BaseConditionClassTypeImplBase, BaseEventTypeImplBase, CertificateGroupTypeImplBase, CertificateTypeImplBase, ConfigurableObjectTypeImplBase, CtrlTaskTypeImplBase, DataTypeEncodingTypeImplBase, DataTypeSystemTypeImplBase, FileTypeImplBase, FolderTypeImplBase, HistoricalDataConfigurationTypeImplBase, HistoryServerCapabilitiesTypeImplBase, LockingServicesTypeImplBase, ModellingRuleTypeImplBase, NamespaceMetadataTypeImplBase, NamespacesTypeImplBase, NetworkTypeImplBase, ProtocolTypeImplBase, ServerCapabilitiesTypeImplBase, ServerConfigurationTypeImplBase, ServerDiagnosticsTypeImplBase, ServerRedundancyTypeImplBase, ServerTypeImplBase, SessionDiagnosticsObjectTypeImplBase, SessionsDiagnosticsSummaryTypeImplBase, SFCTypeImplBase, StateMachineTypeImplBase, StateTypeImplBase, TopologyElementTypeImplBase, TransferServicesTypeImplBase, TransitionTypeImplBase, VendorServerInfoTypeImplBase

public class BaseObjectTypeImpl
extends UaObjectImpl
implements BaseObjectType


Field Summary
 
Fields inherited from class com.prosysopc.ua.client.nodes.UaNodeImpl
addressSpace, references, supportedAttributesMap
 
Constructor Summary
BaseObjectTypeImpl(AddressSpace addressSpace, org.opcfoundation.ua.builtintypes.NodeId nodeId, org.opcfoundation.ua.builtintypes.QualifiedName browseName, org.opcfoundation.ua.builtintypes.LocalizedText displayName)
           
 
Method Summary
 Object[] callMethod(org.opcfoundation.ua.builtintypes.QualifiedName browseName, Object... inArgs)
           
 org.opcfoundation.ua.transport.AsyncResult<Object[]> callMethodAsync(org.opcfoundation.ua.builtintypes.QualifiedName browseName, Object... inArgs)
           
protected  org.opcfoundation.ua.builtintypes.NodeId getComponentId(org.opcfoundation.ua.builtintypes.QualifiedName browseName)
          Get the NodeId of the node with a component that has the defined BrowseName
 org.opcfoundation.ua.builtintypes.QualifiedName getQualifiedName(String namespaceUri, String name)
           
 
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.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

BaseObjectTypeImpl

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

callMethod

public Object[] callMethod(org.opcfoundation.ua.builtintypes.QualifiedName browseName,
                           Object... inArgs)
                    throws MethodCallStatusException,
                           ServiceException
Throws:
MethodCallStatusException
ServiceException

callMethodAsync

public org.opcfoundation.ua.transport.AsyncResult<Object[]> callMethodAsync(org.opcfoundation.ua.builtintypes.QualifiedName browseName,
                                                                            Object... inArgs)

getQualifiedName

public org.opcfoundation.ua.builtintypes.QualifiedName getQualifiedName(String namespaceUri,
                                                                        String name)
Specified by:
getQualifiedName in interface BaseInstanceType

getComponentId

protected org.opcfoundation.ua.builtintypes.NodeId getComponentId(org.opcfoundation.ua.builtintypes.QualifiedName browseName)
Get the NodeId of the node with a component that has the defined BrowseName

Parameters:
browseName - the BrowseName of the component to search
Returns:
the NodeId of the node
Throws:
IllegalArgumentException - if no node with the defined browseName exists


Copyright © 2018. All rights reserved.