Package no.ugland.utransprod.model

Examples of no.ugland.utransprod.model.SupplierType


  /**
   * @param supplierType
   */
  public void setSupplierType(SupplierType supplierType) {
    SupplierType oldType = getSupplierType();
    object.setSupplierType(supplierType);
    firePropertyChange(PROPERTY_SUPPLIER_TYPE, oldType, supplierType);
  }
View Full Code Here


   */
  @Override
  public SupplierTypeModel getBufferedObjectModel(
      PresentationModel presentationModel) {
    SupplierTypeModel supplierTypeModel = new SupplierTypeModel(
        new SupplierType());
    supplierTypeModel.setSupplierTypeId((Integer) presentationModel
        .getBufferedValue(PROPERTY_SUPPLIER_TYPE_ID));
    supplierTypeModel.setSupplierTypeName((String) presentationModel
        .getBufferedValue(PROPERTY_SUPPLIER_TYPE_NAME));
    supplierTypeModel.setDescription((String) presentationModel
View Full Code Here

  /**
   * @see no.ugland.utransprod.gui.handlers.AbstractViewHandler#getNewObject()
   */
  @Override
  public SupplierType getNewObject() {
    return new SupplierType();
  }
View Full Code Here

   * @param window
   *
   * @return leverand�rtype
   */
  public SupplierType insertNewSupplierType(WindowInterface window) {
    SupplierType supplierType = new SupplierType();
    openEditView(supplierType, false, window);
    return supplierType;
  }
View Full Code Here

     * @param rowIndex
     * @param columnIndex
     * @return verdi
     */
    public Object getValueAt(int rowIndex, int columnIndex) {
      SupplierType supplierType = (SupplierType) getRow(rowIndex);
      switch (columnIndex) {
      case 0:
        return supplierType.getSupplierTypeName();
      case 1:
        return supplierType.getDescription();
      default:
        throw new IllegalStateException("Unknown column");
      }

    }
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.model.SupplierType

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.