Java Doc for CustomerImpl.java in  » J2EE » Enhydra-Demos » projectmanagement » business » customer » 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.customer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   projectmanagement.business.customer.CustomerImpl

CustomerImpl
public class CustomerImpl implements Customer(Code)
Represents a customer.
author:
   Sasa Bojanic
version:
   1.0


Field Summary
protected  CustomerDOmyDO
     The DO of the Customer.

Constructor Summary
public  CustomerImpl()
     The public constructor.
public  CustomerImpl(CustomerDO theCustomer)
     The public constructor theCustomer.

Method Summary
public  voiddelete()
     Deletes the customer from database.
public  StringgetAddress()
     Gets the address.
public  StringgetCity()
     Gets the customer city.
public  StringgetCompanyName()
    
public  StringgetContactName()
    
public  StringgetContactTitle()
    
public  StringgetCountry()
     Gets the customer's country.
public  CustomerDOgetDO()
    
public  StringgetEmail()
     Gets the customer's email.
public  StringgetFax()
     Gets the customer's fax.
public  StringgetHandle()
    
public  StringgetNotes()
     Gets the customer's notes.
public  StringgetPhone()
     Gets the customer's phone.
public  StringgetPostalCode()
     Gets the customer's postal code.
public  StringgetRegion()
     Gets the customer's region.
public  voidsave()
     Commits all changes to the database.
public  voidsetAddress(String address)
     Sets the address for the customer.
public  voidsetCity(String city)
     Sets the customer's city.
public  voidsetCompanyName(String companyName)
     Sets the company name for the customer.
public  voidsetContactName(String contactName)
     Sets the contact name for the customer.
public  voidsetContactTitle(String contactTitle)
     Sets the contact title.
public  voidsetCountry(String country)
     Sets the customer's country.
public  voidsetEmail(String email)
     Sets the customer's email.
public  voidsetFax(String fax)
     Sets the customer's fax.
public  voidsetNotes(String notes)
     Sets the customer's notes.
public  voidsetPhone(String phone)
     Sets the customer's phone.
public  voidsetPostalCode(String postalCode)
     Sets the customer's postal code.
public  voidsetRegion(String region)
     Sets the customer's region.

Field Detail
myDO
protected CustomerDO myDO(Code)
The DO of the Customer.




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



CustomerImpl
public CustomerImpl(CustomerDO theCustomer)(Code)
The public constructor theCustomer. The data object of the customer.




Method Detail
delete
public void delete() throws ProjectManagementBusinessException(Code)
Deletes the customer 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).



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



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



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



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



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



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



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



getFax
public String getFax() throws ProjectManagementBusinessException(Code)
Gets the customer's fax. the customer fax.
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 customer the object id.
exception:
  ProjectManagementBusinessException - if an error occursretrieving data (usually due to an underlying data layererror).



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



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



getPostalCode
public String getPostalCode() throws ProjectManagementBusinessException(Code)
Gets the customer's postal code. the customer 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 customer's region. the customer region.
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).



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



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



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



setContactTitle
public void setContactTitle(String contactTitle) throws ProjectManagementBusinessException(Code)
Sets the contact title.
Parameters:
  the - contact title.
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 customer's country.
Parameters:
  the - customer'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 customer's email.
Parameters:
  the - customer's email.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setFax
public void setFax(String fax) throws ProjectManagementBusinessException(Code)
Sets the customer's fax.
Parameters:
  the - customer's fax.
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 customer's notes.
Parameters:
  the - customer's notes.
exception:
  ProjectManagementBusinessException - if an error occurssetting the data (usually due to an underlying data layererror).



setPhone
public void setPhone(String phone) throws ProjectManagementBusinessException(Code)
Sets the customer's phone.
Parameters:
  the - customer's phone.
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 customer's postal code.
Parameters:
  the - customer'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 customer's region.
Parameters:
  the - customer's region.
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.