KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > campware > cream > om > BaseCreamUser


1 package org.campware.cream.om;
2
3
4 import java.math.BigDecimal JavaDoc;
5 import java.sql.Connection JavaDoc;
6 import java.util.ArrayList JavaDoc;
7 import java.util.Collections JavaDoc;
8 import java.util.Date JavaDoc;
9 import java.util.List JavaDoc;
10
11 import org.apache.commons.lang.ObjectUtils;
12 import org.apache.turbine.om.Retrievable;
13 import org.apache.torque.TorqueException;
14 import org.apache.torque.om.BaseObject;
15 import org.apache.torque.om.ComboKey;
16 import org.apache.torque.om.DateKey;
17 import org.apache.torque.om.NumberKey;
18 import org.apache.torque.om.ObjectKey;
19 import org.apache.torque.om.SimpleKey;
20 import org.apache.torque.om.StringKey;
21 import org.apache.torque.om.Persistent;
22 import org.apache.torque.util.Criteria;
23 import org.apache.torque.util.Transaction;
24
25
26 /**
27  * This class was autogenerated by Torque on:
28  *
29  * [Wed May 04 09:10:56 CEST 2005]
30  *
31  * You should not use this class directly. It should not even be
32  * extended all references should be to CreamUser
33  */

34 public abstract class BaseCreamUser extends BaseObject
35     implements org.apache.turbine.om.Retrievable
36 {
37     /** The Peer class */
38     private static final CreamUserPeer peer =
39         new CreamUserPeer();
40
41         
42     /** The value for the userId field */
43     private int userId;
44       
45     /** The value for the userName field */
46     private String JavaDoc userName;
47       
48     /** The value for the welcome field */
49     private String JavaDoc welcome;
50                                           
51     /** The value for the defaultList field */
52     private int defaultList = 1000;
53                                           
54     /** The value for the inboxFid field */
55     private int inboxFid = 1000;
56                                           
57     /** The value for the outboxFid field */
58     private int outboxFid = 1000;
59                                           
60     /** The value for the newsSubsFid field */
61     private int newsSubsFid = 1000;
62                                           
63     /** The value for the newsletterFid field */
64     private int newsletterFid = 1000;
65                                           
66     /** The value for the onlineSubsFid field */
67     private int onlineSubsFid = 1000;
68                                           
69     /** The value for the printSubsFid field */
70     private int printSubsFid = 1000;
71                                           
72     /** The value for the serviceFid field */
73     private int serviceFid = 1000;
74                                           
75     /** The value for the shipmentFid field */
76     private int shipmentFid = 1000;
77                                           
78     /** The value for the paymentFid field */
79     private int paymentFid = 1000;
80                                           
81     /** The value for the sorderFid field */
82     private int sorderFid = 1000;
83                                           
84     /** The value for the projectFid field */
85     private int projectFid = 1000;
86                                           
87     /** The value for the customerFid field */
88     private int customerFid = 1000;
89                                           
90     /** The value for the productFid field */
91     private int productFid = 1000;
92   
93     
94     /**
95      * Get the UserId
96      *
97      * @return int
98      */

99     public int getUserId()
100     {
101         return userId;
102     }
103
104                         
105     /**
106      * Set the value of UserId
107      *
108      * @param v new value
109      */

110     public void setUserId(int v)
111     {
112     
113                   if (this.userId != v)
114               {
115             this.userId = v;
116             setModified(true);
117         }
118     
119           
120               }
121   
122     /**
123      * Get the UserName
124      *
125      * @return String
126      */

127     public String JavaDoc getUserName()
128     {
129         return userName;
130     }
131
132                         
133     /**
134      * Set the value of UserName
135      *
136      * @param v new value
137      */

138     public void setUserName(String JavaDoc v)
139     {
140     
141                   if (!ObjectUtils.equals(this.userName, v))
142               {
143             this.userName = v;
144             setModified(true);
145         }
146     
147           
148               }
149   
150     /**
151      * Get the Welcome
152      *
153      * @return String
154      */

155     public String JavaDoc getWelcome()
156     {
157         return welcome;
158     }
159
160                         
161     /**
162      * Set the value of Welcome
163      *
164      * @param v new value
165      */

166     public void setWelcome(String JavaDoc v)
167     {
168     
169                   if (!ObjectUtils.equals(this.welcome, v))
170               {
171             this.welcome = v;
172             setModified(true);
173         }
174     
175           
176               }
177   
178     /**
179      * Get the DefaultList
180      *
181      * @return int
182      */

183     public int getDefaultList()
184     {
185         return defaultList;
186     }
187
188                         
189     /**
190      * Set the value of DefaultList
191      *
192      * @param v new value
193      */

194     public void setDefaultList(int v)
195     {
196     
197                   if (this.defaultList != v)
198               {
199             this.defaultList = v;
200             setModified(true);
201         }
202     
203           
204               }
205   
206     /**
207      * Get the InboxFid
208      *
209      * @return int
210      */

211     public int getInboxFid()
212     {
213         return inboxFid;
214     }
215
216                         
217     /**
218      * Set the value of InboxFid
219      *
220      * @param v new value
221      */

222     public void setInboxFid(int v)
223     {
224     
225                   if (this.inboxFid != v)
226               {
227             this.inboxFid = v;
228             setModified(true);
229         }
230     
231           
232               }
233   
234     /**
235      * Get the OutboxFid
236      *
237      * @return int
238      */

239     public int getOutboxFid()
240     {
241         return outboxFid;
242     }
243
244                         
245     /**
246      * Set the value of OutboxFid
247      *
248      * @param v new value
249      */

250     public void setOutboxFid(int v)
251     {
252     
253                   if (this.outboxFid != v)
254               {
255             this.outboxFid = v;
256             setModified(true);
257         }
258     
259           
260               }
261   
262     /**
263      * Get the NewsSubsFid
264      *
265      * @return int
266      */

267     public int getNewsSubsFid()
268     {
269         return newsSubsFid;
270     }
271
272                         
273     /**
274      * Set the value of NewsSubsFid
275      *
276      * @param v new value
277      */

278     public void setNewsSubsFid(int v)
279     {
280     
281                   if (this.newsSubsFid != v)
282               {
283             this.newsSubsFid = v;
284             setModified(true);
285         }
286     
287           
288               }
289   
290     /**
291      * Get the NewsletterFid
292      *
293      * @return int
294      */

295     public int getNewsletterFid()
296     {
297         return newsletterFid;
298     }
299
300                         
301     /**
302      * Set the value of NewsletterFid
303      *
304      * @param v new value
305      */

306     public void setNewsletterFid(int v)
307     {
308     
309                   if (this.newsletterFid != v)
310               {
311             this.newsletterFid = v;
312             setModified(true);
313         }
314     
315           
316               }
317   
318     /**
319      * Get the OnlineSubsFid
320      *
321      * @return int
322      */

323     public int getOnlineSubsFid()
324     {
325         return onlineSubsFid;
326     }
327
328                         
329     /**
330      * Set the value of OnlineSubsFid
331      *
332      * @param v new value
333      */

334     public void setOnlineSubsFid(int v)
335     {
336     
337                   if (this.onlineSubsFid != v)
338               {
339             this.onlineSubsFid = v;
340             setModified(true);
341         }
342     
343           
344               }
345   
346     /**
347      * Get the PrintSubsFid
348      *
349      * @return int
350      */

351     public int getPrintSubsFid()
352     {
353         return printSubsFid;
354     }
355
356                         
357     /**
358      * Set the value of PrintSubsFid
359      *
360      * @param v new value
361      */

362     public void setPrintSubsFid(int v)
363     {
364     
365                   if (this.printSubsFid != v)
366               {
367             this.printSubsFid = v;
368             setModified(true);
369         }
370     
371           
372               }
373   
374     /**
375      * Get the ServiceFid
376      *
377      * @return int
378      */

379     public int getServiceFid()
380     {
381         return serviceFid;
382     }
383
384                         
385     /**
386      * Set the value of ServiceFid
387      *
388      * @param v new value
389      */

390     public void setServiceFid(int v)
391     {
392     
393                   if (this.serviceFid != v)
394               {
395             this.serviceFid = v;
396             setModified(true);
397         }
398     
399           
400               }
401   
402     /**
403      * Get the ShipmentFid
404      *
405      * @return int
406      */

407     public int getShipmentFid()
408     {
409         return shipmentFid;
410     }
411
412                         
413     /**
414      * Set the value of ShipmentFid
415      *
416      * @param v new value
417      */

418     public void setShipmentFid(int v)
419     {
420     
421                   if (this.shipmentFid != v)
422               {
423             this.shipmentFid = v;
424             setModified(true);
425         }
426     
427           
428               }
429   
430     /**
431      * Get the PaymentFid
432      *
433      * @return int
434      */

435     public int getPaymentFid()
436     {
437         return paymentFid;
438     }
439
440                         
441     /**
442      * Set the value of PaymentFid
443      *
444      * @param v new value
445      */

446     public void setPaymentFid(int v)
447     {
448     
449                   if (this.paymentFid != v)
450               {
451             this.paymentFid = v;
452             setModified(true);
453         }
454     
455           
456               }
457   
458     /**
459      * Get the SorderFid
460      *
461      * @return int
462      */

463     public int getSorderFid()
464     {
465         return sorderFid;
466     }
467
468                         
469     /**
470      * Set the value of SorderFid
471      *
472      * @param v new value
473      */

474     public void setSorderFid(int v)
475     {
476     
477                   if (this.sorderFid != v)
478               {
479             this.sorderFid = v;
480             setModified(true);
481         }
482     
483           
484               }
485   
486     /**
487      * Get the ProjectFid
488      *
489      * @return int
490      */

491     public int getProjectFid()
492     {
493         return projectFid;
494     }
495
496                         
497     /**
498      * Set the value of ProjectFid
499      *
500      * @param v new value
501      */

502     public void setProjectFid(int v)
503     {
504     
505                   if (this.projectFid != v)
506               {
507             this.projectFid = v;
508             setModified(true);
509         }
510     
511           
512               }
513   
514     /**
515      * Get the CustomerFid
516      *
517      * @return int
518      */

519     public int getCustomerFid()
520     {
521         return customerFid;
522     }
523
524                         
525     /**
526      * Set the value of CustomerFid
527      *
528      * @param v new value
529      */

530     public void setCustomerFid(int v)
531     {
532     
533                   if (this.customerFid != v)
534               {
535             this.customerFid = v;
536             setModified(true);
537         }
538     
539           
540               }
541   
542     /**
543      * Get the ProductFid
544      *
545      * @return int
546      */

547     public int getProductFid()
548     {
549         return productFid;
550     }
551
552                         
553     /**
554      * Set the value of ProductFid
555      *
556      * @param v new value
557      */

558     public void setProductFid(int v)
559     {
560     
561                   if (this.productFid != v)
562               {
563             this.productFid = v;
564             setModified(true);
565         }
566     
567           
568               }
569   
570          
571                 
572     private static List JavaDoc fieldNames = null;
573
574     /**
575      * Generate a list of field names.
576      *
577      * @return a list of field names
578      */

579     public static synchronized List JavaDoc getFieldNames()
580     {
581         if (fieldNames == null)
582         {
583             fieldNames = new ArrayList JavaDoc();
584               fieldNames.add("UserId");
585               fieldNames.add("UserName");
586               fieldNames.add("Welcome");
587               fieldNames.add("DefaultList");
588               fieldNames.add("InboxFid");
589               fieldNames.add("OutboxFid");
590               fieldNames.add("NewsSubsFid");
591               fieldNames.add("NewsletterFid");
592               fieldNames.add("OnlineSubsFid");
593               fieldNames.add("PrintSubsFid");
594               fieldNames.add("ServiceFid");
595               fieldNames.add("ShipmentFid");
596               fieldNames.add("PaymentFid");
597               fieldNames.add("SorderFid");
598               fieldNames.add("ProjectFid");
599               fieldNames.add("CustomerFid");
600               fieldNames.add("ProductFid");
601               fieldNames = Collections.unmodifiableList(fieldNames);
602         }
603         return fieldNames;
604     }
605
606     /**
607      * Retrieves a field from the object by name passed in as a String.
608      *
609      * @param name field name
610      * @return value
611      */

612     public Object JavaDoc getByName(String JavaDoc name)
613     {
614           if (name.equals("UserId"))
615         {
616                 return new Integer JavaDoc(getUserId());
617             }
618           if (name.equals("UserName"))
619         {
620                 return getUserName();
621             }
622           if (name.equals("Welcome"))
623         {
624                 return getWelcome();
625             }
626           if (name.equals("DefaultList"))
627         {
628                 return new Integer JavaDoc(getDefaultList());
629             }
630           if (name.equals("InboxFid"))
631         {
632                 return new Integer JavaDoc(getInboxFid());
633             }
634           if (name.equals("OutboxFid"))
635         {
636                 return new Integer JavaDoc(getOutboxFid());
637             }
638           if (name.equals("NewsSubsFid"))
639         {
640                 return new Integer JavaDoc(getNewsSubsFid());
641             }
642           if (name.equals("NewsletterFid"))
643         {
644                 return new Integer JavaDoc(getNewsletterFid());
645             }
646           if (name.equals("OnlineSubsFid"))
647         {
648                 return new Integer JavaDoc(getOnlineSubsFid());
649             }
650           if (name.equals("PrintSubsFid"))
651         {
652                 return new Integer JavaDoc(getPrintSubsFid());
653             }
654           if (name.equals("ServiceFid"))
655         {
656                 return new Integer JavaDoc(getServiceFid());
657             }
658           if (name.equals("ShipmentFid"))
659         {
660                 return new Integer JavaDoc(getShipmentFid());
661             }
662           if (name.equals("PaymentFid"))
663         {
664                 return new Integer JavaDoc(getPaymentFid());
665             }
666           if (name.equals("SorderFid"))
667         {
668                 return new Integer JavaDoc(getSorderFid());
669             }
670           if (name.equals("ProjectFid"))
671         {
672                 return new Integer JavaDoc(getProjectFid());
673             }
674           if (name.equals("CustomerFid"))
675         {
676                 return new Integer JavaDoc(getCustomerFid());
677             }
678           if (name.equals("ProductFid"))
679         {
680                 return new Integer JavaDoc(getProductFid());
681             }
682           return null;
683     }
684     
685     /**
686      * Retrieves a field from the object by name passed in
687      * as a String. The String must be one of the static
688      * Strings defined in this Class' Peer.
689      *
690      * @param name peer name
691      * @return value
692      */

693     public Object JavaDoc getByPeerName(String JavaDoc name)
694     {
695           if (name.equals(CreamUserPeer.USER_ID))
696         {
697                 return new Integer JavaDoc(getUserId());
698             }
699           if (name.equals(CreamUserPeer.LOGIN_NAME))
700         {
701                 return getUserName();
702             }
703           if (name.equals(CreamUserPeer.WELCOME))
704         {
705                 return getWelcome();
706             }
707           if (name.equals(CreamUserPeer.DEFAULT_LIST))
708         {
709                 return new Integer JavaDoc(getDefaultList());
710             }
711           if (name.equals(CreamUserPeer.INBOX_FID))
712         {
713                 return new Integer JavaDoc(getInboxFid());
714             }
715           if (name.equals(CreamUserPeer.OUTBOX_FID))
716         {
717                 return new Integer JavaDoc(getOutboxFid());
718             }
719           if (name.equals(CreamUserPeer.NEWS_SUBS_FID))
720         {
721                 return new Integer JavaDoc(getNewsSubsFid());
722             }
723           if (name.equals(CreamUserPeer.NEWSLETTER_FID))
724         {
725                 return new Integer JavaDoc(getNewsletterFid());
726             }
727           if (name.equals(CreamUserPeer.ONLINE_SUBS_FID))
728         {
729                 return new Integer JavaDoc(getOnlineSubsFid());
730             }
731           if (name.equals(CreamUserPeer.PRINT_SUBS_FID))
732         {
733                 return new Integer JavaDoc(getPrintSubsFid());
734             }
735           if (name.equals(CreamUserPeer.SERVICE_FID))
736         {
737                 return new Integer JavaDoc(getServiceFid());
738             }
739           if (name.equals(CreamUserPeer.SHIPMENT_FID))
740         {
741                 return new Integer JavaDoc(getShipmentFid());
742             }
743           if (name.equals(CreamUserPeer.PAYMENT_FID))
744         {
745                 return new Integer JavaDoc(getPaymentFid());
746             }
747           if (name.equals(CreamUserPeer.SORDER_FID))
748         {
749                 return new Integer JavaDoc(getSorderFid());
750             }
751           if (name.equals(CreamUserPeer.PROJECT_FID))
752         {
753                 return new Integer JavaDoc(getProjectFid());
754             }
755           if (name.equals(CreamUserPeer.CUSTOMER_FID))
756         {
757                 return new Integer JavaDoc(getCustomerFid());
758             }
759           if (name.equals(CreamUserPeer.PRODUCT_FID))
760         {
761                 return new Integer JavaDoc(getProductFid());
762             }
763           return null;
764     }
765
766     /**
767      * Retrieves a field from the object by Position as specified
768      * in the xml schema. Zero-based.
769      *
770      * @param pos position in xml schema
771      * @return value
772      */

773     public Object JavaDoc getByPosition(int pos)
774     {
775             if (pos == 0)
776         {
777                 return new Integer JavaDoc(getUserId());
778             }
779               if (pos == 1)
780         {
781                 return getUserName();
782             }
783               if (pos == 2)
784         {
785                 return getWelcome();
786             }
787               if (pos == 3)
788         {
789                 return new Integer JavaDoc(getDefaultList());
790             }
791               if (pos == 4)
792         {
793                 return new Integer JavaDoc(getInboxFid());
794             }
795               if (pos == 5)
796         {
797                 return new Integer JavaDoc(getOutboxFid());
798             }
799               if (pos == 6)
800         {
801                 return new Integer JavaDoc(getNewsSubsFid());
802             }
803               if (pos == 7)
804         {
805                 return new Integer JavaDoc(getNewsletterFid());
806             }
807               if (pos == 8)
808         {
809                 return new Integer JavaDoc(getOnlineSubsFid());
810             }
811               if (pos == 9)
812         {
813                 return new Integer JavaDoc(getPrintSubsFid());
814             }
815               if (pos == 10)
816         {
817                 return new Integer JavaDoc(getServiceFid());
818             }
819               if (pos == 11)
820         {
821                 return new Integer JavaDoc(getShipmentFid());
822             }
823               if (pos == 12)
824         {
825                 return new Integer JavaDoc(getPaymentFid());
826             }
827               if (pos == 13)
828         {
829                 return new Integer JavaDoc(getSorderFid());
830             }
831               if (pos == 14)
832         {
833                 return new Integer JavaDoc(getProjectFid());
834             }
835               if (pos == 15)
836         {
837                 return new Integer JavaDoc(getCustomerFid());
838             }
839               if (pos == 16)
840         {
841                 return new Integer JavaDoc(getProductFid());
842             }
843               return null;
844     }
845      
846     /**
847      * Stores the object in the database. If the object is new,
848      * it inserts it; otherwise an update is performed.
849      *
850      * @throws Exception
851      */

852     public void save() throws Exception JavaDoc
853     {
854           save(CreamUserPeer.getMapBuilder()
855                 .getDatabaseMap().getName());
856       }
857
858     /**
859      * Stores the object in the database. If the object is new,
860      * it inserts it; otherwise an update is performed.
861        * Note: this code is here because the method body is
862      * auto-generated conditionally and therefore needs to be
863      * in this file instead of in the super class, BaseObject.
864        *
865      * @param dbName
866      * @throws TorqueException
867      */

868     public void save(String JavaDoc dbName) throws TorqueException
869     {
870         Connection JavaDoc con = null;
871           try
872         {
873             con = Transaction.begin(dbName);
874             save(con);
875             Transaction.commit(con);
876         }
877         catch(TorqueException e)
878         {
879             Transaction.safeRollback(con);
880             throw e;
881         }
882       }
883
884       /** flag to prevent endless save loop, if this object is referenced
885         by another object which falls in this transaction. */

886     private boolean alreadyInSave = false;
887       /**
888      * Stores the object in the database. If the object is new,
889      * it inserts it; otherwise an update is performed. This method
890      * is meant to be used as part of a transaction, otherwise use
891      * the save() method and the connection details will be handled
892      * internally
893      *
894      * @param con
895      * @throws TorqueException
896      */

897     public void save(Connection JavaDoc con) throws TorqueException
898     {
899           if (!alreadyInSave)
900         {
901             alreadyInSave = true;
902
903
904   
905             // If this object has been modified, then save it to the database.
906
if (isModified())
907             {
908                 if (isNew())
909                 {
910                     CreamUserPeer.doInsert((CreamUser) this, con);
911                     setNew(false);
912                 }
913                 else
914                 {
915                     CreamUserPeer.doUpdate((CreamUser) this, con);
916                 }
917             }
918
919                       alreadyInSave = false;
920         }
921       }
922
923                   
924       /**
925      * Set the PrimaryKey using ObjectKey.
926      *
927      * @param key userId ObjectKey
928      */

929     public void setPrimaryKey(ObjectKey key)
930         
931     {
932             setUserId(((NumberKey) key).intValue());
933         }
934
935     /**
936      * Set the PrimaryKey using a String.
937      *
938      * @param key
939      */

940     public void setPrimaryKey(String JavaDoc key)
941     {
942             setUserId(Integer.parseInt(key));
943         }
944
945   
946     /**
947      * returns an id that differentiates this object from others
948      * of its class.
949      */

950     public ObjectKey getPrimaryKey()
951     {
952           return SimpleKey.keyFor(getUserId());
953       }
954  
955     /**
956      * get an id that differentiates this object from others
957      * of its class.
958      */

959     public String JavaDoc getQueryKey()
960     {
961         if (getPrimaryKey() == null)
962         {
963             return "";
964         }
965         else
966         {
967             return getPrimaryKey().toString();
968         }
969     }
970
971     /**
972      * set an id that differentiates this object from others
973      * of its class.
974      */

975     public void setQueryKey(String JavaDoc key)
976         throws TorqueException
977     {
978         setPrimaryKey(key);
979     }
980
981     /**
982      * Makes a copy of this object.
983      * It creates a new object filling in the simple attributes.
984        * It then fills all the association collections and sets the
985      * related objects to isNew=true.
986        */

987       public CreamUser copy() throws TorqueException
988     {
989         return copyInto(new CreamUser());
990     }
991   
992     protected CreamUser copyInto(CreamUser copyObj) throws TorqueException
993     {
994           copyObj.setUserId(userId);
995           copyObj.setUserName(userName);
996           copyObj.setWelcome(welcome);
997           copyObj.setDefaultList(defaultList);
998           copyObj.setInboxFid(inboxFid);
999           copyObj.setOutboxFid(outboxFid);
1000          copyObj.setNewsSubsFid(newsSubsFid);
1001          copyObj.setNewsletterFid(newsletterFid);
1002          copyObj.setOnlineSubsFid(onlineSubsFid);
1003          copyObj.setPrintSubsFid(printSubsFid);
1004          copyObj.setServiceFid(serviceFid);
1005          copyObj.setShipmentFid(shipmentFid);
1006          copyObj.setPaymentFid(paymentFid);
1007          copyObj.setSorderFid(sorderFid);
1008          copyObj.setProjectFid(projectFid);
1009          copyObj.setCustomerFid(customerFid);
1010          copyObj.setProductFid(productFid);
1011  
1012                            copyObj.setUserId( 0);
1013                                                                                                            
1014                return copyObj;
1015    }
1016
1017    /**
1018     * returns a peer instance associated with this om. Since Peer classes
1019     * are not to have any instance attributes, this method returns the
1020     * same instance for all member of this class. The method could therefore
1021     * be static, but this would prevent one from overriding the behavior.
1022     */

1023    public CreamUserPeer getPeer()
1024    {
1025        return peer;
1026    }
1027
1028    public String JavaDoc toString()
1029    {
1030        StringBuffer JavaDoc str = new StringBuffer JavaDoc();
1031        str.append("CreamUser:\n");
1032        str.append("UserId = ")
1033               .append(getUserId())
1034             .append("\n");
1035        str.append("UserName = ")
1036               .append(getUserName())
1037             .append("\n");
1038        str.append("Welcome = ")
1039               .append(getWelcome())
1040             .append("\n");
1041        str.append("DefaultList = ")
1042               .append(getDefaultList())
1043             .append("\n");
1044        str.append("InboxFid = ")
1045               .append(getInboxFid())
1046             .append("\n");
1047        str.append("OutboxFid = ")
1048               .append(getOutboxFid())
1049             .append("\n");
1050        str.append("NewsSubsFid = ")
1051               .append(getNewsSubsFid())
1052             .append("\n");
1053        str.append("NewsletterFid = ")
1054               .append(getNewsletterFid())
1055             .append("\n");
1056        str.append("OnlineSubsFid = ")
1057               .append(getOnlineSubsFid())
1058             .append("\n");
1059        str.append("PrintSubsFid = ")
1060               .append(getPrintSubsFid())
1061             .append("\n");
1062        str.append("ServiceFid = ")
1063               .append(getServiceFid())
1064             .append("\n");
1065        str.append("ShipmentFid = ")
1066               .append(getShipmentFid())
1067             .append("\n");
1068        str.append("PaymentFid = ")
1069               .append(getPaymentFid())
1070             .append("\n");
1071        str.append("SorderFid = ")
1072               .append(getSorderFid())
1073             .append("\n");
1074        str.append("ProjectFid = ")
1075               .append(getProjectFid())
1076             .append("\n");
1077        str.append("CustomerFid = ")
1078               .append(getCustomerFid())
1079             .append("\n");
1080        str.append("ProductFid = ")
1081               .append(getProductFid())
1082             .append("\n");
1083        return(str.toString());
1084    }
1085}
1086
Popular Tags