private class AasConnector.AasModelAccess
extends de.iip_ecosphere.platform.connectors.model.AbstractModelAccess
| Modifier and Type | Field and Description |
|---|---|
private de.iip_ecosphere.platform.support.aas.ElementsAccess |
base |
private Map<String,Map<String,de.iip_ecosphere.platform.support.aas.ElementsAccess>> |
elements |
private AasConnector.AasModelAccess |
parent |
private static char |
SEPARATOR_CHAR |
private static String |
SEPARATOR_STRING |
| Modifier | Constructor and Description |
|---|---|
protected |
AasModelAccess()
Creates the instance and binds the listener to the creating connector instance.
|
protected |
AasModelAccess(de.iip_ecosphere.platform.support.aas.ElementsAccess base,
AasConnector.AasModelAccess parent)
Creates the instance and binds the listener to the creating connector instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
call(String qName,
Object... args) |
private de.iip_ecosphere.platform.support.aas.Property |
findProperty(String qName)
Finds an AAS property.
|
Object |
get(String qName) |
protected de.iip_ecosphere.platform.connectors.ConnectorParameter |
getConnectorParameter() |
String |
getQSeparator() |
<T> T |
getStruct(String qName,
Class<T> type) |
void |
monitor(int notificationInterval,
String... qName) |
void |
monitorModelChanges(int notificationInterval) |
void |
registerCustomType(Class<?> cls) |
private de.iip_ecosphere.platform.support.aas.ElementsAccess |
retrieveElement(de.iip_ecosphere.platform.support.aas.ElementsAccess current,
String qName)
Retrieves a node starting at
current recursively following the path given by qName. |
private de.iip_ecosphere.platform.support.aas.ElementsAccess |
retrieveElement(String qName)
Retrieves a node starting at the root of the OPC UA model based on the node's qualified name
qName. |
void |
set(String qName,
Object value) |
void |
setStruct(String qName,
Object value) |
AasConnector.AasModelAccess |
stepInto(String name) |
AasConnector.AasModelAccess |
stepOut() |
String |
topInstancesQName() |
iqName, isDetailNotifiedItemEnabled, monitor, monitorModelChanges, qName, setDetailNotifiedItem, useNotifications, useNotificationsprivate static final char SEPARATOR_CHAR
private static final String SEPARATOR_STRING
private de.iip_ecosphere.platform.support.aas.ElementsAccess base
private AasConnector.AasModelAccess parent
protected AasModelAccess()
protected AasModelAccess(de.iip_ecosphere.platform.support.aas.ElementsAccess base,
AasConnector.AasModelAccess parent)
base - the element to resolve onparent - the return parent for stepOut()public String topInstancesQName()
public String getQSeparator()
private de.iip_ecosphere.platform.support.aas.Property findProperty(String qName) throws IOException
qName - the qualified name of the propertyIOException - if the property cannot be found/retrievedprivate de.iip_ecosphere.platform.support.aas.ElementsAccess retrieveElement(String qName) throws IOException
qName.
Takes into account the nodes cache.qName - the qualified node nameIOException - if no node can be found for qNameprivate de.iip_ecosphere.platform.support.aas.ElementsAccess retrieveElement(de.iip_ecosphere.platform.support.aas.ElementsAccess current,
String qName)
current recursively following the path given by qName.current - the current not to start searching forqName - the qualified node namepublic Object call(String qName, Object... args) throws IOException
IOExceptionpublic Object get(String qName) throws IOException
IOExceptionpublic void set(String qName, Object value) throws IOException
IOExceptionpublic <T> T getStruct(String qName, Class<T> type) throws IOException
IOExceptionpublic void setStruct(String qName, Object value) throws IOException
IOExceptionpublic void registerCustomType(Class<?> cls) throws IOException
IOExceptionpublic void monitor(int notificationInterval,
String... qName)
throws IOException
IOExceptionpublic void monitorModelChanges(int notificationInterval)
throws IOException
IOExceptionprotected de.iip_ecosphere.platform.connectors.ConnectorParameter getConnectorParameter()
getConnectorParameter in class de.iip_ecosphere.platform.connectors.model.AbstractModelAccesspublic AasConnector.AasModelAccess stepInto(String name) throws IOException
IOExceptionpublic AasConnector.AasModelAccess stepOut()
Copyright © 2022. All rights reserved.