Java Doc for EmployeeImpl.java in  » J2EE » Enhydra-Demos » projectmanagement » business » employee » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » Enhydra Demos » projectmanagement.business.employee 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   projectmanagement.business.employee.EmployeeImpl

EmployeeImpl
public class EmployeeImpl implements Employee,java.io.Serializable(Code)
Represents an employee.
author:
   Sasa Bojanic
version:
   1.0


Field Summary
protected  EmployeeDOmyDO
     The DO of the Employee.

Constructor Summary
public  EmployeeImpl()
     The public constructor.
public  EmployeeImpl(EmployeeDO theEmployee)
     The public constructor theEmployee.

Method Summary
public  voiddelete()
     Deletes the employee from database.
public  StringgetAddress()
     Gets the address.
public  intgetAuthLevel()
    
public  DategetBirthDate()
    
public  StringgetCity()
     Gets the employee city.
public  StringgetCountry()
     Gets the employee's country.
public  EmployeeDOgetDO()
    
public  StringgetEmail()
     Gets the employee's email.
public  StringgetFirstName()
    
public  StringgetHandle()
    
public  DategetHireDate()
    
public  StringgetHomePhone()
     Gets the employee's home phone.
public  booleangetIsAdmin()
     Returns true if the employee is admin.
public  StringgetLastName()
    
public  StringgetLogin()
    
public  StringgetMobilePhone()
     Gets the employee's mobile phone.
public  StringgetNotes()
     Gets the employee's notes.
public  StringgetPassword()
    
public  StringgetPostalCode()
     Gets the employee's postal code.
public  StringgetRegion()
     Gets the employee's region.
public  StringgetTitle()
    
public  StringgetTitleOfCourtesy()
    
public  voidsave()
     Commits all changes to the database.
public  voidsetAddress(String address)
     Sets the address for the customer.
public  voidsetBirthDate(Date birthDate)
     Sets the birth date for the employee.
public  voidsetCity(String city)
     Sets the employee's city.
public  voidsetCountry(String country)
     Sets the employee's country.
public  voidsetEmail(String email)
     Sets the employee's email.
public  voidsetFirstName(String firstname)
     Sets the firstname for the employee.
public  voidsetHireDate(Date hireDate)
     Sets the hire date for the employee.
public  voidsetHomePhone(String homePhone)
     Sets the employee's home phone.
public  voidsetIsAdmin(boolean isAdmin)
     Sets the flag that indicates if employee is admin.
public  voidsetLastName(String lastname)
     Sets the lastname for the employee.
public  voidsetLogin(String login)
     Sets the login name for the employee.
public  voidsetMobilePhone(String mobilePhone)
     Sets the employee's mobile phone.
public  voidsetNotes(String notes)
     Sets the employee's notes.
public  voidsetPassword(String password)
     Sets the password for the employee.
public  voidsetPostalCode(String postalCode)
     Sets the employee's postal code.
public  voidsetRegion(String region)
     Sets the employee's region.
public  voidsetTitle(String title)
     Sets the title for the employee.
public  voidsetTitleOfCourtesy(String titleOfCourtesy)
     Sets the title of courtesy for the employee.

Field Detail
myDO
protected EmployeeDO myDO(Code)
The DO of the Employee.




Constructor Detail
EmployeeImpl
public EmployeeImpl() throws ProjectManagementBusinessException(Code)
The public constructor.



EmployeeImpl
public EmployeeImpl(EmployeeDO theEmployee)(Code)
The public constructor theEmployee. The data object of the employee.




Method Detail
delete
public void delete() throws ProjectManagementBusinessException(Code)
Deletes the employee from database.
exception:
  ProjectManagementBusinessException - if an error occursdeleting data (usually due to an underlying data layererror).



getAddress
public String getAddress() throws ProjectManagementBusinessException(Code)
Gets the address. the address.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getAuthLevel
public int getAuthLevel()(Code)



getBirthDate
public Date getBirthDate() throws ProjectManagementBusinessException(Code)
Gets the birth date for the employee the birth date.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getCity
public String getCity() throws ProjectManagementBusinessException(Code)
Gets the employee city. the employee city.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getCountry
public String getCountry() throws ProjectManagementBusinessException(Code)
Gets the employee's country. the employee country.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getDO
public EmployeeDO getDO() throws ProjectManagementBusinessException(Code)
Gets the DO object for the employee the DO object.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data.



getEmail
public String getEmail() throws ProjectManagementBusinessException(Code)
Gets the employee's email. the employee email.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getFirstName
public String getFirstName() throws ProjectManagementBusinessException(Code)
Gets the firstname for the employee the firstname.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getHandle
public String getHandle() throws ProjectManagementBusinessException(Code)
Gets the object id for the employee the object id.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getHireDate
public Date getHireDate() throws ProjectManagementBusinessException(Code)
Gets the hire date for the employee the hire date.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getHomePhone
public String getHomePhone() throws ProjectManagementBusinessException(Code)
Gets the employee's home phone. the employee home phone.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getIsAdmin
public boolean getIsAdmin() throws ProjectManagementBusinessException(Code)
Returns true if the employee is admin. true if the employee is admin.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getLastName
public String getLastName() throws ProjectManagementBusinessException(Code)
Gets the lastname for the employee the lastname.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getLogin
public String getLogin() throws ProjectManagementBusinessException(Code)
Gets the login name for the employee the login name.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getMobilePhone
public String getMobilePhone() throws ProjectManagementBusinessException(Code)
Gets the employee's mobile phone. the employee mobile phone.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getNotes
public String getNotes() throws ProjectManagementBusinessException(Code)
Gets the employee's notes. the employee notes.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getPassword
public String getPassword() throws ProjectManagementBusinessException(Code)
Gets the password for the employee the password.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getPostalCode
public String getPostalCode() throws ProjectManagementBusinessException(Code)
Gets the employee's postal code. the employee postal code.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getRegion
public String getRegion() throws ProjectManagementBusinessException(Code)
Gets the employee's region. the employee region.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getTitle
public String getTitle() throws ProjectManagementBusinessException(Code)
Gets the title for the employee the title.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



getTitleOfCourtesy
public String getTitleOfCourtesy() throws ProjectManagementBusinessException(Code)
Gets the title of courtesy for the employee the title of courtesy.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



save
public void save() throws ProjectManagementBusinessException(Code)
Commits all changes to the database.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



setAddress
public void setAddress(String address) throws ProjectManagementBusinessException(Code)
Sets the address for the customer.
Parameters:
  the - address.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setBirthDate
public void setBirthDate(Date birthDate) throws ProjectManagementBusinessException(Code)
Sets the birth date for the employee.
Parameters:
  the - birth date.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setCity
public void setCity(String city) throws ProjectManagementBusinessException(Code)
Sets the employee's city.
Parameters:
  the - employee's city.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setCountry
public void setCountry(String country) throws ProjectManagementBusinessException(Code)
Sets the employee's country.
Parameters:
  the - employee's country.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setEmail
public void setEmail(String email) throws ProjectManagementBusinessException(Code)
Sets the employee's email.
Parameters:
  the - employee's email.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setFirstName
public void setFirstName(String firstname) throws ProjectManagementBusinessException(Code)
Sets the firstname for the employee.
Parameters:
  the - firstname.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setHireDate
public void setHireDate(Date hireDate) throws ProjectManagementBusinessException(Code)
Sets the hire date for the employee.
Parameters:
  the - hire date.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setHomePhone
public void setHomePhone(String homePhone) throws ProjectManagementBusinessException(Code)
Sets the employee's home phone.
Parameters:
  the - employee's home phone.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setIsAdmin
public void setIsAdmin(boolean isAdmin) throws ProjectManagementBusinessException(Code)
Sets the flag that indicates if employee is admin.
Parameters:
  isAdmin - Indication if employee is admin.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setLastName
public void setLastName(String lastname) throws ProjectManagementBusinessException(Code)
Sets the lastname for the employee.
Parameters:
  the - lastname.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setLogin
public void setLogin(String login) throws ProjectManagementBusinessException(Code)
Sets the login name for the employee.
Parameters:
  the - login name.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setMobilePhone
public void setMobilePhone(String mobilePhone) throws ProjectManagementBusinessException(Code)
Sets the employee's mobile phone.
Parameters:
  the - employee's mobile phone.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setNotes
public void setNotes(String notes) throws ProjectManagementBusinessException(Code)
Sets the employee's notes.
Parameters:
  the - employee's notes.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setPassword
public void setPassword(String password) throws ProjectManagementBusinessException(Code)
Sets the password for the employee.
Parameters:
  the - password.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setPostalCode
public void setPostalCode(String postalCode) throws ProjectManagementBusinessException(Code)
Sets the employee's postal code.
Parameters:
  the - employee's postal code.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setRegion
public void setRegion(String region) throws ProjectManagementBusinessException(Code)
Sets the employee's region.
Parameters:
  the - employee's region.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setTitle
public void setTitle(String title) throws ProjectManagementBusinessException(Code)
Sets the title for the employee.
Parameters:
  the - title.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setTitleOfCourtesy
public void setTitleOfCourtesy(String titleOfCourtesy) throws ProjectManagementBusinessException(Code)
Sets the title of courtesy for the employee.
Parameters:
  the - title of courtesy.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.