Esempio n. 1
0
 /** @param args */
 public static void main(String[] args) {
   Barcode.Test();
   Item.Test();
   Product.Test();
   StorageUnit.Test();
   ProductContainer.Test();
   ProductGroup.Test();
   ProductList.Test();
   ItemList.Test();
   ProductContainerList.Test();
   ItemFilter.Test();
   ProductFilter.Test();
   ItemManager.Test();
   ProductManager.Test();
   //		Size.Test();
   StorageUnitManager.Test();
   System.out.println("All tests passed.");
 }
 @Override
 public int getRowCount() {
   return productList.size();
 }
 /**
  * Gibt das von einer Tabellen-Zeile repräsentierte Produkt zurück
  *
  * @param row Tabellen-Zeile
  * @return repräsentiertes Produkt
  */
 public Product getProductAtRow(int row) {
   return productList.get(row);
 }