Class AdsConnector.AdsModelAccess
- java.lang.Object
-
- de.iip_ecosphere.platform.connectors.model.AbstractModelAccess
-
- de.iip_ecosphere.platform.connectors.ads.AdsConnector.AdsModelAccess
-
- All Implemented Interfaces:
de.iip_ecosphere.platform.connectors.model.ModelAccess
- Enclosing class:
- AdsConnector<CO,CI>
private class AdsConnector.AdsModelAccess extends de.iip_ecosphere.platform.connectors.model.AbstractModelAccessImplements the model access for AAS.- Author:
- Holger Eichelberger, SSE
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringbasePathprivate AdsConnector.AdsModelAccessparentprivate static java.lang.StringSEPARATOR_STRING
-
Constructor Summary
Constructors Modifier Constructor Description protectedAdsModelAccess()Creates the instance and binds the listener to the creating connector instance.protectedAdsModelAccess(java.lang.String basePath, AdsConnector.AdsModelAccess parent)Creates the instance and binds the listener to the creating connector instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectcall(java.lang.String qName, java.lang.Object... args)java.lang.Objectget(java.lang.String qName)bytegetByte(java.lang.String qName)protected de.iip_ecosphere.platform.connectors.ConnectorParametergetConnectorParameter()doublegetDouble(java.lang.String qName)floatgetFloat(java.lang.String qName)intgetInt(java.lang.String qName)longgetLong(java.lang.String qName)java.lang.StringgetQSeparator()shortgetShort(java.lang.String qName)java.lang.StringgetString(java.lang.String qName)<T> TgetStruct(java.lang.String qName, java.lang.Class<T> type)voidmonitor(int notificationInterval, java.lang.String... qName)voidmonitorModelChanges(int notificationInterval)voidregisterCustomType(java.lang.Class<?> cls)voidset(java.lang.String qName, java.lang.Object value)voidsetByte(java.lang.String qName, byte value)voidsetDouble(java.lang.String qName, double value)voidsetFloat(java.lang.String qName, float value)voidsetInt(java.lang.String qName, int value)voidsetLong(java.lang.String qName, long value)voidsetShort(java.lang.String qName, short value)voidsetString(java.lang.String qName, java.lang.String value)voidsetStruct(java.lang.String qName, java.lang.Object value)AdsConnector.AdsModelAccessstepInto(java.lang.String name)AdsConnector.AdsModelAccessstepOut()java.lang.StringtopInstancesQName()-
Methods inherited from class de.iip_ecosphere.platform.connectors.model.AbstractModelAccess
iqName, isDetailNotifiedItemEnabled, monitor, monitorModelChanges, qName, setDetailNotifiedItem, useNotifications, useNotifications
-
-
-
-
Field Detail
-
SEPARATOR_STRING
private static final java.lang.String SEPARATOR_STRING
- See Also:
- Constant Field Values
-
basePath
private java.lang.String basePath
-
parent
private AdsConnector.AdsModelAccess parent
-
-
Constructor Detail
-
AdsModelAccess
protected AdsModelAccess()
Creates the instance and binds the listener to the creating connector instance.
-
AdsModelAccess
protected AdsModelAccess(java.lang.String basePath, AdsConnector.AdsModelAccess parent)Creates the instance and binds the listener to the creating connector instance.- Parameters:
basePath- the base path to resolve onparent- the return parent forstepOut()
-
-
Method Detail
-
topInstancesQName
public java.lang.String topInstancesQName()
-
getQSeparator
public java.lang.String getQSeparator()
-
call
public java.lang.Object call(java.lang.String qName, java.lang.Object... args) throws java.io.IOException- Throws:
java.io.IOException
-
get
public java.lang.Object get(java.lang.String qName) throws java.io.IOException- Throws:
java.io.IOException
-
getInt
public int getInt(java.lang.String qName) throws java.io.IOException- Throws:
java.io.IOException
-
getFloat
public float getFloat(java.lang.String qName) throws java.io.IOException- Throws:
java.io.IOException
-
getDouble
public double getDouble(java.lang.String qName) throws java.io.IOException- Throws:
java.io.IOException
-
getLong
public long getLong(java.lang.String qName) throws java.io.IOException- Throws:
java.io.IOException
-
getShort
public short getShort(java.lang.String qName) throws java.io.IOException- Throws:
java.io.IOException
-
getByte
public byte getByte(java.lang.String qName) throws java.io.IOException- Throws:
java.io.IOException
-
getString
public java.lang.String getString(java.lang.String qName) throws java.io.IOException- Throws:
java.io.IOException
-
set
public void set(java.lang.String qName, java.lang.Object value) throws java.io.IOException- Throws:
java.io.IOException
-
setInt
public void setInt(java.lang.String qName, int value) throws java.io.IOException- Throws:
java.io.IOException
-
setLong
public void setLong(java.lang.String qName, long value) throws java.io.IOException- Throws:
java.io.IOException
-
setByte
public void setByte(java.lang.String qName, byte value) throws java.io.IOException- Throws:
java.io.IOException
-
setShort
public void setShort(java.lang.String qName, short value) throws java.io.IOException- Throws:
java.io.IOException
-
setDouble
public void setDouble(java.lang.String qName, double value) throws java.io.IOException- Throws:
java.io.IOException
-
setFloat
public void setFloat(java.lang.String qName, float value) throws java.io.IOException- Throws:
java.io.IOException
-
setString
public void setString(java.lang.String qName, java.lang.String value) throws java.io.IOException- Throws:
java.io.IOException
-
getStruct
public <T> T getStruct(java.lang.String qName, java.lang.Class<T> type) throws java.io.IOException- Throws:
java.io.IOException
-
setStruct
public void setStruct(java.lang.String qName, java.lang.Object value) throws java.io.IOException- Throws:
java.io.IOException
-
registerCustomType
public void registerCustomType(java.lang.Class<?> cls) throws java.io.IOException- Throws:
java.io.IOException
-
monitor
public void monitor(int notificationInterval, java.lang.String... qName) throws java.io.IOException- Throws:
java.io.IOException
-
monitorModelChanges
public void monitorModelChanges(int notificationInterval) throws java.io.IOException- Throws:
java.io.IOException
-
getConnectorParameter
protected de.iip_ecosphere.platform.connectors.ConnectorParameter getConnectorParameter()
- Specified by:
getConnectorParameterin classde.iip_ecosphere.platform.connectors.model.AbstractModelAccess
-
stepInto
public AdsConnector.AdsModelAccess stepInto(java.lang.String name) throws java.io.IOException
- Throws:
java.io.IOException
-
stepOut
public AdsConnector.AdsModelAccess stepOut()
-
-