KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nanocontainer > testmodel > StringBean


1 /*****************************************************************************
2  * Copyright (c) PicoContainer Organization. All rights reserved. *
3  * ------------------------------------------------------------------------- *
4  * The software in this package is published under the terms of the BSD *
5  * style license a copy of which has been included with this distribution in *
6  * the LICENSE.txt file. *
7  * *
8  * Idea by Rachel Davies, Original code by various *
9  *****************************************************************************/

10 package org.nanocontainer.testmodel;
11
12 /**
13  * @author Stephen Molitor
14  * @version $Revision: 3146 $
15  */

16 public class StringBean {
17
18     private String JavaDoc firstName;
19     private String JavaDoc lastName;
20
21     public StringBean() {
22     }
23     
24     public String JavaDoc getFirstName() {
25         return firstName;
26     }
27
28     public void setFirstName(String JavaDoc firstName) {
29         this.firstName = firstName;
30     }
31
32     public String JavaDoc getLastName() {
33         return lastName;
34     }
35
36     public void setLastName(String JavaDoc lastName) {
37         this.lastName = lastName;
38     }
39 }
Popular Tags