    1   /***
    2    * @(#)Employee.java
    3    *
    4    * JFoxSOAF, Service-Oriented Application Framework
    5    *
    6    * Copyright(c) JFoxSOAF Team
    7    *
    8    * Licensed under the GNU LGPL, Version 2.1 (the "License");
    9    * you may not use this file except in compliance with the License.
    10   * You may obtain a copy of the License at
    11   *
    12   * http://www.gnu.org/copyleft/lesser.html
    13   *
    14   * Unless required by applicable law or agreed to in writing, software
    15   * distributed under the License is distributed on an "AS IS" BASIS,
    16   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    17   * See the License for the specific language governing permissions and
    18   * limitations under the License.
    19   *
    20   * For more information, please visit:
    21   * http://www.jfox.cn/confluence/display/JFoxSOAF/Home
    22   * http://www.huihoo.org/jfox/jfoxsoaf
    23   */
    24
    25  package org.huihoo.jfox.soaf.services.persistence;
    26
    27  import java.util.Date;
    28
    29  /***
    30   * JUnit test case model for IbatisServiceImpl
    31   * {@link org.huihoo.jfox.soaf.services.persistence.CategoryDao).
    32   *
    33   * @author <a href="clinton.begin@ibatis.com">Clinton Begin </a>
    34   * @author <a href="mailto:founder_chen@yahoo.com">Peter Cheng </a>
    35   * @version $Revision: 1.3 $ $Date: 2005/01/17 14:11:36 $
    36   * @version Revision: 1.0
    37   */
    38
    39  public class Employee {
    40
    41  	private String employeeId = null;
    42
    43  	private String name = null;
    44
    45  	private String jobDescription = null;
    46
    47  	private String jobTitle = null;
    48
    49  	private Date employedSince = null;
    50
    51  	private int monthlySalary = 0;
    52
    53  	/***
    54  	 * @return Returns the employedSince.
    55  	 */
    56  	public Date getEmployedSince() {
    57  		return employedSince;
    58  	}
    59
    60  	/***
    61  	 * @param employedSince
    62  	 *            The employedSince to set.
    63  	 */
    64  	public void setEmployedSince(Date employedSince) {
    65  		this.employedSince = employedSince;
    66  	}
    67
    68  	/***
    69  	 * @return Returns the employeeId.
    70  	 */
    71  	public String getEmployeeId() {
    72  		return employeeId;
    73  	}
    74
    75  	/***
    76  	 * @param employeeId
    77  	 *            The employeeId to set.
    78  	 */
    79  	public void setEmployeeId(String employeeId) {
    80  		this.employeeId = employeeId;
    81  	}
    82
    83  	/***
    84  	 * @return Returns the jobDescription.
    85  	 */
    86  	public String getJobDescription() {
    87  		return jobDescription;
    88  	}
    89
    90  	/***
    91  	 * @param jobDescription
    92  	 *            The jobDescription to set.
    93  	 */
    94  	public void setJobDescription(String jobDescription) {
    95  		this.jobDescription = jobDescription;
    96  	}
    97
    98  	/***
    99  	 * @return Returns the jobTitle.
    100 	 */
    101 	public String getJobTitle() {
    102 		return jobTitle;
    103 	}
    104
    105 	/***
    106 	 * @param jobTitle
    107 	 *            The jobTitle to set.
    108 	 */
    109 	public void setJobTitle(String jobTitle) {
    110 		this.jobTitle = jobTitle;
    111 	}
    112
    113 	/***
    114 	 * @return Returns the monthlySalary.
    115 	 */
    116 	public int getMonthlySalary() {
    117 		return monthlySalary;
    118 	}
    119
    120 	/***
    121 	 * @param monthlySalary
    122 	 *            The monthlySalary to set.
    123 	 */
    124 	public void setMonthlySalary(int monthlySalary) {
    125 		this.monthlySalary = monthlySalary;
    126 	}
    127
    128 	/***
    129 	 * @return Returns the name.
    130 	 */
    131 	public String getName() {
    132 		return name;
    133 	}
    134
    135 	/***
    136 	 * @param name
    137 	 *            The name to set.
    138 	 */
    139 	public void setName(String name) {
    140 		this.name = name;
    141 	}
    142 }