Class AasIvmlMapper.ServiceMap

  • Enclosing class:
    AasIvmlMapper

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

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​net.ssehub.easy.varModel.confModel.IDecisionVariable> idToService  
      private java.util.Map<java.lang.String,​net.ssehub.easy.varModel.confModel.IDecisionVariable> nameToService  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ServiceMap()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void add​(net.ssehub.easy.varModel.confModel.IDecisionVariable var)
      Adds a service.
      net.ssehub.easy.varModel.confModel.IDecisionVariable getService​(java.lang.String svc)
      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 Detail

      • nameToService

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

        private java.util.Map<java.lang.String,​net.ssehub.easy.varModel.confModel.IDecisionVariable> idToService
    • Constructor Detail

      • ServiceMap

        private ServiceMap()
    • Method Detail

      • getService

        public net.ssehub.easy.varModel.confModel.IDecisionVariable getService​(java.lang.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