package proxy;
public class Client {
public static void main
(String[] args
) { Client client = new Client();
List<ProductI> delivery = client.GetProducts();
}
public List<ProductI> GetProducts() {
List<ProductI> prodList = new ArrayList<ProductI>(3);
ProductI product = null;
product = new Product(30600, "Spanish Scooters, BARS Incorporated(C)", true);
prodList.add(new ProductProxy(product));
product = new Product(20000, "Ford Focus, Ford Corp.", false);
prodList.add(new ProductProxy(product));
product = new Product(25000, "Italian Furniture, Italica Company", true);
prodList.add(new ProductProxy(product));
return prodList;
}
}