home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-cocoon-addon-1.4.9-installer.exe / Department.class (.txt) < prev    next >
Encoding:
Java Class File  |  2004-07-12  |  818 b   |  26 lines

  1. package org.apache.cocoon.ojb.samples.bean;
  2.  
  3. import java.io.Serializable;
  4.  
  5. public class Department implements Serializable {
  6.    // $FF: renamed from: id int
  7.    private int field_0;
  8.    protected String name;
  9.  
  10.    public int getId() {
  11.       return this.field_0;
  12.    }
  13.  
  14.    public String getName() {
  15.       return this.name;
  16.    }
  17.  
  18.    public void setId(int newId) {
  19.       this.field_0 = newId;
  20.    }
  21.  
  22.    public void setName(String newName) {
  23.       this.name = newName;
  24.    }
  25. }
  26.