KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > validator > examples > Employee


1 package org.sapia.validator.examples;
2
3
4 /**
5  * @author Yanick Duchesne
6  * <dl>
7  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
8  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
9  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
10  * </dl>
11  */

12 public class Employee {
13   private String JavaDoc _name;
14
15   /**
16    * Constructor for Employee.
17    */

18   public Employee(String JavaDoc name) {
19     _name = name;
20   }
21
22   public String JavaDoc getName() {
23     return _name;
24   }
25 }
26
Popular Tags