package negotiator.onetomany; import java.util.ArrayList; import java.util.List; /** * @author Faria Nassiri-Mofakham * */ public class DemandPlan { private List demandPlan; public DemandPlan() { this.demandPlan = new ArrayList(); } public List getDemandPlan() { return demandPlan; } public void addProduct(Product p) { demandPlan.add(p); } @Override public String toString() { return demandPlan.toString(); } }