Java Doc for CustomerDO.java in  » Development » ivatamasks » com » ivata » mask » web » demo » 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 » Development » ivatamasks » com.ivata.mask.web.demo.customer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ivata.mask.web.demo.valueobject.DemoValueObject
      com.ivata.mask.web.demo.customer.CustomerDO

CustomerDO
final public class CustomerDO extends DemoValueObject (Code)

Represents a single customer of this imaginary system.


since:
   ivata masks 0.4 (2004-05-20)
author:
   Colin MacLeod
author:
   colin.macleod@ivata.com
version:
   $Revision: 1.5 $



Constructor Summary
public  CustomerDO()
    

Construct a new customer instance with no id.

public  CustomerDO(int idParam)
    

Construct a new customer instance with the given unique identifier.


Method Summary
public  StringgetDisplayValue()
     Get a text to display describing the customer.
public  StringgetEmailAddress()
     Person's email address (ok - it's a simple system).
public  StringgetFirstName()
    

Person's first name(s).

public  StringgetLastName()
     Person's last name(s).
public  StringgetPostalAddress()
     Full customer postal address, including carriage returns, region/state, country, etc.
public  voidsetEmailAddress(String emailAddressParam)
     Person's email address (ok - it's a simple system).
public  voidsetFirstName(String firstNameParam)
    

Person's first name(s).

public  voidsetLastName(String lastNameParam)
     Person's last name(s).
public  voidsetPostalAddress(String postalAddressParam)
     Full customer postal address, including carriage returns, region/state, country, etc.


Constructor Detail
CustomerDO
public CustomerDO()(Code)

Construct a new customer instance with no id.




CustomerDO
public CustomerDO(int idParam)(Code)

Construct a new customer instance with the given unique identifier.


Parameters:
  idParam - unique identifier of this customer.




Method Detail
getDisplayValue
public String getDisplayValue()(Code)
Get a text to display describing the customer. If the customer has a first and last name, then this will return something like "Freddie Kruger", otherwise just the first or last name is returned - whichever is present. customer's name.
See Also:   com.ivata.mask.valueobject.ValueObject.getStringValue



getEmailAddress
public String getEmailAddress()(Code)
Person's email address (ok - it's a simple system). string email address such asted@nowhere.com.



getFirstName
public String getFirstName()(Code)

Person's first name(s).

first name such as "Bob", or "Sally".



getLastName
public String getLastName()(Code)
Person's last name(s). last name of the customer, such as "Smith" or"Tarrantino".



getPostalAddress
public String getPostalAddress()(Code)
Full customer postal address, including carriage returns, region/state, country, etc. Customer's full snail-mail address.



setEmailAddress
public void setEmailAddress(String emailAddressParam)(Code)
Person's email address (ok - it's a simple system).
Parameters:
  emailAddressParam - string email address such asted@nowhere.com.



setFirstName
public void setFirstName(String firstNameParam)(Code)

Person's first name(s).


Parameters:
  firstNameParam - first name such as "Bob", or"Sally".



setLastName
public void setLastName(String lastNameParam)(Code)
Person's last name(s).
Parameters:
  lastNameParam - last name of the customer, such as "Smith"or "Tarrantino".



setPostalAddress
public void setPostalAddress(String postalAddressParam)(Code)
Full customer postal address, including carriage returns, region/state, country, etc.
Parameters:
  postalAddressParam - Customer's full snail-mail address.



Methods inherited from com.ivata.mask.web.demo.valueobject.DemoValueObject
final public int getId()(Code)(Java Doc)
final public String getIdString()(Code)(Java Doc)
final public void setId(int idParam)(Code)(Java Doc)

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.