Package com.rakaiz.tailorbills.model.thoub

Examples of com.rakaiz.tailorbills.model.thoub.CustomerThoub


    super(columns);
  }

  @Override
  public Object getValueAt(int rowIndex, int columnIndex) {
    CustomerThoub thoub = (CustomerThoub) data.get(rowIndex);
    switch (columnIndex) {
    case 0:
      return thoub.getId();
    case 1:
      return thoub.getCustomer();
    case 2: return thoub.getCustomer().getMobileNo();
    case 3:
      return Utils.getHijriDate(thoub.getDesignDate());
    case 4:
      return Utils.getHijriDate(thoub.getDeliveryDate());
    case 5:
      return thoub.getThoubsCount();
    case 6:
      return thoub.getPrice();
    case 7:
      return thoub.getPaid();

    case 8:
      return thoub.getRemain();

    default:
      return null;
    }
  }
View Full Code Here


    this.thoubCustomerPanel.setCustomers(customers);
  }

  @Override
  protected DBObject createDBObject() {
    return new CustomerThoub();
  }
View Full Code Here

TOP

Related Classes of com.rakaiz.tailorbills.model.thoub.CustomerThoub

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.