KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > dotmarketing > portlets > event_registrations > struts > WebEventRegistrationForm


1 package com.dotmarketing.portlets.event_registrations.struts;
2
3 import java.util.ArrayList JavaDoc;
4 import java.util.GregorianCalendar JavaDoc;
5 import java.util.List JavaDoc;
6
7 import javax.servlet.http.HttpServletRequest JavaDoc;
8
9 import org.apache.commons.validator.CreditCardValidator;
10 import org.apache.commons.validator.EmailValidator;
11 import org.apache.struts.Globals;
12 import org.apache.struts.action.ActionErrors;
13 import org.apache.struts.action.ActionMapping;
14 import org.apache.struts.action.ActionMessage;
15 import org.apache.struts.validator.ValidatorForm;
16
17 import com.dotmarketing.util.Config;
18 import com.dotmarketing.util.UtilMethods;
19
20 public class WebEventRegistrationForm extends ValidatorForm {
21
22     private static final long serialVersionUID = 1L;
23
24     private long inode; // persistent
25

26     private long eventInode; // persistent
27

28     private long eventLocationInode; // persistent
29

30     private long userInode; // persistent
31

32     private String JavaDoc userId; // persistent
33

34     private int registrationStatus; // persistent
35

36     private java.util.Date JavaDoc datePosted; // persistent
37

38     private java.util.Date JavaDoc lastModDate; // persistent
39

40     private float totalPaid; // persistent
41

42     private float totalDue; // persistent
43

44     private float totalRegistration;
45
46     private int paymentType; // persistent
47

48     private String JavaDoc billingAddress1; // persistent
49

50     private String JavaDoc billingAddress2; // persistent
51

52     private String JavaDoc billingCity; // persistent
53

54     private String JavaDoc billingState; // persistent
55

56     private String JavaDoc billingStateOtherCountryText; // persistent
57

58     private String JavaDoc billingCountry; // persistent
59

60     private String JavaDoc billingZip; // persistent
61

62     private String JavaDoc billingContactName; // persistent
63

64     private String JavaDoc billingContactPhone; // persistent
65

66     private String JavaDoc billingContactEmail; // persistent
67

68     private String JavaDoc cardName; // persistent
69

70     private String JavaDoc cardType; // persistent
71

72     private String JavaDoc cardNumber; // persistent
73

74     private String JavaDoc cardExpMonth;
75
76     private String JavaDoc cardExpYear;
77
78     private String JavaDoc cardVerificationValue; // persistent
79

80     private String JavaDoc checkNumber; // persistent
81

82     private String JavaDoc checkBankName; // persistent
83

84     private String JavaDoc poNumber; // persistent
85

86     private String JavaDoc invoiceNumber; // persistent
87

88     private boolean badgePrinted; // persistent
89

90     private String JavaDoc howDidYouHear; // persistent
91

92     private String JavaDoc ceoName; // persistent
93

94     // Info from liferay users
95
private String JavaDoc registrantFacility;
96
97     private long registrantFacilityInode;
98
99     private String JavaDoc registrantSystem;
100
101     private long registrantSystemInode;
102
103     private String JavaDoc registrantFirstName;
104
105     private String JavaDoc registrantLastName;
106
107     private String JavaDoc registrantEmail;
108
109     // Web attendees for the web event registrations frontend
110
private List JavaDoc<WebEventAttendeeForm> eventAttendees = new ArrayList JavaDoc<WebEventAttendeeForm>();
111
112     private String JavaDoc currentAttendeeFirstName; // persistent
113

114     private String JavaDoc currentAttendeeLastName; // persistent
115

116     private String JavaDoc currentAttendeeBadgeName; // persistent
117

118     private String JavaDoc currentAttendeeEmail; // persistent
119

120     private long currentAttendeeInode; // persistent
121

122     private String JavaDoc currentAttendeeLastEmail; // persistent
123

124     private String JavaDoc currentAttendeeLastFirstName; // persistent
125

126     private String JavaDoc currentAttendeeLastLastName; // persistent
127

128     private String JavaDoc currentAttendeeTitle; // persistent
129

130     private float currentAttendeePrice; // persistent
131

132     private boolean modified_QB; // persistent
133

134     public WebEventRegistrationForm() {
135         modified_QB = true;
136     }
137
138     public boolean isCreditCardPayment() {
139         return paymentType == Config.getIntProperty("EREG_CREDIT_CARD");
140     }
141     public boolean isCheckPayment() {
142         return paymentType == Config.getIntProperty("EREG_CHECK");
143     }
144     public boolean isPOPayment() {
145         return paymentType == Config.getIntProperty("EREG_PURCHASE_ORDER");
146     }
147
148     public WebEventRegistrationForm(long eventInode, long eventLocationInode,
149             long userInode) {
150         this.eventInode = eventInode;
151         this.eventLocationInode = eventLocationInode;
152         this.userInode = userInode;
153     }
154
155     public ActionErrors validate(ActionMapping mapping,
156             HttpServletRequest JavaDoc request) {
157         ActionErrors errors = super.validate(mapping, request);
158         if (errors == null)
159             errors = new ActionErrors();
160
161         // Web Events registration validations
162
if ((UtilMethods.isSet(request.getParameter("dispatch")) && request
163                 .getParameter("dispatch").equals("editAttendee"))
164                 || (UtilMethods.isSet(request.getParameter("dispatch")) && request
165                         .getParameter("dispatch").equals("saveAttendee"))
166                 || (UtilMethods.isSet(request.getParameter("cmd")) && request
167                         .getParameter("cmd").equals("add_attendee"))) {
168
169             if (!UtilMethods.isSet(currentAttendeeEmail)) {
170                 errors.add("currentAttendeeEmail", new ActionMessage(
171                         "error.form.mandatory", "attendee email address"));
172             } else {
173                 EmailValidator validator = EmailValidator.getInstance();
174                 if (!validator.isValid(currentAttendeeEmail)) {
175                     errors.add(Globals.ERROR_KEY, new ActionMessage(
176                             "error.form.format", "email"));
177                 }
178
179             }
180             if (!UtilMethods.isSet(currentAttendeeFirstName)) {
181                 errors.add("currentAttendeeFirstName", new ActionMessage(
182                         "error.form.mandatory", "first name"));
183             }
184             if (!UtilMethods.isSet(currentAttendeeLastName)) {
185                 errors.add("currentAttendeeLastName", new ActionMessage(
186                         "error.form.mandatory", "last name"));
187             }
188             if (!UtilMethods.isSet(currentAttendeeTitle)) {
189                 errors.add("currentAttendeeTitle", new ActionMessage(
190                         "error.form.mandatory", "Title"));
191             }
192         } else if ((UtilMethods.isSet(request.getParameter("dispatch")) && request
193                 .getParameter("dispatch").equals("toStep3"))
194                 || (UtilMethods.isSet(request.getParameter("cmd")) && request
195                         .getParameter("cmd").equals("step4"))) {
196             if (!UtilMethods.isSet(billingAddress1)) {
197                 errors.add("billingAddress1", new ActionMessage(
198                         "error.form.mandatory", "Street1"));
199             }
200             if (!UtilMethods.isSet(billingCity)) {
201                 errors.add("billingCity", new ActionMessage(
202                         "error.form.mandatory", "City"));
203             }
204             if (!UtilMethods.isSet(billingState)) {
205                 errors.add("billingState", new ActionMessage(
206                         "error.form.mandatory", "State"));
207             }
208             if (!UtilMethods.isSet(billingZip)) {
209                 errors.add("billingZip", new ActionMessage(
210                         "error.form.mandatory", "Zip"));
211             }
212             if (!UtilMethods.isSet(billingContactName)) {
213                 errors.add("billingContactName", new ActionMessage(
214                         "error.form.mandatory",
215                         "Billing Contact´s Person Name"));
216             }
217             if (!UtilMethods.isSet(billingContactPhone)) {
218                 errors.add("billingContactPhone", new ActionMessage(
219                         "error.form.mandatory", "Phone"));
220             }
221             if (!UtilMethods.isSet(billingContactEmail)) {
222                 errors.add("billingContactEmail", new ActionMessage(
223                         "error.form.mandatory", "Email"));
224             } else {
225
226                 EmailValidator validator = EmailValidator.getInstance();
227                 if (!validator.isValid(billingContactEmail)) {
228                     errors.add(Globals.ERROR_KEY, new ActionMessage(
229                             "error.form.format", "email"));
230                 }
231             }
232             if (isCreditCardPayment()) {
233                 if (!UtilMethods.isSet(cardName)) {
234                     errors.add("cardName", new ActionMessage(
235                             "error.form.mandatory", "Credit Card Name"));
236                 }
237                 if (!UtilMethods.isSet(cardNumber)) {
238                     errors.add("cardNumber", new ActionMessage(
239                             "error.form.mandatory", "Credit Card Number"));
240                 } else {
241                     if (!cardNumber.equals("4111-1111-1111-1111")
242                             || cardNumber.equals("4111111111111111")) {
243                         CreditCardValidator cardValidator = new CreditCardValidator();
244                         if (cardType.equals("Visa")) {
245                             cardValidator = new CreditCardValidator(
246                                     CreditCardValidator.VISA);
247                         } else if (cardType.equals("MasterCard")) {
248                             cardValidator = new CreditCardValidator(
249                                     CreditCardValidator.MASTERCARD);
250                         } else if (cardType.equals("Discover")) {
251                             cardValidator = new CreditCardValidator(
252                                     CreditCardValidator.DISCOVER);
253                         } else if (cardType.equals("American Express")) {
254                             cardValidator = new CreditCardValidator(
255                                     CreditCardValidator.AMEX);
256                         }
257                         if (!cardValidator.isValid(cardNumber)) {
258                             errors.add("cardNumber", new ActionMessage(
259                                     "error.invalid.credit.card.number"));
260                         }
261                     }
262                 }
263                 int month = Integer.parseInt(this.cardExpMonth) - 1;
264                 int year = Integer.parseInt(cardExpYear);
265                 GregorianCalendar JavaDoc cal = new GregorianCalendar JavaDoc();
266                 int currentMonth = cal.get(GregorianCalendar.MONTH);
267                 int currentYear = cal.get(GregorianCalendar.YEAR);
268                 if (year < currentYear
269                         || (year == currentYear && month < currentMonth)) {
270                     errors.add("cardExpMonth", new ActionMessage(
271                             "error.invalid.credit.card.expiration"));
272                 }
273             }else if (isPOPayment()){
274                     if (!UtilMethods.isSet(poNumber)) {
275                         errors.add("poNumber", new ActionMessage(
276                                 "error.form.mandatory", "PO Number"));
277                     }
278             }
279         }
280         return errors;
281     }
282
283     public long getEventInode() {
284         return this.eventInode;
285     }
286
287     public void setEventInode(long eventInode) {
288         this.eventInode = eventInode;
289     }
290
291     public long getEventLocationInode() {
292         return this.eventLocationInode;
293     }
294
295     public void setEventLocationInode(long eventLocationInode) {
296         this.eventLocationInode = eventLocationInode;
297     }
298
299     public long getUserInode() {
300         return this.userInode;
301     }
302
303     public void setUserInode(long userInode) {
304         this.userInode = userInode;
305     }
306
307     public java.util.Date JavaDoc getDatePosted() {
308         return this.datePosted;
309     }
310
311     public void setDatePosted(java.util.Date JavaDoc datePosted) {
312         this.datePosted = datePosted;
313     }
314
315     public java.util.Date JavaDoc getLastModDate() {
316         return this.lastModDate;
317     }
318
319     public void setLastModDate(java.util.Date JavaDoc lastModDate) {
320         this.lastModDate = lastModDate;
321     }
322
323     public float getTotalPaid() {
324         return this.totalPaid;
325     }
326
327     public void setTotalPaid(float totalPaid) {
328         this.totalPaid = totalPaid;
329     }
330
331     public float getTotalDue() {
332         return this.totalDue;
333     }
334
335     public void setTotalDue(float totalDue) {
336         this.totalDue = totalDue;
337     }
338
339     public String JavaDoc getBillingAddress1() {
340         return this.billingAddress1;
341     }
342
343     public void setBillingAddress1(String JavaDoc billingAddress1) {
344         this.billingAddress1 = billingAddress1;
345     }
346
347     public String JavaDoc getBillingAddress2() {
348         return this.billingAddress2;
349     }
350
351     public void setBillingAddress2(String JavaDoc billingAddress2) {
352         this.billingAddress2 = billingAddress2;
353     }
354
355     public String JavaDoc getBillingCity() {
356         return this.billingCity;
357     }
358
359     public void setBillingCity(String JavaDoc billingCity) {
360         this.billingCity = billingCity;
361     }
362
363     public String JavaDoc getBillingState() {
364         return this.billingState;
365     }
366
367     public void setBillingState(String JavaDoc billingState) {
368         this.billingState = billingState;
369     }
370
371     public String JavaDoc getBillingZip() {
372         return this.billingZip;
373     }
374
375     public void setBillingZip(String JavaDoc billingZip) {
376         this.billingZip = billingZip;
377     }
378
379     public String JavaDoc getBillingContactName() {
380         return this.billingContactName;
381     }
382
383     public void setBillingContactName(String JavaDoc billingContactName) {
384         this.billingContactName = billingContactName;
385     }
386
387     public String JavaDoc getBillingContactPhone() {
388         return this.billingContactPhone;
389     }
390
391     public void setBillingContactPhone(String JavaDoc billingContactPhone) {
392         this.billingContactPhone = billingContactPhone;
393     }
394
395     public String JavaDoc getBillingContactEmail() {
396         return this.billingContactEmail;
397     }
398
399     public void setBillingContactEmail(String JavaDoc billingContactEmail) {
400         this.billingContactEmail = billingContactEmail;
401     }
402
403     public String JavaDoc getCardName() {
404         return this.cardName;
405     }
406
407     public void setCardName(String JavaDoc cardName) {
408         this.cardName = cardName;
409     }
410
411     public String JavaDoc getCardType() {
412         return this.cardType;
413     }
414
415     public void setCardType(String JavaDoc cardType) {
416         this.cardType = cardType;
417     }
418
419     public String JavaDoc getCardNumber() {
420         return this.cardNumber;
421     }
422
423     public void setCardNumber(String JavaDoc cardNumber) {
424         this.cardNumber = cardNumber;
425     }
426
427     /**
428      * @return Returns the cardExpMonth.
429      */

430     public String JavaDoc getCardExpMonth() {
431         return cardExpMonth;
432     }
433
434     /**
435      * @param cardExpMonth
436      * The cardExpMonth to set.
437      */

438     public void setCardExpMonth(String JavaDoc cardExpMonth) {
439         this.cardExpMonth = cardExpMonth;
440     }
441
442     /**
443      * @return Returns the cardExpYear.
444      */

445     public String JavaDoc getCardExpYear() {
446         return cardExpYear;
447     }
448
449     /**
450      * @param cardExpYear
451      * The cardExpYear to set.
452      */

453     public void setCardExpYear(String JavaDoc cardExpYear) {
454         this.cardExpYear = cardExpYear;
455     }
456
457     public String JavaDoc getCardVerificationValue() {
458         return this.cardVerificationValue;
459     }
460
461     public void setCardVerificationValue(String JavaDoc cardVerificationValue) {
462         this.cardVerificationValue = cardVerificationValue;
463     }
464
465     public String JavaDoc getCheckNumber() {
466         return this.checkNumber;
467     }
468
469     public void setCheckNumber(String JavaDoc checkNumber) {
470         this.checkNumber = checkNumber;
471     }
472
473     public String JavaDoc getCheckBankName() {
474         return this.checkBankName;
475     }
476
477     public void setCheckBankName(String JavaDoc checkBankName) {
478         this.checkBankName = checkBankName;
479     }
480
481     public String JavaDoc getPoNumber() {
482         return this.poNumber;
483     }
484
485     public void setPoNumber(String JavaDoc poNumber) {
486         this.poNumber = poNumber;
487     }
488
489     public String JavaDoc getInvoiceNumber() {
490         return this.invoiceNumber;
491     }
492
493     public void setInvoiceNumber(String JavaDoc invoiceNumber) {
494         this.invoiceNumber = invoiceNumber;
495     }
496
497     public String JavaDoc getHowDidYouHear() {
498         return this.howDidYouHear;
499     }
500
501     public void setHowDidYouHear(String JavaDoc howDidYouHear) {
502         this.howDidYouHear = howDidYouHear;
503     }
504
505     public String JavaDoc getCeoName() {
506         return this.ceoName;
507     }
508
509     public void setCeoName(String JavaDoc ceoName) {
510         this.ceoName = ceoName;
511     }
512
513     /**
514      * @return Returns the badgePrinted.
515      */

516     public boolean isBadgePrinted() {
517         return badgePrinted;
518     }
519
520     /**
521      * @param badgePrinted
522      * The badgePrinted to set.
523      */

524     public void setBadgePrinted(boolean badgePrinted) {
525         this.badgePrinted = badgePrinted;
526     }
527
528     /**
529      * @return Returns the inode.
530      */

531     public long getInode() {
532         return inode;
533     }
534
535     /**
536      * @param inode
537      * The inode to set.
538      */

539     public void setInode(long inode) {
540         this.inode = inode;
541     }
542
543     /**
544      * @return Returns the totalRegistration.
545      */

546     public float getTotalRegistration() {
547         return totalRegistration;
548     }
549
550     /**
551      * @param totalRegistration
552      * The totalRegistration to set.
553      */

554     public void setTotalRegistration(float totalRegistration) {
555         this.totalRegistration = totalRegistration;
556     }
557
558     public List JavaDoc<WebEventAttendeeForm> getEventAttendees() {
559         return eventAttendees;
560     }
561
562     public void setEventAttendees(List JavaDoc<WebEventAttendeeForm> attendees) {
563         this.eventAttendees = attendees;
564     }
565
566     public String JavaDoc getCurrentAttendeeBadgeName() {
567         return currentAttendeeBadgeName;
568     }
569
570     public void setCurrentAttendeeBadgeName(String JavaDoc currentAttendeeBadgeName) {
571         this.currentAttendeeBadgeName = currentAttendeeBadgeName;
572     }
573
574     public String JavaDoc getCurrentAttendeeEmail() {
575         return currentAttendeeEmail;
576     }
577
578     public void setCurrentAttendeeEmail(String JavaDoc currentAttendeeEmail) {
579         this.currentAttendeeEmail = currentAttendeeEmail;
580     }
581
582     public String JavaDoc getCurrentAttendeeFirstName() {
583         return currentAttendeeFirstName;
584     }
585
586     public void setCurrentAttendeeFirstName(String JavaDoc currentAttendeeFirstName) {
587         this.currentAttendeeFirstName = currentAttendeeFirstName;
588     }
589
590     public String JavaDoc getCurrentAttendeeLastName() {
591         return currentAttendeeLastName;
592     }
593
594     public void setCurrentAttendeeLastName(String JavaDoc currentAttendeeLastName) {
595         this.currentAttendeeLastName = currentAttendeeLastName;
596     }
597
598     public String JavaDoc getCurrentAttendeeTitle() {
599         return currentAttendeeTitle;
600     }
601
602     public void setCurrentAttendeeTitle(String JavaDoc currentAttendeeTitle) {
603         this.currentAttendeeTitle = currentAttendeeTitle;
604     }
605
606     public void resetCurrentAttendee() {
607         setCurrentAttendeeBadgeName("");
608         setCurrentAttendeeEmail("");
609         setCurrentAttendeeFirstName("");
610         setCurrentAttendeeLastName("");
611         setCurrentAttendeeTitle("");
612     }
613
614     public String JavaDoc getCurrentAttendeeLastEmail() {
615         return currentAttendeeLastEmail;
616     }
617
618     public void setCurrentAttendeeLastEmail(String JavaDoc currentAttendeeLastEmail) {
619         this.currentAttendeeLastEmail = currentAttendeeLastEmail;
620     }
621
622     /**
623      * @return Returns the registrantEmail.
624      */

625     public String JavaDoc getRegistrantEmail() {
626         return registrantEmail;
627     }
628
629     /**
630      * @param registrantEmail
631      * The registrantEmail to set.
632      */

633     public void setRegistrantEmail(String JavaDoc registrantEmail) {
634         this.registrantEmail = registrantEmail;
635     }
636
637     /**
638      * @return Returns the registrantFacility.
639      */

640     public String JavaDoc getRegistrantFacility() {
641         return registrantFacility;
642     }
643
644     /**
645      * @param registrantFacility
646      * The registrantFacility to set.
647      */

648     public void setRegistrantFacility(String JavaDoc registrantFacility) {
649         this.registrantFacility = registrantFacility;
650     }
651
652     /**
653      * @return Returns the registrantFirstName.
654      */

655     public String JavaDoc getRegistrantFirstName() {
656         return registrantFirstName;
657     }
658
659     /**
660      * @param registrantFirstName
661      * The registrantFirstName to set.
662      */

663     public void setRegistrantFirstName(String JavaDoc registrantFirstName) {
664         this.registrantFirstName = registrantFirstName;
665     }
666
667     /**
668      * @return Returns the registrantLastName.
669      */

670     public String JavaDoc getRegistrantLastName() {
671         return registrantLastName;
672     }
673
674     /**
675      * @param registrantLastName
676      * The registrantLastName to set.
677      */

678     public void setRegistrantLastName(String JavaDoc registrantLastName) {
679         this.registrantLastName = registrantLastName;
680     }
681
682     /**
683      * @return Returns the registrantSystem.
684      */

685     public String JavaDoc getRegistrantSystem() {
686         return registrantSystem;
687     }
688
689     /**
690      * @param registrantSystem
691      * The registrantSystem to set.
692      */

693     public void setRegistrantSystem(String JavaDoc registrantSystem) {
694         this.registrantSystem = registrantSystem;
695     }
696
697     public void resetAllForm() {
698         this.billingAddress1 = "";
699         this.billingAddress2 = "";
700         this.billingCity = "";
701         this.billingContactEmail = "";
702         this.billingContactName = "";
703         this.billingContactPhone = "";
704         this.billingState = "";
705         this.billingZip = "";
706         this.cardExpMonth = "";
707         this.cardExpYear = "";
708         this.cardName = "";
709         this.cardNumber = "";
710         this.cardType = "";
711         this.cardVerificationValue = "";
712         this.ceoName = "";
713         this.checkBankName = "";
714         this.checkNumber = "";
715         this.currentAttendeeBadgeName = "";
716         this.currentAttendeeEmail = "";
717         this.currentAttendeeFirstName = "";
718         this.currentAttendeeLastEmail = "";
719         this.currentAttendeeLastName = "";
720         this.currentAttendeeTitle = "";
721         this.eventAttendees = new ArrayList JavaDoc<WebEventAttendeeForm>();
722         this.eventInode = 0;
723         this.eventLocationInode = 0;
724         this.howDidYouHear = "";
725         this.inode = 0;
726         this.invoiceNumber = "";
727         this.paymentType = 0;
728         this.poNumber = "";
729         this.registrantEmail = "";
730         this.registrantFacility = "";
731         this.registrantFirstName = "";
732         this.registrantLastName = "";
733         this.registrantSystem = "";
734         this.registrationStatus = 0;
735         this.totalDue = 0;
736         this.totalPaid = 0;
737         this.totalRegistration = 0;
738         this.userInode = 0;
739     }
740
741     /**
742      * @return Returns the paymentType.
743      */

744     public int getPaymentType() {
745         return paymentType;
746     }
747
748     /**
749      * @param paymentType
750      * The paymentType to set.
751      */

752     public void setPaymentType(int paymentType) {
753         this.paymentType = paymentType;
754     }
755
756     /**
757      * @return Returns the registrationStatus.
758      */

759     public int getRegistrationStatus() {
760         return registrationStatus;
761     }
762
763     /**
764      * @param registrationStatus
765      * The registrationStatus to set.
766      */

767     public void setRegistrationStatus(int registrationStatus) {
768         this.registrationStatus = registrationStatus;
769     }
770
771     /**
772      * @return Returns the registrantFacilityInode.
773      */

774     public long getRegistrantFacilityInode() {
775         return registrantFacilityInode;
776     }
777
778     /**
779      * @param registrantFacilityInode
780      * The registrantFacilityInode to set.
781      */

782     public void setRegistrantFacilityInode(long registrantFacilityInode) {
783         this.registrantFacilityInode = registrantFacilityInode;
784     }
785
786     /**
787      * @return Returns the registrantSystemInode.
788      */

789     public long getRegistrantSystemInode() {
790         return registrantSystemInode;
791     }
792
793     /**
794      * @param registrantSystemInode
795      * The registrantSystemInode to set.
796      */

797     public void setRegistrantSystemInode(long registrantSystemInode) {
798         this.registrantSystemInode = registrantSystemInode;
799     }
800
801     /**
802      * @return Returns the currentAttendeePrice.
803      */

804     public float getCurrentAttendeePrice() {
805         return currentAttendeePrice;
806     }
807
808     /**
809      * @param currentAttendeePrice
810      * The currentAttendeePrice to set.
811      */

812     public void setCurrentAttendeePrice(float currentAttendeePrice) {
813         this.currentAttendeePrice = currentAttendeePrice;
814     }
815
816     /**
817      * @return Returns the currentAttendeeInode.
818      */

819     public long getCurrentAttendeeInode() {
820         return currentAttendeeInode;
821     }
822
823     /**
824      * @param currentAttendeeInode
825      * The currentAttendeeInode to set.
826      */

827     public void setCurrentAttendeeInode(long currentAttendeeInode) {
828         this.currentAttendeeInode = currentAttendeeInode;
829     }
830
831     /**
832      * @return Returns the userId.
833      */

834     public String JavaDoc getUserId() {
835         return userId;
836     }
837
838     /**
839      * @param userId
840      * The userId to set.
841      */

842     public void setUserId(String JavaDoc userId) {
843         this.userId = userId;
844     }
845     
846     /**
847      * @return Returns the modified_QB.
848      */

849     public boolean isModified_QB() {
850         return modified_QB;
851     }
852
853     /**
854      * @param modified_QB
855      * The modified_QB to set.
856      */

857     public void setModified_QB(boolean modified_QB) {
858         this.modified_QB = modified_QB;
859     }
860
861     /**
862      * @return Returns the currentAttendeeLastFirstName.
863      */

864     public String JavaDoc getCurrentAttendeeLastFirstName() {
865         return currentAttendeeLastFirstName;
866     }
867
868     /**
869      * @param currentAttendeeLastFirstName The currentAttendeeLastFirstName to set.
870      */

871     public void setCurrentAttendeeLastFirstName(String JavaDoc currentAttendeeLastFirstName) {
872         this.currentAttendeeLastFirstName = currentAttendeeLastFirstName;
873     }
874
875     /**
876      * @return Returns the currentAttendeeLastLastName.
877      */

878     public String JavaDoc getCurrentAttendeeLastLastName() {
879         return currentAttendeeLastLastName;
880     }
881
882     /**
883      * @param currentAttendeeLastLastName The currentAttendeeLastLastName to set.
884      */

885     public void setCurrentAttendeeLastLastName(String JavaDoc currentAttendeeLastLastName) {
886         this.currentAttendeeLastLastName = currentAttendeeLastLastName;
887     }
888
889     /**
890      * @return Returns the billingCountry.
891      */

892     public String JavaDoc getBillingCountry() {
893         return billingCountry;
894     }
895
896     /**
897      * @param billingCountry The billingCountry to set.
898      */

899     public void setBillingCountry(String JavaDoc billingCountry) {
900         this.billingCountry = billingCountry;
901     }
902
903     /**
904      * @return Returns the billingStateOtherCountryText.
905      */

906     public String JavaDoc getBillingStateOtherCountryText() {
907         return billingStateOtherCountryText;
908     }
909
910     /**
911      * @param billingStateOtherCountryText The billingStateOtherCountryText to set.
912      */

913     public void setBillingStateOtherCountryText(String JavaDoc billingStateOtherCountryText) {
914         this.billingStateOtherCountryText = billingStateOtherCountryText;
915     }
916
917
918 }
919
Popular Tags