FileDocCategorySizeDatePackage
Employee.javaAPI DocApache Struts 2.0.9 Apps4569Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase.model

Employee

public class Employee extends Object implements IdEntity
Employee.

Fields Summary
private static final long
serialVersionUID
private Long
empId
private String
firstName
private String
lastName
private Date
birthDate
private Float
salary
private boolean
married
private String
position
private Skill
mainSkill
private List
otherSkills
private String
password
private String
level
private String
comment
Constructors Summary
public Employee()

 //textarea

      
    
public Employee(Long empId, String firstName, String lastName)

        this.empId = empId;
        this.firstName = firstName;
        this.lastName = lastName;
    
public Employee(Long empId, String firstName, String lastName, Date birthDate, Float salary, boolean married, String position, Skill mainSkill, List otherSkills, String password, String level, String comment)

        this.empId = empId;
        this.firstName = firstName;
        this.lastName = lastName;
        this.birthDate = birthDate;
        this.salary = salary;
        this.married = married;
        this.position = position;
        this.mainSkill = mainSkill;
        this.otherSkills = otherSkills;
        this.password = password;
        this.level = level;
        this.comment = comment;
    
Methods Summary
public java.util.DategetBirthDate()

        return birthDate;
    
public java.lang.StringgetComment()

        return comment;
    
public java.lang.LonggetEmpId()

        return empId;
    
public java.lang.StringgetFirstName()

        return firstName;
    
public java.io.SerializablegetId()

        return getEmpId();
    
public java.lang.StringgetLastName()

        return lastName;
    
public java.lang.StringgetLevel()

        return level;
    
public SkillgetMainSkill()

        return mainSkill;
    
public java.util.ListgetOtherSkills()

        return otherSkills;
    
public java.lang.StringgetPassword()

        return password;
    
public java.lang.StringgetPosition()

        return position;
    
public java.lang.FloatgetSalary()

        return salary;
    
public booleanisMarried()

        return married;
    
public voidsetBirthDate(java.util.Date birthDate)

        this.birthDate = birthDate;
    
public voidsetComment(java.lang.String comment)

        this.comment = comment;
    
public voidsetEmpId(java.lang.Long empId)

        this.empId = empId;
    
public voidsetFirstName(java.lang.String firstName)

        this.firstName = firstName;
    
public voidsetId(java.io.Serializable id)

        setEmpId((Long) id);
    
public voidsetLastName(java.lang.String lastName)

        this.lastName = lastName;
    
public voidsetLevel(java.lang.String level)

        this.level = level;
    
public voidsetMainSkill(Skill mainSkill)

        this.mainSkill = mainSkill;
    
public voidsetMarried(boolean married)

        this.married = married;
    
public voidsetOtherSkills(java.util.List otherSkills)

        this.otherSkills = otherSkills;
    
public voidsetPassword(java.lang.String password)

        this.password = password;
    
public voidsetPosition(java.lang.String position)

        this.position = position;
    
public voidsetSalary(java.lang.Float salary)

        this.salary = salary;