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 / TestBean.class (.txt) < prev    next >
Encoding:
Java Class File  |  2004-07-12  |  922 b   |  31 lines

  1. package org.apache.cocoon.samples.betwixt;
  2.  
  3. public class TestBean {
  4.    private String name;
  5.    private String scope;
  6.  
  7.    public TestBean() {
  8.    }
  9.  
  10.    public TestBean(String newName, String newScope) {
  11.       this.name = newName;
  12.       this.scope = newScope;
  13.    }
  14.  
  15.    public String getName() {
  16.       return this.name;
  17.    }
  18.  
  19.    public void setName(String newName) {
  20.       this.name = newName;
  21.    }
  22.  
  23.    public void setScope(String newScope) {
  24.       this.scope = newScope;
  25.    }
  26.  
  27.    public String getScope() {
  28.       return this.scope;
  29.    }
  30. }
  31.