KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > myeis > services > Customer


1 package com.myeis.services;
2
3 import org.apache.wsif.format.WSIFFormatHandler;
4 import org.apache.wsif.format.WSIFFormatPart;
5 import org.w3c.dom.Element JavaDoc;
6
7 public class Customer implements WSIFFormatPart {
8     
9     private String JavaDoc lastName;
10     private String JavaDoc number;
11     private String JavaDoc firstName;
12     private WSIFFormatHandler fh;
13     
14     public Customer() {
15         super();
16     }
17
18
19     /**
20      * Returns the irstName.
21      * @return String
22      */

23     public String JavaDoc getFirstName() {
24         return firstName;
25     }
26
27     /**
28      * Returns the lastName.
29      * @return String
30      */

31     public String JavaDoc getLastName() {
32         return lastName;
33     }
34
35     /**
36      * Returns the number.
37      * @return String
38      */

39     public String JavaDoc getNumber() {
40         return number;
41     }
42
43     /**
44      * Sets the irstName.
45      * @param irstName The irstName to set
46      */

47     public void setFirstName(String JavaDoc irstName) {
48         firstName = irstName;
49     }
50
51     /**
52      * Sets the lastName.
53      * @param lastName The lastName to set
54      */

55     public void setLastName(String JavaDoc lastName) {
56         this.lastName = lastName;
57     }
58
59     /**
60      * Sets the number.
61      * @param number The number to set
62      */

63     public void setNumber(String JavaDoc number) {
64         this.number = number;
65     }
66
67     /**
68      * Returns the h.
69      * @return WSIFFormatHandler
70      */

71     public WSIFFormatHandler _getFormatHandler() {
72         return fh;
73     }
74
75     /**
76      * Sets the h.
77      * @param h The h to set
78      */

79     public void _setFormatHandler(WSIFFormatHandler h) {
80         fh = h;
81     }
82
83     public void fireElementEvents(){
84         
85     }
86 }
87
Popular Tags