Class 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.AbstractModelAccess
    Implements the model access for AAS.
    Author:
    Holger Eichelberger, SSE
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.iip_ecosphere.platform.connectors.model.AbstractModelAccess

        de.iip_ecosphere.platform.connectors.model.AbstractModelAccess.NotificationChangedListener
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AdsModelAccess()
      Creates the instance and binds the listener to the creating connector instance.
      protected AdsModelAccess​(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.Object call​(java.lang.String qName, java.lang.Object... args)  
      java.lang.Object get​(java.lang.String qName)  
      byte getByte​(java.lang.String qName)  
      protected de.iip_ecosphere.platform.connectors.ConnectorParameter getConnectorParameter()  
      double getDouble​(java.lang.String qName)  
      float getFloat​(java.lang.String qName)  
      int getInt​(java.lang.String qName)  
      long getLong​(java.lang.String qName)  
      java.lang.String getQSeparator()  
      short getShort​(java.lang.String qName)  
      java.lang.String getString​(java.lang.String qName)  
      <T> T getStruct​(java.lang.String qName, java.lang.Class<T> type)  
      void monitor​(int notificationInterval, java.lang.String... qName)  
      void monitorModelChanges​(int notificationInterval)  
      void registerCustomType​(java.lang.Class<?> cls)  
      void set​(java.lang.String qName, java.lang.Object value)  
      void setByte​(java.lang.String qName, byte value)  
      void setDouble​(java.lang.String qName, double value)  
      void setFloat​(java.lang.String qName, float value)  
      void setInt​(java.lang.String qName, int value)  
      void setLong​(java.lang.String qName, long value)  
      void setShort​(java.lang.String qName, short value)  
      void setString​(java.lang.String qName, java.lang.String value)  
      void setStruct​(java.lang.String qName, java.lang.Object value)  
      AdsConnector.AdsModelAccess stepInto​(java.lang.String name)  
      AdsConnector.AdsModelAccess stepOut()  
      java.lang.String topInstancesQName()  
      • Methods inherited from class de.iip_ecosphere.platform.connectors.model.AbstractModelAccess

        iqName, isDetailNotifiedItemEnabled, monitor, monitorModelChanges, qName, setDetailNotifiedItem, useNotifications, useNotifications
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.iip_ecosphere.platform.connectors.model.ModelAccess

        get, getBoolean, getInputConverter, getOutputConverter, setBoolean
    • 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 on
        parent - the return parent for stepOut()
    • 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:
        getConnectorParameter in class de.iip_ecosphere.platform.connectors.model.AbstractModelAccess
      • stepInto

        public AdsConnector.AdsModelAccess stepInto​(java.lang.String name)
                                             throws java.io.IOException
        Throws:
        java.io.IOException