New EI Consumer API, aligned to ORAN WG2
[nonrtric.git] / enrichment-coordinator-service / src / main / java / org / oransc / enrichment / repository / EiType.java
index 803fcba..a354198 100644 (file)
@@ -50,10 +50,10 @@ public class EiType {
     }
 
     public synchronized void addProducer(EiProducer producer) {
-        this.producers.put(producer.id(), producer);
+        this.producers.put(producer.getId(), producer);
     }
 
     public synchronized EiProducer removeProducer(EiProducer producer) {
-        return this.producers.remove(producer.id());
+        return this.producers.remove(producer.getId());
     }
 }