    1   /***
    2    * @(#)User.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.dao;
    26
    27  import java.io.Serializable;
    28  import java.sql.Timestamp;
    29
    30  /***
    31   * <p>
    32   * User model.
    33   * </p>
    34   *
    35   * @author <a href="mailto:founder_chen@yahoo.com.cn">Peter Cheng </a>
    36   * @version $Revision: 1.1 $ $Date: 2005/04/27 08:32:47 $
    37   * @version Revision: 1.0
    38   */
    39
    40  public class User implements Serializable {
    41
    42  	private String username;
    43
    44  	private String password;
    45
    46  	private Timestamp timestamp;
    47
    48  	/***
    49  	 * @return Returns the timestamp.
    50  	 */
    51  	public Timestamp getTimestamp() {
    52  		return timestamp;
    53  	}
    54
    55  	/***
    56  	 * @param timestamp
    57  	 *            The timestamp to set.
    58  	 */
    59  	public void setTimestamp(Timestamp timestamp) {
    60  		this.timestamp = timestamp;
    61  	}
    62
    63  	/***
    64  	 * @return Returns the password.
    65  	 */
    66  	public String getPassword() {
    67  		return password;
    68  	}
    69
    70  	/***
    71  	 * @param password
    72  	 *            The password to set.
    73  	 */
    74  	public void setPassword(String password) {
    75  		this.password = password;
    76  	}
    77
    78  	/***
    79  	 * @return Returns the username.
    80  	 */
    81  	public String getUsername() {
    82  		return username;
    83  	}
    84
    85  	/***
    86  	 * @param username
    87  	 *            The username to set.
    88  	 */
    89  	public void setUsername(String username) {
    90  		this.username = username;
    91  	}
    92
    93  	/*
    94  	 * @see java.lang.Object#equals(java.lang.Object)
    95  	 */
    96  	public boolean equals(Object obj) {
    97  		return super.equals(obj);
    98  	}
    99
    100 	/*
    101 	 * @see java.lang.Object#hashCode()
    102 	 */
    103 	public int hashCode() {
    104 		return super.hashCode();
    105 	}
    106
    107 	/*
    108 	 * @see java.lang.Object#toString()
    109 	 */
    110 	public String toString() {
    111 		return super.toString();
    112 	}
    113 }