package com.alma.fournisseur.infrastructure;

import com.alma.fournisseur.domain.Product;

public class Infrastruture {
	
	public Product getProduct(int id){
		
		//appelle factory
		return null;
	}

}

@@ -76,23 +76,23 @@
 .domain.
-Product
+IEntity
 ;%0D%0A%0D%0Apub
@@ -129,23 +129,23 @@
 %09public 
-Product
+IEntity
  getProd
@@ -168,25 +168,41 @@
 %0D%0A%09%09
-//appelle f
+Factory f = new ProductF
 actory
+();
 %0D%0A%09%09
@@ -212,12 +212,24 @@
 urn 
-null
+f.getProduct(id)
 ;%0D%0A%09

add infrastructure method for the application