Class AasIvmlMapper.ServiceMap

java.lang.Object
de.iip_ecosphere.platform.configuration.ivml.AasIvmlMapper.ServiceMap
Enclosing class:
AasIvmlMapper

private static class AasIvmlMapper.ServiceMap extends Object
A "map" holding names/id to service mappings.
Author:
Holger Eichelberger, SSE
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private Map<String,net.ssehub.easy.varModel.confModel.IDecisionVariable>
     
    private Map<String,net.ssehub.easy.varModel.confModel.IDecisionVariable>
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    add(net.ssehub.easy.varModel.confModel.IDecisionVariable var)
    Adds a service.
    net.ssehub.easy.varModel.confModel.IDecisionVariable
    Returns a service by id or by configured name.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • nameToService

      private Map<String,net.ssehub.easy.varModel.confModel.IDecisionVariable> nameToService
    • idToService

      private Map<String,net.ssehub.easy.varModel.confModel.IDecisionVariable> idToService
  • Constructor Details

    • ServiceMap

      private ServiceMap()
  • Method Details

    • getService

      public net.ssehub.easy.varModel.confModel.IDecisionVariable getService(String svc)
      Returns a service by id or by configured name.
      Parameters:
      svc - the service id/name
      Returns:
      the resolved service, may be null
    • add

      private void add(net.ssehub.easy.varModel.confModel.IDecisionVariable var)
      Adds a service.
      Parameters:
      var - the configured variable representing the service