| java.lang.Object org.objectweb.speedo.j2eedo.database.Employee
Employee | public class Employee implements DatabaseObjectInterface(Code) | | This class define the Java class to access to the employee's data
author: franck.milleville @cgey.com |
Constructor Summary | |
public | Employee(String firstname, String lastname, Date birthdate, Department department) | public | Employee(String firstname, String lastname, Address address, Date birthdate, Date hiredate, float salary, Department department, Employee manager, Collection projects) | public | Employee() |
Employee | public Employee(String firstname, String lastname, Date birthdate, Department department)(Code) | | Parameters: firstname - Parameters: lastname - Parameters: birthdate - Parameters: department - |
Employee | public Employee(String firstname, String lastname, Address address, Date birthdate, Date hiredate, float salary, Department department, Employee manager, Collection projects)(Code) | | Parameters: firstname - Parameters: lastname - Parameters: address - Parameters: birthdate - Parameters: hiredate - Parameters: salary - Parameters: department - Parameters: manager - Parameters: projects - |
Employee | public Employee()(Code) | | Empty constructor
|
getBirthdate | public Date getBirthdate()(Code) | | Returns the birthdate. |
getEmpid | public long getEmpid()(Code) | | Returns the empid. |
getFirstname | public String getFirstname()(Code) | | Returns the firstname. |
getHiredate | public Date getHiredate()(Code) | | Returns the hiredate. |
getLastname | public String getLastname()(Code) | | Returns the lastname. |
getSalary | public float getSalary()(Code) | | Returns the salary. |
setAddress | public void setAddress(Address address)(Code) | | Parameters: address - The address to set. |
setBirthdate | public void setBirthdate(Date birthdate)(Code) | | Parameters: birthdate - The birthdate to set. |
setDepartment | public void setDepartment(Department department)(Code) | | Parameters: department - The department to set. |
setFirstname | public void setFirstname(String firstname)(Code) | | Parameters: firstname - The firstname to set. |
setHiredate | public void setHiredate(Date hiredate)(Code) | | Parameters: hiredate - The hiredate to set. |
setLastname | public void setLastname(String lastname)(Code) | | Parameters: lastname - The lastname to set. |
setManager | public void setManager(Employee manager)(Code) | | Parameters: manager - The manager to set. |
setProjects | public void setProjects(Collection projects)(Code) | | Parameters: projects - The projects to set. |
setSalary | public void setSalary(float salary)(Code) | | Parameters: salary - The salary to set. |
|
|