Package no.ugland.utransprod.model

Examples of no.ugland.utransprod.model.EmployeeType


   */
  @Override
  public EmployeeTypeModel getBufferedObjectModel(
      PresentationModel presentationModel) {
    EmployeeTypeModel employeeTypeModel = new EmployeeTypeModel(
        new EmployeeType());
    employeeTypeModel.setEmployeeTypeId((Integer) presentationModel
        .getBufferedValue(PROPERTY_EMPLOYEE_TYPE_ID));
    employeeTypeModel.setEmployeeTypeName((String) presentationModel
        .getBufferedValue(PROPERTY_EMPLOYEE_TYPE_NAME));
    employeeTypeModel.setEmployeeTypeDescription((String) presentationModel
View Full Code Here


    }
    public EmployeeType getEmployeeType(){
        return object.getEmployeeType();
    }
    public void setEmployeeType(EmployeeType employeeType){
        EmployeeType oldEmployeeType=getEmployeeType();
        object.setEmployeeType(employeeType);
        firePropertyChange(PROPERTY_EMPLOYEE_TYPE, oldEmployeeType, employeeType);
    }
View Full Code Here

  /**
   * @param employeeType
   */
  public void setEmployeeType(EmployeeType employeeType) {
    EmployeeType oldType = getEmployeeType();
    object.setEmployeeType(employeeType);
    firePropertyChange(PROPERTY_EMPLOYEE_TYPE, oldType, employeeType);
  }
View Full Code Here

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

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

    }
View Full Code Here

TOP

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

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.