FileDocCategorySizeDatePackage
EmployeeBean.javaAPI DocExample2902Thu Jun 28 16:14:16 BST 2001com.ora.jsp.beans.emp

EmployeeBean.java

package com.ora.jsp.beans.emp;

import java.io.*;
import java.util.*;

/**
 * This class contains information about an employee.
 *
 * @author Hans Bergsten, Gefion software <hans@gefionsoftware.com>
 * @version 1.0
 */
public class EmployeeBean implements Serializable {
    // Properties
    private String dept;
    private String empDate;
    private String emailAddr;
    private String firstName;
    private String lastName;
    private String[] projects;
    private String password;
    private String userName;

    /**
     * Returns the dept property value.
     */
    public String getDept() {
        return dept;
    }

    /**
     * Sets the dept property value.
     */
    public void setDept(String dept) {
        this.dept = dept;
    }

    /**
     * Returns the empDate property value.
     */
    public String getEmpDate() {
        return empDate;
    }

    /**
     * Sets the empDate property value.
     */
    public void setEmpDate(String empDate) {
        this.empDate = empDate;
    }

    /**
     * Returns the emailAddr property value.
     */
    public String getEmailAddr() {
        return emailAddr;
    }

    /**
     * Sets the emailAddr property value.
     */
    public void setEmailAddr(String emailAddr) {
        this.emailAddr = emailAddr;
    }

    /**
     * Returns the firstName property value.
     */
    public String getFirstName() {
        return firstName;
    }

    /**
     * Sets the firstName property value.
     */
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    /**
     * Returns the lastName property value.
     */
    public String getLastName() {
        return lastName;
    }

    /**
     * Sets the lastName property value.
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    /**
     * Returns the projects property value.
     */
    public String[] getProjects() {
        if (projects == null) {
            projects = new String[0];
        }
        return projects;
    }

    /**
     * Sets the projects property value.
     */
    public void setProjects(String[] projects) {
        this.projects = projects;
    }
    
    /**
     * Returns the password property value.
     */
    public String getPassword() {
        return password;
    }

    /**
     * Sets the password property value.
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * Returns the userName property value.
     */
    public String getUserName() {
        return userName;
    }

    /**
     * Sets the userName property value.
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }
}