Class AasIvmlMapper.ServiceMap
- java.lang.Object
-
- de.iip_ecosphere.platform.configuration.ivml.AasIvmlMapper.ServiceMap
-
- Enclosing class:
- AasIvmlMapper
private static class AasIvmlMapper.ServiceMap extends java.lang.ObjectA "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>idToServiceprivate java.util.Map<java.lang.String,net.ssehub.easy.varModel.confModel.IDecisionVariable>nameToService
-
Constructor Summary
Constructors Modifier Constructor Description privateServiceMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidadd(net.ssehub.easy.varModel.confModel.IDecisionVariable var)Adds a service.net.ssehub.easy.varModel.confModel.IDecisionVariablegetService(java.lang.String svc)Returns a service by id or by configured name.
-
-
-
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
-
-