Portability Libraries  2015.2.0.0
Common Methods and Objects for Platform Independance.
email_addresses.hpp
Go to the documentation of this file.
1 /**
2  * Sql2Cpp is Copyright (C) 2016 Douglas Mark Royer
3  *
4  * Sql2Cpp Author: DouglasRoyer@gmail.com
5  *
6  * For Sql2cpp help: Support@SoftwareAndServices.US
7  *
8  * Sql2Cpp Product: http://SoftwareAndServices.US/Sql2Cpp
9  *
10  * Sql2Cpp Programming Documentation:
11  * http://SoftwareAndServices.US/Sql2Cpp/API
12  *
13  * This file automaticly generated by Sql2Cpp on: Mon Dec 5 00:58:18 2016
14  *
15  * @note
16  * THIS SOFTWARE AND MANUAL ARE BOTH PROTECTED BY UNITED STATES
17  * COPYRIGHT LAW (TITLE 17 UNITED STATES CODE). UNAUTHORIZED REPRODUCTION
18  * AND/OR SALE MAY RESULT IN IMPRISONMENT OF UP TO ONE YEAR AND FINES
19  * OF UP TO $100,000 (17 USC 506). COPYRIGHT INFRINGERS MAY ALSO
20  * BE SUBJECT TO CIVIL LIABILITY.
21  *
22  * @note
23  * THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN IS
24  * PROVIDED ON AN "AS IS" BASIS AND THE AUTHOR DISCLAIMS ALL
25  * WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
26  * TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT
27  * INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY
28  * OR FITNESS FOR A PARTICULAR PURPOSE.
29  */
30 #include <SaS/Common/String.hpp>
31 #include <SaS/UpnDb/UpnDB.hpp>
32 #include <SaS/Sql2Cpp/Sql2CppGenBase.hpp>
33 #include <SaS/Sql2Cpp/SQLBIGINT.hpp>
34 #include <SaS/Sql2Cpp/SQLBIGSERIAL.hpp>
35 #include <SaS/Sql2Cpp/SQLBINARY.hpp>
36 #include <SaS/Sql2Cpp/SQLBIT.hpp>
37 #include <SaS/Sql2Cpp/SQLBOOLEAN.hpp>
38 #include <SaS/Sql2Cpp/SQLBOX.hpp>
39 #include <SaS/Sql2Cpp/SQLBYTEA.hpp>
40 #include <SaS/Sql2Cpp/SQLCHAR.hpp>
41 #include <SaS/Sql2Cpp/SQLCIDR.hpp>
42 #include <SaS/Sql2Cpp/SQLCIRCLE.hpp>
43 #include <SaS/Sql2Cpp/SQLDATE.hpp>
44 #include <SaS/Sql2Cpp/SQLDATERANGE.hpp>
45 #include <SaS/Sql2Cpp/SQLDATETIME.hpp>
46 #include <SaS/Sql2Cpp/SQLDOMAIN.hpp>
47 #include <SaS/Sql2Cpp/SQLDOUBLEPRECISION.hpp>
48 #include <SaS/Sql2Cpp/SQLENUM.hpp>
49 #include <SaS/Sql2Cpp/SQLINET.hpp>
50 #include <SaS/Sql2Cpp/SQLINT4RANGE.hpp>
51 #include <SaS/Sql2Cpp/SQLINT8RANGE.hpp>
52 #include <SaS/Sql2Cpp/SQLINTEGER.hpp>
53 #include <SaS/Sql2Cpp/SQLLINE.hpp>
54 #include <SaS/Sql2Cpp/SQLLSEG.hpp>
55 #include <SaS/Sql2Cpp/SQLMACADDR.hpp>
56 #include <SaS/Sql2Cpp/SQLMONEY.hpp>
57 #include <SaS/Sql2Cpp/SQLNUMERIC.hpp>
58 #include <SaS/Sql2Cpp/SQLPATH.hpp>
59 #include <SaS/Sql2Cpp/SQLPOINT.hpp>
60 #include <SaS/Sql2Cpp/SQLPOLYGON.hpp>
61 #include <SaS/Sql2Cpp/SQLREAL.hpp>
62 #include <SaS/Sql2Cpp/SQLSERIAL.hpp>
63 #include <SaS/Sql2Cpp/SQLSMALLINT.hpp>
64 #include <SaS/Sql2Cpp/SQLSMALLSERIAL.hpp>
65 #include <SaS/Sql2Cpp/SQLTEXT.hpp>
66 #include <SaS/Sql2Cpp/SQLTIME.hpp>
67 #include <SaS/Sql2Cpp/SQLTIMESTAMP.hpp>
68 #include <SaS/Sql2Cpp/SQLTIMESTAMPTZ.hpp>
69 #include <SaS/Sql2Cpp/SQLTIMETZ.hpp>
70 #include <SaS/Sql2Cpp/SQLTSRANGE.hpp>
71 #include <SaS/Sql2Cpp/SQLTSTZRANGE.hpp>
72 #include <SaS/Sql2Cpp/SQLTSVECTOR.hpp>
73 #include <SaS/Sql2Cpp/SQLUUID.hpp>
74 #include <SaS/Sql2Cpp/SQLVARBINARY.hpp>
75 #include <SaS/Sql2Cpp/SQLVARCHAR.hpp>
76 
77 #ifdef USE_POSTGRES
78 #include <SaS/Sql/SQL_postgres.hpp>
79 #endif // USE_POSTGRES
80 
83 using namespace SoftwareAndServices::Library::UPN;
84 
85 //
86 // Beginning of namespace SoftwareAndServices::Library::UPN
87 //
88 namespace SoftwareAndServices { namespace Library { namespace UPN {
89 
90 /**
91  * @class email_addresses_Table email_addresses.hpp <SaS/Sql2Cpp/Generated/upn/email_addresses.hpp>
92  * This object represents a PostgreSql table: <b>email_addresses</b>.
93  * in database <b>upn</b>, which has these columns:
94  *
95  * |Column Name|Column Type|Notes|
96  * |:----------|:----------|-----|
97  * |email_id|SQLBIGINT|<br/>Is Unique.<br/>Is Primary Key.<br/>Has Sequence: email_addresses_email_id_seq.<br/>NULL <b>NOT</b> allowed.|
98  * |realm_id|SQLBIGINT|<br/>Is Unique.<br/>NULL <b>NOT</b> allowed.<br/>Is FOREIGN KEY to: <b>realms.realm_id</b>|
99  * |upn_id|SQLBIGINT|<br/>Is Unique.<br/>NULL <b>NOT</b> allowed.<br/>Is FOREIGN KEY to: <b>upns.upn_id</b>|
100  * |email|SQLVARCHAR|<br/>Is Unique.<br/>NULL <b>NOT</b> allowed.|
101  * |type_id|SQLBIGINT|<br/>NULL <b>NOT</b> allowed.<br/>Is FOREIGN KEY to: <b>data_type.type_id</b>|
102  *
103  * @note To use this object using a dynamic library,
104  * link with <b>-lSaSSql2Cpp_upn_email_addresses</b>
105  *
106  * @note Where:
107  * <ul>
108  * <li><b>SaS</b> is the vender ID.</li>
109  * <li><b>upn</b> is the database name.</li>
110  * <li><b>email_addresses</b> is the database table name.</li>
111  * </ul>
112  * @note To use this object from a static library,
113  * link with <b>-lSaSSql2Cpp_upn</b>
114  *
115  * @note Where:
116  * <ul>
117  * <li><b>SaS</b> is the vender ID.</li>
118  * <li><b>upn</b> is the database name.</li>
119  * </ul>
120  *
121  * @ingroup Sql2CppGroup
122  * @see \ref Sql2CppOverview
123  */
125  : public Sql2CppGenBase
126 {
127 
128 public:
129 
130  /**
131  * email_addresses_Table - Default Constructor
132  *
133  * @note This is an Automatically Generated Sql2Cpp Method.
134  */
136 
137  /**
138  * email_addresses_Table - Destructor
139  *
140  * @note This is an Automatically Generated Sql2Cpp Method.
141  */
142  virtual ~email_addresses_Table();
143 
144  /**
145  * Load all of the values into a cache.
146  *
147  * @note This is an Automatically Generated Sql2Cpp Method.
148  *
149  * @param Auth The authentication handle.
150  *
151  * @param Db An initialzied UpnDB handle.
152  *
153  * @param List Where the results will be returned.
154  *
155  * @return The number of entries loaded.
156  * Results restricted to data accessable by Auth.
157  * Auth <b>MUST BE</b> the owning UPN, a site
158  * administrator, or a realm administrator to load
159  * information about a realm or UPN.
160  *
161  * @throws ErrorCode_e
162  */
163  static uint64_t LoadAll(UpnDbAuthHandle_t Auth, UpnDB & Db, std::list<email_addresses_Table*> & List);
164 
165 public:
166 
167  /*
168  * --
169  * -- Column: email_id
170  * --
171  */
172 
173 #ifdef USE_QT5
174 public slots:
175 #else
176 public:
177 #endif // USE_QT5
178 
179  /**
180  * Set email_id by value.
181  *
182  * @note This is an Automatically Generated Sql2Cpp Method.
183  *
184  * @warning This SQL column is an auto-increment sequence.
185  * Altering its value may cause database problems.
186  *
187  * @param NewVal The new value.
188  *
189  * @throws ErrorCode_e
190  */
191  void
192  Set_email_id(const SQLBIGINT * NewVal);
193 
194  /**
195  * Set email_id by value.
196  *
197  * @note This is an Automatically Generated Sql2Cpp Method.
198  *
199  * @warning This SQL column is an auto-increment sequence.
200  * Altering its value may cause database problems.
201  *
202  * @param NewVal The new value.
203  *
204  * @throws ErrorCode_e
205  */
206  void
207  Set_email_id(int64_t NewVal);
208 
209  /**
210  * Set email_id by value.
211  *
212  * @note This is an Automatically Generated Sql2Cpp Method.
213  *
214  * @warning This SQL column is an auto-increment sequence.
215  * Altering its value may cause database problems.
216  *
217  * @param NewVal The new value as a (char*).
218  * Does a atoll(NewVal) and the results are used.
219  * When NewVal is NULL, the SQL value will be NULL.
220  *
221  * @throws ErrorCode_e
222  */
223  void
224  Set_email_id(const char * NewVal);
225 
226  /**
227  * Set email_id by value.
228  *
229  * @note This is an Automatically Generated Sql2Cpp Method.
230  *
231  * @warning This SQL column is an auto-increment sequence.
232  * Altering its value may cause database problems.
233  *
234  * @param NewVal The new value as a (char*).
235  * Does a atoll(NewVal) and the results are used.
236  *
237  * @throws ErrorCode_e
238  */
239  void
240  Set_email_id(const String & NewVal);
241 
242  /**
243  * Set email_id - by value.
244  *
245  * @note This is an Automatically Generated Sql2Cpp Method.
246  *
247  * @warning This SQL column is an auto-increment sequence.
248  * Altering its value may cause database problems.
249  *
250  * @param NewVal The new value as a (char*).
251  * Does a atoll(NewVal) and the results are used.
252  *
253  * @throws ErrorCode_e
254  */
255  void
256  Set_email_id(const std::string & NewVal);
257 
258 #ifdef USE_QT5
259  /**
260  * Set email_id by value.
261  *
262  * @note This is an Automatically Generated Sql2Cpp Method.
263  *
264  * @warning This SQL column is an auto-increment sequence.
265  * Altering its value may cause database problems.
266  *
267  * @param NewVal The new value as a (char*).
268  * Does a atoll(NewVal) and the results are used.
269  *
270  * @throws ErrorCode_e
271  */
272  void
273  Set_email_id(const QStrting & NewVal);
274 
275 #endif
276 public:
277 
278  /**
279  * Get email_id
280  *
281  * @note This is an Automatically Generated Sql2Cpp Method.
282  *
283  * @return The email_id
284  *
285  * @throws ErrorCode_e
286  */
287  int64_t
288  Get_email_id() const;
289 
290 public:
291 
292  /**
293  * Load by this record types unique key.
294  *
295  * @note This is an Automatically Generated Sql2Cpp Method.
296  *
297  * @param Auth The authentication handle.
298  *
299  * @param Db An initialzied UpnDB handle.
300  *
301  * @param email_id_ToFind The value to load by.
302  *
303  * @return true when found and loaded.
304  * Results restricted to data accessable by Auth.
305  * Auth <b>MUST BE</b> the owning UPN, a site
306  * administrator, or a realm administrator to load
307  * information about a realm or UPN.
308  *
309  * @throws ErrorCode_e
310  */
311  bool LoadBy_email_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const SQLBIGINT * email_id_ToFind);
312 
313  /**
314  * Load by this record types unique key.
315  *
316  * @note This is an Automatically Generated Sql2Cpp Method.
317  *
318  * @param Auth The authentication handle.
319  *
320  * @param Db An initialzied UpnDB handle.
321  *
322  * @param email_id_ToFind The value to load by.
323  * Does a atoll(NewVal) and the results are used.
324  * When email_id_ToFind is NULL, will search for NULL values.
325  *
326  * @return true when found and loaded.
327  * Results restricted to data accessable by Auth.
328  * Auth <b>MUST BE</b> the owning UPN, a site
329  * administrator, or a realm administrator to load
330  * information about a realm or UPN.
331  *
332  * @throws ErrorCode_e
333  */
334  bool LoadBy_email_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const char * email_id_ToFind);
335 
336  /**
337  * Load by this record types unique key.
338  *
339  * @note This is an Automatically Generated Sql2Cpp Method.
340  *
341  * @param Auth The authentication handle.
342  *
343  * @param Db An initialzied UpnDB handle.
344  *
345  * @param email_id_ToFind The value to load by.
346  * Does a atoll(NewVal) and the results are used.
347  *
348  * @return true when found and loaded.
349  * Results restricted to data accessable by Auth.
350  * Auth <b>MUST BE</b> the owning UPN, a site
351  * administrator, or a realm administrator to load
352  * information about a realm or UPN.
353  *
354  * @throws ErrorCode_e
355  */
356  bool LoadBy_email_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const String & email_id_ToFind);
357 
358  /**
359  * Load by this record types unique key.
360  *
361  * @note This is an Automatically Generated Sql2Cpp Method.
362  *
363  * @param Auth The authentication handle.
364  *
365  * @param Db An initialzied UpnDB handle.
366  *
367  * @param email_id_ToFind The value to load by.
368  * Does a atoll(NewVal) and the results are used.
369  *
370  * @return true when found and loaded.
371  * Results restricted to data accessable by Auth.
372  * Auth <b>MUST BE</b> the owning UPN, a site
373  * administrator, or a realm administrator to load
374  * information about a realm or UPN.
375  *
376  * @throws ErrorCode_e
377  */
378  bool LoadBy_email_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const std::string & email_id_ToFind);
379 
380 #ifdef USE_QT5
381  /**
382  * Load by this record types unique key.
383  *
384  * @note This is an Automatically Generated Sql2Cpp Method.
385  *
386  * @param Auth The authentication handle.
387  *
388  * @param Db An initialzied UpnDB handle.
389  *
390  * @param email_id_ToFind The value to load by.
391  * Does a atoll(NewVal) and the results are used.
392  *
393  * @return true when found and loaded.
394  * Results restricted to data accessable by Auth.
395  * Auth <b>MUST BE</b> the owning UPN, a site
396  * administrator, or a realm administrator to load
397  * information about a realm or UPN.
398  *
399  * @throws ErrorCode_e
400  */
401  bool LoadBy_email_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const QString & email_id_ToFind);
402 
403 #endif
404  /**
405  * Load by this record types unique key.
406  *
407  * @note This is an Automatically Generated Sql2Cpp Method.
408  *
409  * @param Auth The authentication handle.
410  *
411  * @param Db An initialzied UpnDB handle.
412  *
413  * @param email_id_ToFind The value to load by.
414  *
415  * @return true when found and loaded.
416  * Results restricted to data accessable by Auth.
417  * Auth <b>MUST BE</b> the owning UPN, a site
418  * administrator, or a realm administrator to load
419  * information about a realm or UPN.
420  *
421  * @throws ErrorCode_e
422  */
423  bool LoadBy_email_id(UpnDbAuthHandle_t Auth, UpnDB & Db, int64_t email_id_ToFind);
424 
425  /**
426  * Load all records that match the value in email_id.
427  *
428  * @note This is an Automatically Generated Sql2Cpp Method.
429  *
430  * @param Auth The authentication handle.
431  *
432  * @param Db An initialzied UpnDB handle.
433  *
434  * @param email_id_ToFind The value to load by.
435  *
436  * @param Results Where the results will be
437  * stored. This method frees each content of, and
438  * and calls clear() on Results before processing
439  * the request.
440  *
441  * @return the number of records found.
442  * Results restricted to data accessable by Auth.
443  * Auth <b>MUST BE</b> the owning UPN, a site
444  * administrator, or a realm administrator to load
445  * information about a realm or UPN.
446  *
447  * @throws ErrorCode_e
448  */
449  uint32_t LoadAllBy_email_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const SQLBIGINT & email_id_ToFind, std::list<email_addresses_Table *> & Results);
450 
451  /**
452  * Load all records that match the value in email_id.
453  *
454  * @note This is an Automatically Generated Sql2Cpp Method.
455  *
456  * @param Auth The authentication handle.
457  *
458  * @param Db An initialzied UpnDB handle.
459  *
460  * @param email_id_ToFind The value to load by.
461  *
462  * @param Results Where the results will be
463  * stored. This method frees each content of, and
464  * and calls clear() on Results before processing
465  * the request.
466  *
467  * @return the number of records found.
468  * Results restricted to data accessable by Auth.
469  * Auth <b>MUST BE</b> the owning UPN, a site
470  * administrator, or a realm administrator to load
471  * information about a realm or UPN.
472  *
473  * @throws ErrorCode_e
474  */
475  uint32_t LoadAllBy_email_id(UpnDbAuthHandle_t Auth, UpnDB & Db, int64_t email_id_ToFind, std::list<email_addresses_Table *> & Results);
476 
477  /**
478  * Load all records that match the value in email_id.
479  *
480  * @note This is an Automatically Generated Sql2Cpp Method.
481  *
482  * @param Auth The authentication handle.
483  *
484  * @param Db An initialzied UpnDB handle.
485  *
486  * @param email_id_ToFind The value to load by.
487  * Does a atoll(email_id_ToFind) and the results are used.
488  * When email_id_ToFind is NULL, will search for NULL value.
489  *
490  * @param Results Where the results will be
491  * stored. This method frees each content of, and
492  * and calls clear() on Results before processing
493  * the request.
494  *
495  * @return the number of records found.
496  * Results restricted to data accessable by Auth.
497  * Auth <b>MUST BE</b> the owning UPN, a site
498  * administrator, or a realm administrator to load
499  * information about a realm or UPN.
500  *
501  * @throws ErrorCode_e
502  */
503  uint32_t LoadAllBy_email_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const char * email_id_ToFind, std::list<email_addresses_Table *> & Results);
504 
505  /**
506  * Load all records that match the value in email_id.
507  *
508  * @note This is an Automatically Generated Sql2Cpp Method.
509  *
510  * @param Auth The authentication handle.
511  *
512  * @param Db An initialzied UpnDB handle.
513  *
514  * @param email_id_ToFind The value to load by.
515  * Does a atoll(email_id_ToFind) and the results are used.
516  *
517  * @param Results Where the results will be
518  * stored. This method frees each content of, and
519  * and calls clear() on Results before processing
520  * the request.
521  *
522  * @return the number of records found.
523  * Results restricted to data accessable by Auth.
524  * Auth <b>MUST BE</b> the owning UPN, a site
525  * administrator, or a realm administrator to load
526  * information about a realm or UPN.
527  *
528  * @throws ErrorCode_e
529  */
530  uint32_t LoadAllBy_email_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const String & email_id_ToFind, std::list<email_addresses_Table *> & Results);
531 
532  /**
533  * Load all records that match the value in email_id.
534  *
535  * @note This is an Automatically Generated Sql2Cpp Method.
536  *
537  * @param Auth The authentication handle.
538  *
539  * @param Db An initialzied UpnDB handle.
540  *
541  * @param email_id_ToFind The value to load by.
542  * Does a atoll(email_id_ToFind) and the results are used.
543  *
544  * @param Results Where the results will be
545  * stored. This method frees each content of, and
546  * and calls clear() on Results before processing
547  * the request.
548  *
549  * @return the number of records found.
550  * Results restricted to data accessable by Auth.
551  * Auth <b>MUST BE</b> the owning UPN, a site
552  * administrator, or a realm administrator to load
553  * information about a realm or UPN.
554  *
555  * @throws ErrorCode_e
556  */
557  uint32_t LoadAllBy_email_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const std::string & email_id_ToFind, std::list<email_addresses_Table *> & Results);
558 
559 #ifdef USE_QT5
560  /**
561  * Load all records that match the value in email_id.
562  *
563  * @note This is an Automatically Generated Sql2Cpp Method.
564  *
565  * @param Auth The authentication handle.
566  *
567  * @param Db An initialzied UpnDB handle.
568  *
569  * @param email_id_ToFind The value to load by.
570  * Does a atoll(email_id_ToFind) and the results are used.
571  *
572  * @param Results Where the results will be
573  * stored. This method frees each content of, and
574  * and calls clear() on Results before processing
575  * the request.
576  *
577  * @return the number of records found.
578  * Results restricted to data accessable by Auth.
579  * Auth <b>MUST BE</b> the owning UPN, a site
580  * administrator, or a realm administrator to load
581  * information about a realm or UPN.
582  *
583  * @throws ErrorCode_e
584  */
585  uint32_t LoadAllBy_email_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const QString & email_id_ToFind, std::list<email_addresses_Table *> & Results);
586 
587 #endif
588 #ifdef USE_QT5
589 signals:
590 #endif // USE_QT5
591 
592  /**
593  * email_id changed. (Qt5 signal)
594  * Not sent during Load or Find.
595  *
596  * @param email_addresses_DbTable A pointer to the throwing object.
597  */
598  void email_id_Changed(email_addresses_Table * email_addresses_DbTable);
599 
600 
601 private:
602 
603  /**
604  * The email_id
605  * @note This is an Automaticly Generated Value
606  */
607  SQLBIGINT * _email_id;
608 
609 public:
610 
611  /*
612  * --
613  * -- Column: realm_id
614  * --
615  */
616 
617 #ifdef USE_QT5
618 public slots:
619 #else
620 public:
621 #endif // USE_QT5
622 
623  /**
624  * Set realm_id by foreign key ID value.
625  * This column is a foreign key into
626  * <b>realms.realm_id</b>. Call this method.
627  * to set by KEY value.
628  *
629  * @note This is an Automatically Generated Sql2Cpp Method.
630  *
631  * @param NewVal The new value.
632  *
633  * @throws ErrorCode_e
634  */
635  void
636  Set_realm_id(const SQLBIGINT * NewVal);
637 
638  /**
639  * Set realm_id by foreign key ID value.
640  * This column is a foreign key into
641  * <b>realms.realm_id</b>. Call this method.
642  * to set by KEY value.
643  *
644  * @note This is an Automatically Generated Sql2Cpp Method.
645  *
646  * @param NewVal The new value.
647  *
648  * @throws ErrorCode_e
649  */
650  void
651  Set_realm_id(int64_t NewVal);
652 
653  /**
654  * Set realm_id by foreign key ID value.
655  * This column is a foreign key into
656  * <b>realms.realm_id</b>. Call this method.
657  * to set by KEY value.
658  *
659  * @note This is an Automatically Generated Sql2Cpp Method.
660  *
661  * @param NewVal The new value as a (char*).
662  * Does a atoll(NewVal) and the results are used.
663  * When NewVal is NULL, the SQL value will be NULL.
664  *
665  * @throws ErrorCode_e
666  */
667  void
668  Set_realm_id(const char * NewVal);
669 
670  /**
671  * Set realm_id by foreign key ID value.
672  * This column is a foreign key into
673  * <b>realms.realm_id</b>. Call this method.
674  * to set by KEY value.
675  *
676  * @note This is an Automatically Generated Sql2Cpp Method.
677  *
678  * @param NewVal The new value as a (char*).
679  * Does a atoll(NewVal) and the results are used.
680  * When NewVal is NULL, the SQL value will be NULL.
681  *
682  * @throws ErrorCode_e
683  */
684  void
685  Set_realm_id(const String & NewVal);
686 
687  /**
688  * Set realm_id by foreign key ID value.
689  * This column is a foreign key into
690  * <b>realms.realm_id</b>. Call this method.
691  * to set by KEY value.
692  *
693  * @note This is an Automatically Generated Sql2Cpp Method.
694  *
695  * @param NewVal The new value as a (char*).
696  * Does a atoll(NewVal) and the results are used.
697  *
698  * @throws ErrorCode_e
699  */
700  void
701  Set_realm_id(const std::string & NewVal);
702 
703 #ifdef USE_QT5
704  /**
705  * Set realm_id by foreign key ID value.
706  * This column is a foreign key into
707  * <b>realms.realm_id</b>. Call this method.
708  * to set by KEY value.
709  *
710  * @note This is an Automatically Generated Sql2Cpp Method.
711  *
712  * @param NewVal The new value as a (char*).
713  * Does a atoll(NewVal) and the results are used.
714  *
715  * @throws ErrorCode_e
716  */
717  void
718  Set_realm_id(const QStrting & NewVal);
719 #endif
720 
721 public:
722 
723  /**
724  * Get realm_id
725  * This column is a foreign key into
726  * <b>realms.realm_id</b>. Call this method.
727  * to get by key ID.
728  *
729  * @note This is an Automatically Generated Sql2Cpp Method.
730  *
731  * @return The realm_id - The foreign key ID.
732  *
733  * @throws ErrorCode_e
734  */
735  int64_t
736  Get_realm_id() const;
737 
738 public:
739 
740  /**
741  * Load by this record types unique key.
742  *
743  * @note This is an Automatically Generated Sql2Cpp Method.
744  *
745  * @param Auth The authentication handle.
746  *
747  * @param Db An initialzied UpnDB handle.
748  *
749  * @param realm_id_ToFind The value to load by.
750  *
751  * @return true when found and loaded.
752  * Results restricted to data accessable by Auth.
753  * Auth <b>MUST BE</b> the owning UPN, a site
754  * administrator, or a realm administrator to load
755  * information about a realm or UPN.
756  *
757  * @throws ErrorCode_e
758  */
759  bool LoadBy_realm_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const SQLBIGINT * realm_id_ToFind);
760 
761  /**
762  * Load by this record types unique key.
763  *
764  * @note This is an Automatically Generated Sql2Cpp Method.
765  *
766  * @param Auth The authentication handle.
767  *
768  * @param Db An initialzied UpnDB handle.
769  *
770  * @param realm_id_ToFind The value to load by.
771  * Does a atoll(NewVal) and the results are used.
772  * When realm_id_ToFind is NULL, will search for NULL values.
773  *
774  * @return true when found and loaded.
775  * Results restricted to data accessable by Auth.
776  * Auth <b>MUST BE</b> the owning UPN, a site
777  * administrator, or a realm administrator to load
778  * information about a realm or UPN.
779  *
780  * @throws ErrorCode_e
781  */
782  bool LoadBy_realm_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const char * realm_id_ToFind);
783 
784  /**
785  * Load by this record types unique key.
786  *
787  * @note This is an Automatically Generated Sql2Cpp Method.
788  *
789  * @param Auth The authentication handle.
790  *
791  * @param Db An initialzied UpnDB handle.
792  *
793  * @param realm_id_ToFind The value to load by.
794  * Does a atoll(NewVal) and the results are used.
795  *
796  * @return true when found and loaded.
797  * Results restricted to data accessable by Auth.
798  * Auth <b>MUST BE</b> the owning UPN, a site
799  * administrator, or a realm administrator to load
800  * information about a realm or UPN.
801  *
802  * @throws ErrorCode_e
803  */
804  bool LoadBy_realm_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const String & realm_id_ToFind);
805 
806  /**
807  * Load by this record types unique key.
808  *
809  * @note This is an Automatically Generated Sql2Cpp Method.
810  *
811  * @param Auth The authentication handle.
812  *
813  * @param Db An initialzied UpnDB handle.
814  *
815  * @param realm_id_ToFind The value to load by.
816  * Does a atoll(NewVal) and the results are used.
817  *
818  * @return true when found and loaded.
819  * Results restricted to data accessable by Auth.
820  * Auth <b>MUST BE</b> the owning UPN, a site
821  * administrator, or a realm administrator to load
822  * information about a realm or UPN.
823  *
824  * @throws ErrorCode_e
825  */
826  bool LoadBy_realm_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const std::string & realm_id_ToFind);
827 
828 #ifdef USE_QT5
829  /**
830  * Load by this record types unique key.
831  *
832  * @note This is an Automatically Generated Sql2Cpp Method.
833  *
834  * @param Auth The authentication handle.
835  *
836  * @param Db An initialzied UpnDB handle.
837  *
838  * @param realm_id_ToFind The value to load by.
839  * Does a atoll(NewVal) and the results are used.
840  *
841  * @return true when found and loaded.
842  * Results restricted to data accessable by Auth.
843  * Auth <b>MUST BE</b> the owning UPN, a site
844  * administrator, or a realm administrator to load
845  * information about a realm or UPN.
846  *
847  * @throws ErrorCode_e
848  */
849  bool LoadBy_realm_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const QString & realm_id_ToFind);
850 
851 #endif
852  /**
853  * Load by this record types unique key.
854  *
855  * @note This is an Automatically Generated Sql2Cpp Method.
856  *
857  * @param Auth The authentication handle.
858  *
859  * @param Db An initialzied UpnDB handle.
860  *
861  * @param realm_id_ToFind The value to load by.
862  *
863  * @return true when found and loaded.
864  * Results restricted to data accessable by Auth.
865  * Auth <b>MUST BE</b> the owning UPN, a site
866  * administrator, or a realm administrator to load
867  * information about a realm or UPN.
868  *
869  * @throws ErrorCode_e
870  */
871  bool LoadBy_realm_id(UpnDbAuthHandle_t Auth, UpnDB & Db, int64_t realm_id_ToFind);
872 
873  /**
874  * Load all records that match the value in realm_id.
875  *
876  * @note This is an Automatically Generated Sql2Cpp Method.
877  *
878  * @param Auth The authentication handle.
879  *
880  * @param Db An initialzied UpnDB handle.
881  *
882  * @param realm_id_ToFind The value to load by.
883  *
884  * @param Results Where the results will be
885  * stored. This method frees each content of, and
886  * and calls clear() on Results before processing
887  * the request.
888  *
889  * @return the number of records found.
890  * Results restricted to data accessable by Auth.
891  * Auth <b>MUST BE</b> the owning UPN, a site
892  * administrator, or a realm administrator to load
893  * information about a realm or UPN.
894  *
895  * @throws ErrorCode_e
896  */
897  uint32_t LoadAllBy_realm_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const SQLBIGINT & realm_id_ToFind, std::list<email_addresses_Table *> & Results);
898 
899  /**
900  * Load all records that match the value in realm_id.
901  *
902  * @note This is an Automatically Generated Sql2Cpp Method.
903  *
904  * @param Auth The authentication handle.
905  *
906  * @param Db An initialzied UpnDB handle.
907  *
908  * @param realm_id_ToFind The value to load by.
909  *
910  * @param Results Where the results will be
911  * stored. This method frees each content of, and
912  * and calls clear() on Results before processing
913  * the request.
914  *
915  * @return the number of records found.
916  * Results restricted to data accessable by Auth.
917  * Auth <b>MUST BE</b> the owning UPN, a site
918  * administrator, or a realm administrator to load
919  * information about a realm or UPN.
920  *
921  * @throws ErrorCode_e
922  */
923  uint32_t LoadAllBy_realm_id(UpnDbAuthHandle_t Auth, UpnDB & Db, int64_t realm_id_ToFind, std::list<email_addresses_Table *> & Results);
924 
925  /**
926  * Load all records that match the value in realm_id.
927  *
928  * @note This is an Automatically Generated Sql2Cpp Method.
929  *
930  * @param Auth The authentication handle.
931  *
932  * @param Db An initialzied UpnDB handle.
933  *
934  * @param realm_id_ToFind The value to load by.
935  * Does a atoll(realm_id_ToFind) and the results are used.
936  * When realm_id_ToFind is NULL, will search for NULL value.
937  *
938  * @param Results Where the results will be
939  * stored. This method frees each content of, and
940  * and calls clear() on Results before processing
941  * the request.
942  *
943  * @return the number of records found.
944  * Results restricted to data accessable by Auth.
945  * Auth <b>MUST BE</b> the owning UPN, a site
946  * administrator, or a realm administrator to load
947  * information about a realm or UPN.
948  *
949  * @throws ErrorCode_e
950  */
951  uint32_t LoadAllBy_realm_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const char * realm_id_ToFind, std::list<email_addresses_Table *> & Results);
952 
953  /**
954  * Load all records that match the value in realm_id.
955  *
956  * @note This is an Automatically Generated Sql2Cpp Method.
957  *
958  * @param Auth The authentication handle.
959  *
960  * @param Db An initialzied UpnDB handle.
961  *
962  * @param realm_id_ToFind The value to load by.
963  * Does a atoll(realm_id_ToFind) and the results are used.
964  *
965  * @param Results Where the results will be
966  * stored. This method frees each content of, and
967  * and calls clear() on Results before processing
968  * the request.
969  *
970  * @return the number of records found.
971  * Results restricted to data accessable by Auth.
972  * Auth <b>MUST BE</b> the owning UPN, a site
973  * administrator, or a realm administrator to load
974  * information about a realm or UPN.
975  *
976  * @throws ErrorCode_e
977  */
978  uint32_t LoadAllBy_realm_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const String & realm_id_ToFind, std::list<email_addresses_Table *> & Results);
979 
980  /**
981  * Load all records that match the value in realm_id.
982  *
983  * @note This is an Automatically Generated Sql2Cpp Method.
984  *
985  * @param Auth The authentication handle.
986  *
987  * @param Db An initialzied UpnDB handle.
988  *
989  * @param realm_id_ToFind The value to load by.
990  * Does a atoll(realm_id_ToFind) and the results are used.
991  *
992  * @param Results Where the results will be
993  * stored. This method frees each content of, and
994  * and calls clear() on Results before processing
995  * the request.
996  *
997  * @return the number of records found.
998  * Results restricted to data accessable by Auth.
999  * Auth <b>MUST BE</b> the owning UPN, a site
1000  * administrator, or a realm administrator to load
1001  * information about a realm or UPN.
1002  *
1003  * @throws ErrorCode_e
1004  */
1005  uint32_t LoadAllBy_realm_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const std::string & realm_id_ToFind, std::list<email_addresses_Table *> & Results);
1006 
1007 #ifdef USE_QT5
1008  /**
1009  * Load all records that match the value in realm_id.
1010  *
1011  * @note This is an Automatically Generated Sql2Cpp Method.
1012  *
1013  * @param Auth The authentication handle.
1014  *
1015  * @param Db An initialzied UpnDB handle.
1016  *
1017  * @param realm_id_ToFind The value to load by.
1018  * Does a atoll(realm_id_ToFind) and the results are used.
1019  *
1020  * @param Results Where the results will be
1021  * stored. This method frees each content of, and
1022  * and calls clear() on Results before processing
1023  * the request.
1024  *
1025  * @return the number of records found.
1026  * Results restricted to data accessable by Auth.
1027  * Auth <b>MUST BE</b> the owning UPN, a site
1028  * administrator, or a realm administrator to load
1029  * information about a realm or UPN.
1030  *
1031  * @throws ErrorCode_e
1032  */
1033  uint32_t LoadAllBy_realm_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const QString & realm_id_ToFind, std::list<email_addresses_Table *> & Results);
1034 
1035 #endif
1036 #ifdef USE_QT5
1037 signals:
1038 #endif // USE_QT5
1039 
1040  /**
1041  * realm_id changed. (Qt5 signal)
1042  * Not sent during Load or Find.
1043  *
1044  * @param email_addresses_DbTable A pointer to the throwing object.
1045  */
1046  void realm_id_Changed(email_addresses_Table * email_addresses_DbTable);
1047 
1048 
1049 private:
1050 
1051  /**
1052  * The realm_id
1053  * @note This is an Automaticly Generated Value
1054  */
1055  SQLBIGINT * _realm_id;
1056 
1057 public:
1058 
1059  /*
1060  * --
1061  * -- Column: upn_id
1062  * --
1063  */
1064 
1065 #ifdef USE_QT5
1066 public slots:
1067 #else
1068 public:
1069 #endif // USE_QT5
1070 
1071  /**
1072  * Set upn_id by foreign key ID value.
1073  * This column is a foreign key into
1074  * <b>upns.upn_id</b>. Call this method.
1075  * to set by KEY value.
1076  *
1077  * @note This is an Automatically Generated Sql2Cpp Method.
1078  *
1079  * @param NewVal The new value.
1080  *
1081  * @throws ErrorCode_e
1082  */
1083  void
1084  Set_upn_id(const SQLBIGINT * NewVal);
1085 
1086  /**
1087  * Set upn_id by foreign key ID value.
1088  * This column is a foreign key into
1089  * <b>upns.upn_id</b>. Call this method.
1090  * to set by KEY value.
1091  *
1092  * @note This is an Automatically Generated Sql2Cpp Method.
1093  *
1094  * @param NewVal The new value.
1095  *
1096  * @throws ErrorCode_e
1097  */
1098  void
1099  Set_upn_id(int64_t NewVal);
1100 
1101  /**
1102  * Set upn_id by foreign key ID value.
1103  * This column is a foreign key into
1104  * <b>upns.upn_id</b>. Call this method.
1105  * to set by KEY value.
1106  *
1107  * @note This is an Automatically Generated Sql2Cpp Method.
1108  *
1109  * @param NewVal The new value as a (char*).
1110  * Does a atoll(NewVal) and the results are used.
1111  * When NewVal is NULL, the SQL value will be NULL.
1112  *
1113  * @throws ErrorCode_e
1114  */
1115  void
1116  Set_upn_id(const char * NewVal);
1117 
1118  /**
1119  * Set upn_id by foreign key ID value.
1120  * This column is a foreign key into
1121  * <b>upns.upn_id</b>. Call this method.
1122  * to set by KEY value.
1123  *
1124  * @note This is an Automatically Generated Sql2Cpp Method.
1125  *
1126  * @param NewVal The new value as a (char*).
1127  * Does a atoll(NewVal) and the results are used.
1128  * When NewVal is NULL, the SQL value will be NULL.
1129  *
1130  * @throws ErrorCode_e
1131  */
1132  void
1133  Set_upn_id(const String & NewVal);
1134 
1135  /**
1136  * Set upn_id by foreign key ID value.
1137  * This column is a foreign key into
1138  * <b>upns.upn_id</b>. Call this method.
1139  * to set by KEY value.
1140  *
1141  * @note This is an Automatically Generated Sql2Cpp Method.
1142  *
1143  * @param NewVal The new value as a (char*).
1144  * Does a atoll(NewVal) and the results are used.
1145  *
1146  * @throws ErrorCode_e
1147  */
1148  void
1149  Set_upn_id(const std::string & NewVal);
1150 
1151 #ifdef USE_QT5
1152  /**
1153  * Set upn_id by foreign key ID value.
1154  * This column is a foreign key into
1155  * <b>upns.upn_id</b>. Call this method.
1156  * to set by KEY value.
1157  *
1158  * @note This is an Automatically Generated Sql2Cpp Method.
1159  *
1160  * @param NewVal The new value as a (char*).
1161  * Does a atoll(NewVal) and the results are used.
1162  *
1163  * @throws ErrorCode_e
1164  */
1165  void
1166  Set_upn_id(const QStrting & NewVal);
1167 #endif
1168 
1169 public:
1170 
1171  /**
1172  * Get upn_id
1173  * This column is a foreign key into
1174  * <b>upns.upn_id</b>. Call this method.
1175  * to get by key ID.
1176  *
1177  * @note This is an Automatically Generated Sql2Cpp Method.
1178  *
1179  * @return The upn_id - The foreign key ID.
1180  *
1181  * @throws ErrorCode_e
1182  */
1183  int64_t
1184  Get_upn_id() const;
1185 
1186 public:
1187 
1188  /**
1189  * Load by this record types unique key.
1190  *
1191  * @note This is an Automatically Generated Sql2Cpp Method.
1192  *
1193  * @param Auth The authentication handle.
1194  *
1195  * @param Db An initialzied UpnDB handle.
1196  *
1197  * @param upn_id_ToFind The value to load by.
1198  *
1199  * @return true when found and loaded.
1200  * Results restricted to data accessable by Auth.
1201  * Auth <b>MUST BE</b> the owning UPN, a site
1202  * administrator, or a realm administrator to load
1203  * information about a realm or UPN.
1204  *
1205  * @throws ErrorCode_e
1206  */
1207  bool LoadBy_upn_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const SQLBIGINT * upn_id_ToFind);
1208 
1209  /**
1210  * Load by this record types unique key.
1211  *
1212  * @note This is an Automatically Generated Sql2Cpp Method.
1213  *
1214  * @param Auth The authentication handle.
1215  *
1216  * @param Db An initialzied UpnDB handle.
1217  *
1218  * @param upn_id_ToFind The value to load by.
1219  * Does a atoll(NewVal) and the results are used.
1220  * When upn_id_ToFind is NULL, will search for NULL values.
1221  *
1222  * @return true when found and loaded.
1223  * Results restricted to data accessable by Auth.
1224  * Auth <b>MUST BE</b> the owning UPN, a site
1225  * administrator, or a realm administrator to load
1226  * information about a realm or UPN.
1227  *
1228  * @throws ErrorCode_e
1229  */
1230  bool LoadBy_upn_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const char * upn_id_ToFind);
1231 
1232  /**
1233  * Load by this record types unique key.
1234  *
1235  * @note This is an Automatically Generated Sql2Cpp Method.
1236  *
1237  * @param Auth The authentication handle.
1238  *
1239  * @param Db An initialzied UpnDB handle.
1240  *
1241  * @param upn_id_ToFind The value to load by.
1242  * Does a atoll(NewVal) and the results are used.
1243  *
1244  * @return true when found and loaded.
1245  * Results restricted to data accessable by Auth.
1246  * Auth <b>MUST BE</b> the owning UPN, a site
1247  * administrator, or a realm administrator to load
1248  * information about a realm or UPN.
1249  *
1250  * @throws ErrorCode_e
1251  */
1252  bool LoadBy_upn_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const String & upn_id_ToFind);
1253 
1254  /**
1255  * Load by this record types unique key.
1256  *
1257  * @note This is an Automatically Generated Sql2Cpp Method.
1258  *
1259  * @param Auth The authentication handle.
1260  *
1261  * @param Db An initialzied UpnDB handle.
1262  *
1263  * @param upn_id_ToFind The value to load by.
1264  * Does a atoll(NewVal) and the results are used.
1265  *
1266  * @return true when found and loaded.
1267  * Results restricted to data accessable by Auth.
1268  * Auth <b>MUST BE</b> the owning UPN, a site
1269  * administrator, or a realm administrator to load
1270  * information about a realm or UPN.
1271  *
1272  * @throws ErrorCode_e
1273  */
1274  bool LoadBy_upn_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const std::string & upn_id_ToFind);
1275 
1276 #ifdef USE_QT5
1277  /**
1278  * Load by this record types unique key.
1279  *
1280  * @note This is an Automatically Generated Sql2Cpp Method.
1281  *
1282  * @param Auth The authentication handle.
1283  *
1284  * @param Db An initialzied UpnDB handle.
1285  *
1286  * @param upn_id_ToFind The value to load by.
1287  * Does a atoll(NewVal) and the results are used.
1288  *
1289  * @return true when found and loaded.
1290  * Results restricted to data accessable by Auth.
1291  * Auth <b>MUST BE</b> the owning UPN, a site
1292  * administrator, or a realm administrator to load
1293  * information about a realm or UPN.
1294  *
1295  * @throws ErrorCode_e
1296  */
1297  bool LoadBy_upn_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const QString & upn_id_ToFind);
1298 
1299 #endif
1300  /**
1301  * Load by this record types unique key.
1302  *
1303  * @note This is an Automatically Generated Sql2Cpp Method.
1304  *
1305  * @param Auth The authentication handle.
1306  *
1307  * @param Db An initialzied UpnDB handle.
1308  *
1309  * @param upn_id_ToFind The value to load by.
1310  *
1311  * @return true when found and loaded.
1312  * Results restricted to data accessable by Auth.
1313  * Auth <b>MUST BE</b> the owning UPN, a site
1314  * administrator, or a realm administrator to load
1315  * information about a realm or UPN.
1316  *
1317  * @throws ErrorCode_e
1318  */
1319  bool LoadBy_upn_id(UpnDbAuthHandle_t Auth, UpnDB & Db, int64_t upn_id_ToFind);
1320 
1321  /**
1322  * Load all records that match the value in upn_id.
1323  *
1324  * @note This is an Automatically Generated Sql2Cpp Method.
1325  *
1326  * @param Auth The authentication handle.
1327  *
1328  * @param Db An initialzied UpnDB handle.
1329  *
1330  * @param upn_id_ToFind The value to load by.
1331  *
1332  * @param Results Where the results will be
1333  * stored. This method frees each content of, and
1334  * and calls clear() on Results before processing
1335  * the request.
1336  *
1337  * @return the number of records found.
1338  * Results restricted to data accessable by Auth.
1339  * Auth <b>MUST BE</b> the owning UPN, a site
1340  * administrator, or a realm administrator to load
1341  * information about a realm or UPN.
1342  *
1343  * @throws ErrorCode_e
1344  */
1345  uint32_t LoadAllBy_upn_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const SQLBIGINT & upn_id_ToFind, std::list<email_addresses_Table *> & Results);
1346 
1347  /**
1348  * Load all records that match the value in upn_id.
1349  *
1350  * @note This is an Automatically Generated Sql2Cpp Method.
1351  *
1352  * @param Auth The authentication handle.
1353  *
1354  * @param Db An initialzied UpnDB handle.
1355  *
1356  * @param upn_id_ToFind The value to load by.
1357  *
1358  * @param Results Where the results will be
1359  * stored. This method frees each content of, and
1360  * and calls clear() on Results before processing
1361  * the request.
1362  *
1363  * @return the number of records found.
1364  * Results restricted to data accessable by Auth.
1365  * Auth <b>MUST BE</b> the owning UPN, a site
1366  * administrator, or a realm administrator to load
1367  * information about a realm or UPN.
1368  *
1369  * @throws ErrorCode_e
1370  */
1371  uint32_t LoadAllBy_upn_id(UpnDbAuthHandle_t Auth, UpnDB & Db, int64_t upn_id_ToFind, std::list<email_addresses_Table *> & Results);
1372 
1373  /**
1374  * Load all records that match the value in upn_id.
1375  *
1376  * @note This is an Automatically Generated Sql2Cpp Method.
1377  *
1378  * @param Auth The authentication handle.
1379  *
1380  * @param Db An initialzied UpnDB handle.
1381  *
1382  * @param upn_id_ToFind The value to load by.
1383  * Does a atoll(upn_id_ToFind) and the results are used.
1384  * When upn_id_ToFind is NULL, will search for NULL value.
1385  *
1386  * @param Results Where the results will be
1387  * stored. This method frees each content of, and
1388  * and calls clear() on Results before processing
1389  * the request.
1390  *
1391  * @return the number of records found.
1392  * Results restricted to data accessable by Auth.
1393  * Auth <b>MUST BE</b> the owning UPN, a site
1394  * administrator, or a realm administrator to load
1395  * information about a realm or UPN.
1396  *
1397  * @throws ErrorCode_e
1398  */
1399  uint32_t LoadAllBy_upn_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const char * upn_id_ToFind, std::list<email_addresses_Table *> & Results);
1400 
1401  /**
1402  * Load all records that match the value in upn_id.
1403  *
1404  * @note This is an Automatically Generated Sql2Cpp Method.
1405  *
1406  * @param Auth The authentication handle.
1407  *
1408  * @param Db An initialzied UpnDB handle.
1409  *
1410  * @param upn_id_ToFind The value to load by.
1411  * Does a atoll(upn_id_ToFind) and the results are used.
1412  *
1413  * @param Results Where the results will be
1414  * stored. This method frees each content of, and
1415  * and calls clear() on Results before processing
1416  * the request.
1417  *
1418  * @return the number of records found.
1419  * Results restricted to data accessable by Auth.
1420  * Auth <b>MUST BE</b> the owning UPN, a site
1421  * administrator, or a realm administrator to load
1422  * information about a realm or UPN.
1423  *
1424  * @throws ErrorCode_e
1425  */
1426  uint32_t LoadAllBy_upn_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const String & upn_id_ToFind, std::list<email_addresses_Table *> & Results);
1427 
1428  /**
1429  * Load all records that match the value in upn_id.
1430  *
1431  * @note This is an Automatically Generated Sql2Cpp Method.
1432  *
1433  * @param Auth The authentication handle.
1434  *
1435  * @param Db An initialzied UpnDB handle.
1436  *
1437  * @param upn_id_ToFind The value to load by.
1438  * Does a atoll(upn_id_ToFind) and the results are used.
1439  *
1440  * @param Results Where the results will be
1441  * stored. This method frees each content of, and
1442  * and calls clear() on Results before processing
1443  * the request.
1444  *
1445  * @return the number of records found.
1446  * Results restricted to data accessable by Auth.
1447  * Auth <b>MUST BE</b> the owning UPN, a site
1448  * administrator, or a realm administrator to load
1449  * information about a realm or UPN.
1450  *
1451  * @throws ErrorCode_e
1452  */
1453  uint32_t LoadAllBy_upn_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const std::string & upn_id_ToFind, std::list<email_addresses_Table *> & Results);
1454 
1455 #ifdef USE_QT5
1456  /**
1457  * Load all records that match the value in upn_id.
1458  *
1459  * @note This is an Automatically Generated Sql2Cpp Method.
1460  *
1461  * @param Auth The authentication handle.
1462  *
1463  * @param Db An initialzied UpnDB handle.
1464  *
1465  * @param upn_id_ToFind The value to load by.
1466  * Does a atoll(upn_id_ToFind) and the results are used.
1467  *
1468  * @param Results Where the results will be
1469  * stored. This method frees each content of, and
1470  * and calls clear() on Results before processing
1471  * the request.
1472  *
1473  * @return the number of records found.
1474  * Results restricted to data accessable by Auth.
1475  * Auth <b>MUST BE</b> the owning UPN, a site
1476  * administrator, or a realm administrator to load
1477  * information about a realm or UPN.
1478  *
1479  * @throws ErrorCode_e
1480  */
1481  uint32_t LoadAllBy_upn_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const QString & upn_id_ToFind, std::list<email_addresses_Table *> & Results);
1482 
1483 #endif
1484 #ifdef USE_QT5
1485 signals:
1486 #endif // USE_QT5
1487 
1488  /**
1489  * upn_id changed. (Qt5 signal)
1490  * Not sent during Load or Find.
1491  *
1492  * @param email_addresses_DbTable A pointer to the throwing object.
1493  */
1494  void upn_id_Changed(email_addresses_Table * email_addresses_DbTable);
1495 
1496 
1497 private:
1498 
1499  /**
1500  * The upn_id
1501  * @note This is an Automaticly Generated Value
1502  */
1503  SQLBIGINT * _upn_id;
1504 
1505 public:
1506 
1507  /*
1508  * --
1509  * -- Column: email
1510  * --
1511  */
1512 
1513 #ifdef USE_QT5
1514 public slots:
1515 #else
1516 public:
1517 #endif // USE_QT5
1518 
1519  /**
1520  * Set email
1521  *
1522  * @note This is an Automatically Generated Sql2Cpp Method.
1523  *
1524  * @param NewVal The new value.
1525  */
1526  void
1527  Set_email(const SQLVARCHAR * NewVal);
1528 
1529  /**
1530  * Set email
1531  *
1532  * @note This is an Automatically Generated Sql2Cpp Method.
1533  *
1534  * @param NewVal The new value as a (char*).
1535  * When NewVal is NULL, the SQL value will be NULL.
1536  */
1537  void
1538  Set_email(const char * NewVal);
1539 
1540  /**
1541  * Set email
1542  *
1543  * @note This is an Automatically Generated Sql2Cpp Method.
1544  *
1545  * @param NewVal The new value.
1546  */
1547  void
1548  Set_email(const String & NewVal);
1549 
1550  /**
1551  * Set email
1552  *
1553  * @note This is an Automatically Generated Sql2Cpp Method.
1554  *
1555  * @param NewVal The new value.
1556  */
1557  void
1558  Set_email(const std::string & NewVal);
1559 
1560 #ifdef USE_QT5
1561  /**
1562  * Set email
1563  *
1564  * @note This is an Automatically Generated Sql2Cpp Method.
1565  *
1566  * @param NewVal The new value.
1567  */
1568  void
1569  Set_email(const QString & NewVal);
1570 
1571 #endif
1572 public:
1573 
1574  /**
1575  * Get email
1576  *
1577  * @note This is an Automatically Generated Sql2Cpp Method.
1578  *
1579  * @return The email
1580  */
1581  (char*)
1582  Get_email() const;
1583 
1584 public:
1585 
1586  /**
1587  * Load by this record types unique key.
1588  *
1589  * @note This is an Automatically Generated Sql2Cpp Method.
1590  *
1591  * @param Auth The authentication handle.
1592  *
1593  * @param Db An initialzied UpnDB handle.
1594  *
1595  * @param email_ToFind The value to load by.
1596  *
1597  * @return true when found and loaded.
1598  * Results restricted to data accessable by Auth.
1599  * Auth <b>MUST BE</b> the owning UPN, a site
1600  * administrator, or a realm administrator to load
1601  * information about a realm or UPN.
1602  */
1603  bool LoadBy_email(UpnDbAuthHandle_t Auth, UpnDB & Db, SQLVARCHAR * email_ToFind);
1604 
1605  /**
1606  * Load by this record types unique key.
1607  *
1608  * @note This is an Automatically Generated Sql2Cpp Method.
1609  *
1610  * @param Auth The authentication handle.
1611  *
1612  * @param Db An initialzied UpnDB handle.
1613  *
1614  * @param email_ToFind The value to load by.
1615  * When email_ToFind is NULL, will search for NULL values.
1616  *
1617  * @return true when found and loaded.
1618  * Results restricted to data accessable by Auth.
1619  * Auth <b>MUST BE</b> the owning UPN, a site
1620  * administrator, or a realm administrator to load
1621  * information about a realm or UPN.
1622  */
1623  bool LoadBy_email(UpnDbAuthHandle_t Auth, UpnDB & Db, const char * email_ToFind);
1624 
1625  /**
1626  * Load by this record types unique key.
1627  *
1628  * @note This is an Automatically Generated Sql2Cpp Method.
1629  *
1630  * @param Auth The authentication handle.
1631  *
1632  * @param Db An initialzied UpnDB handle.
1633  *
1634  * @param email_ToFind The value to load by.
1635  *
1636  * @return true when found and loaded.
1637  * Results restricted to data accessable by Auth.
1638  * Auth <b>MUST BE</b> the owning UPN, a site
1639  * administrator, or a realm administrator to load
1640  * information about a realm or UPN.
1641  */
1642  bool LoadBy_email(UpnDbAuthHandle_t Auth, UpnDB & Db, String & email_ToFind);
1643 
1644  /**
1645  * Load by this record types unique key.
1646  *
1647  * @note This is an Automatically Generated Sql2Cpp Method.
1648  *
1649  * @param Auth The authentication handle.
1650  *
1651  * @param Db An initialzied UpnDB handle.
1652  *
1653  * @param email_ToFind The value to load by.
1654  *
1655  * @return true when found and loaded.
1656  * Results restricted to data accessable by Auth.
1657  * Auth <b>MUST BE</b> the owning UPN, a site
1658  * administrator, or a realm administrator to load
1659  * information about a realm or UPN.
1660  */
1661  bool LoadBy_email(UpnDbAuthHandle_t Auth, UpnDB & Db, String & email_ToFind);
1662 
1663  /**
1664  * Load by this record types unique key.
1665  *
1666  * @note This is an Automatically Generated Sql2Cpp Method.
1667  *
1668  * @param Auth The authentication handle.
1669  *
1670  * @param Db An initialzied UpnDB handle.
1671  *
1672  * @param email_ToFind The value to load by.
1673  *
1674  * @return true when found and loaded.
1675  * Results restricted to data accessable by Auth.
1676  * Auth <b>MUST BE</b> the owning UPN, a site
1677  * administrator, or a realm administrator to load
1678  * information about a realm or UPN.
1679  */
1680  bool LoadBy_email(UpnDbAuthHandle_t Auth, UpnDB & Db, std::string & email_ToFind);
1681 
1682 #ifdef USE_QT5
1683  /**
1684  * Load all records that match the value in email.
1685  *
1686  * @note This is an Automatically Generated Sql2Cpp Method.
1687  *
1688  * @param Auth The authentication handle.
1689  *
1690  * @param Db An initialzied UpnDB handle.
1691  *
1692  * @param email_ToFind The value to load by.
1693  *
1694  * @param Results Where the results will be
1695  * stored. This method frees each content of, and
1696  * and calls clear() on Results before processing
1697  * the request.
1698  *
1699  * @return the number of records found.
1700  * Results restricted to data accessable by Auth.
1701  * Auth <b>MUST BE</b> the owning UPN, a site
1702  * administrator, or a realm administrator to load
1703  * information about a realm or UPN.
1704  */
1705  uint64_t LoadAllBy_email(UpnDbAuthHandle_t Auth, UpnDB & Db, QString & email_ToFind, std::list<email_addresses_Table *> & Results);
1706 
1707 #endif
1708  /**
1709  * Load all records that match the value in email.
1710  *
1711  * @note This is an Automatically Generated Sql2Cpp Method.
1712  *
1713  * @param Auth The authentication handle.
1714  *
1715  * @param Db An initialzied UpnDB handle.
1716  *
1717  * @param email_ToFind The value to load by.
1718  * When email_ToFind is NULL, will search for NULL value.
1719  *
1720  * @param Results Where the results will be
1721  * stored. This method frees each content of, and
1722  * and calls clear() on Results before processing
1723  * the request.
1724  *
1725  * @return the number of records found.
1726  * Results restricted to data accessable by Auth.
1727  * Auth <b>MUST BE</b> the owning UPN, a site
1728  * administrator, or a realm administrator to load
1729  * information about a realm or UPN.
1730  */
1731  uint64_t LoadAllBy_email(UpnDbAuthHandle_t Auth, UpnDB & Db, const char * email_ToFind, std::list<email_addresses_Table *> & Results);
1732 
1733  /**
1734  * Load all records that match the value in email.
1735  *
1736  * @note This is an Automatically Generated Sql2Cpp Method.
1737  *
1738  * @param Auth The authentication handle.
1739  *
1740  * @param Db An initialzied UpnDB handle.
1741  *
1742  * @param email_ToFind The value to load by.
1743  * When email_ToFind is NULL, will search for NULL value.
1744  *
1745  * @param Results Where the results will be
1746  * stored. This method frees each content of, and
1747  * and calls clear() on Results before processing
1748  * the request.
1749  *
1750  * @return the number of records found.
1751  * Results restricted to data accessable by Auth.
1752  * Auth <b>MUST BE</b> the owning UPN, a site
1753  * administrator, or a realm administrator to load
1754  * information about a realm or UPN.
1755  */
1756  uint64_t LoadAllBy_email(UpnDbAuthHandle_t Auth, UpnDB & Db, String & email_ToFind, std::list<email_addresses_Table *> & Results);
1757 
1758  /**
1759  * Load all records that match the value in email.
1760  *
1761  * @note This is an Automatically Generated Sql2Cpp Method.
1762  *
1763  * @param Auth The authentication handle.
1764  *
1765  * @param Db An initialzied UpnDB handle.
1766  *
1767  * @param email_ToFind The value to load by.
1768  * When email_ToFind is NULL, will search for NULL value.
1769  *
1770  * @param Results Where the results will be
1771  * stored. This method frees each content of, and
1772  * and calls clear() on Results before processing
1773  * the request.
1774  *
1775  * @return the number of records found.
1776  * Results restricted to data accessable by Auth.
1777  * Auth <b>MUST BE</b> the owning UPN, a site
1778  * administrator, or a realm administrator to load
1779  * information about a realm or UPN.
1780  */
1781  uint64_t LoadAllBy_email(UpnDbAuthHandle_t Auth, UpnDB & Db, std::string & email_ToFind, std::list<email_addresses_Table *> & Results);
1782 
1783 #ifdef USE_QT5
1784  /**
1785  * Load all records that match the value in email.
1786  *
1787  * @note This is an Automatically Generated Sql2Cpp Method.
1788  *
1789  * @param Auth The authentication handle.
1790  *
1791  * @param Db An initialzied UpnDB handle.
1792  *
1793  * @param email_ToFind The value to load by.
1794  * When email_ToFind is NULL, will search for NULL value.
1795  *
1796  * @param Results Where the results will be
1797  * stored. This method frees each content of, and
1798  * and calls clear() on Results before processing
1799  * the request.
1800  *
1801  * @return the number of records found.
1802  * Results restricted to data accessable by Auth.
1803  * Auth <b>MUST BE</b> the owning UPN, a site
1804  * administrator, or a realm administrator to load
1805  * information about a realm or UPN.
1806  */
1807  uint64_t LoadAllBy_email(UpnDbAuthHandle_t Auth, UpnDB & Db, QString email_ToFind, std::list<email_addresses_Table *> & Results);
1808 
1809 #endif
1810 #ifdef USE_QT5
1811 signals:
1812 #endif // USE_QT5
1813 
1814  /**
1815  * this->email changed. (Qt5 signal)
1816  * Not sent during Load or Find...
1817  *
1818  * @param email_addresses_DbTable A pointer to the throwing object.
1819  */
1820  void email_Changed(email_addresses_Table * email_addresses_DbTable);
1821 
1822 
1823 private:
1824 
1825  /**
1826  * The email
1827  * @note This is an Automaticly Generated Value
1828  */
1829  SQLVARCHAR * _email;
1830 
1831 public:
1832 
1833  /*
1834  * --
1835  * -- Column: type_id
1836  * --
1837  */
1838 
1839 #ifdef USE_QT5
1840 public slots:
1841 #else
1842 public:
1843 #endif // USE_QT5
1844 
1845  /**
1846  * Set type_id by foreign key ID value.
1847  * This column is a foreign key into
1848  * <b>data_type.type_id</b>. Call this method.
1849  * to set by KEY value.
1850  *
1851  * @note This is an Automatically Generated Sql2Cpp Method.
1852  *
1853  * @param NewVal The new value.
1854  *
1855  * @throws ErrorCode_e
1856  */
1857  void
1858  Set_type_id(const SQLBIGINT * NewVal);
1859 
1860  /**
1861  * Set type_id by foreign key ID value.
1862  * This column is a foreign key into
1863  * <b>data_type.type_id</b>. Call this method.
1864  * to set by KEY value.
1865  *
1866  * @note This is an Automatically Generated Sql2Cpp Method.
1867  *
1868  * @param NewVal The new value.
1869  *
1870  * @throws ErrorCode_e
1871  */
1872  void
1873  Set_type_id(int64_t NewVal);
1874 
1875  /**
1876  * Set type_id by foreign key ID value.
1877  * This column is a foreign key into
1878  * <b>data_type.type_id</b>. Call this method.
1879  * to set by KEY value.
1880  *
1881  * @note This is an Automatically Generated Sql2Cpp Method.
1882  *
1883  * @param NewVal The new value as a (char*).
1884  * Does a atoll(NewVal) and the results are used.
1885  * When NewVal is NULL, the SQL value will be NULL.
1886  *
1887  * @throws ErrorCode_e
1888  */
1889  void
1890  Set_type_id(const char * NewVal);
1891 
1892  /**
1893  * Set type_id by foreign key ID value.
1894  * This column is a foreign key into
1895  * <b>data_type.type_id</b>. Call this method.
1896  * to set by KEY value.
1897  *
1898  * @note This is an Automatically Generated Sql2Cpp Method.
1899  *
1900  * @param NewVal The new value as a (char*).
1901  * Does a atoll(NewVal) and the results are used.
1902  * When NewVal is NULL, the SQL value will be NULL.
1903  *
1904  * @throws ErrorCode_e
1905  */
1906  void
1907  Set_type_id(const String & NewVal);
1908 
1909  /**
1910  * Set type_id by foreign key ID value.
1911  * This column is a foreign key into
1912  * <b>data_type.type_id</b>. Call this method.
1913  * to set by KEY value.
1914  *
1915  * @note This is an Automatically Generated Sql2Cpp Method.
1916  *
1917  * @param NewVal The new value as a (char*).
1918  * Does a atoll(NewVal) and the results are used.
1919  *
1920  * @throws ErrorCode_e
1921  */
1922  void
1923  Set_type_id(const std::string & NewVal);
1924 
1925 #ifdef USE_QT5
1926  /**
1927  * Set type_id by foreign key ID value.
1928  * This column is a foreign key into
1929  * <b>data_type.type_id</b>. Call this method.
1930  * to set by KEY value.
1931  *
1932  * @note This is an Automatically Generated Sql2Cpp Method.
1933  *
1934  * @param NewVal The new value as a (char*).
1935  * Does a atoll(NewVal) and the results are used.
1936  *
1937  * @throws ErrorCode_e
1938  */
1939  void
1940  Set_type_id(const QStrting & NewVal);
1941 #endif
1942 
1943 public:
1944 
1945  /**
1946  * Get type_id
1947  * This column is a foreign key into
1948  * <b>data_type.type_id</b>. Call this method.
1949  * to get by key ID.
1950  *
1951  * @note This is an Automatically Generated Sql2Cpp Method.
1952  *
1953  * @return The type_id - The foreign key ID.
1954  *
1955  * @throws ErrorCode_e
1956  */
1957  int64_t
1958  Get_type_id() const;
1959 
1960 public:
1961 
1962  /**
1963  * Load all records that match the value in type_id.
1964  *
1965  * @note This is an Automatically Generated Sql2Cpp Method.
1966  *
1967  * @param Auth The authentication handle.
1968  *
1969  * @param Db An initialzied UpnDB handle.
1970  *
1971  * @param type_id_ToFind The value to load by.
1972  *
1973  * @param Results Where the results will be
1974  * stored. This method frees each content of, and
1975  * and calls clear() on Results before processing
1976  * the request.
1977  *
1978  * @return the number of records found.
1979  * Results restricted to data accessable by Auth.
1980  * Auth <b>MUST BE</b> the owning UPN, a site
1981  * administrator, or a realm administrator to load
1982  * information about a realm or UPN.
1983  *
1984  * @throws ErrorCode_e
1985  */
1986  uint32_t LoadAllBy_type_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const SQLBIGINT & type_id_ToFind, std::list<email_addresses_Table *> & Results);
1987 
1988  /**
1989  * Load all records that match the value in type_id.
1990  *
1991  * @note This is an Automatically Generated Sql2Cpp Method.
1992  *
1993  * @param Auth The authentication handle.
1994  *
1995  * @param Db An initialzied UpnDB handle.
1996  *
1997  * @param type_id_ToFind The value to load by.
1998  *
1999  * @param Results Where the results will be
2000  * stored. This method frees each content of, and
2001  * and calls clear() on Results before processing
2002  * the request.
2003  *
2004  * @return the number of records found.
2005  * Results restricted to data accessable by Auth.
2006  * Auth <b>MUST BE</b> the owning UPN, a site
2007  * administrator, or a realm administrator to load
2008  * information about a realm or UPN.
2009  *
2010  * @throws ErrorCode_e
2011  */
2012  uint32_t LoadAllBy_type_id(UpnDbAuthHandle_t Auth, UpnDB & Db, int64_t type_id_ToFind, std::list<email_addresses_Table *> & Results);
2013 
2014  /**
2015  * Load all records that match the value in type_id.
2016  *
2017  * @note This is an Automatically Generated Sql2Cpp Method.
2018  *
2019  * @param Auth The authentication handle.
2020  *
2021  * @param Db An initialzied UpnDB handle.
2022  *
2023  * @param type_id_ToFind The value to load by.
2024  * Does a atoll(type_id_ToFind) and the results are used.
2025  * When type_id_ToFind is NULL, will search for NULL value.
2026  *
2027  * @param Results Where the results will be
2028  * stored. This method frees each content of, and
2029  * and calls clear() on Results before processing
2030  * the request.
2031  *
2032  * @return the number of records found.
2033  * Results restricted to data accessable by Auth.
2034  * Auth <b>MUST BE</b> the owning UPN, a site
2035  * administrator, or a realm administrator to load
2036  * information about a realm or UPN.
2037  *
2038  * @throws ErrorCode_e
2039  */
2040  uint32_t LoadAllBy_type_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const char * type_id_ToFind, std::list<email_addresses_Table *> & Results);
2041 
2042  /**
2043  * Load all records that match the value in type_id.
2044  *
2045  * @note This is an Automatically Generated Sql2Cpp Method.
2046  *
2047  * @param Auth The authentication handle.
2048  *
2049  * @param Db An initialzied UpnDB handle.
2050  *
2051  * @param type_id_ToFind The value to load by.
2052  * Does a atoll(type_id_ToFind) and the results are used.
2053  *
2054  * @param Results Where the results will be
2055  * stored. This method frees each content of, and
2056  * and calls clear() on Results before processing
2057  * the request.
2058  *
2059  * @return the number of records found.
2060  * Results restricted to data accessable by Auth.
2061  * Auth <b>MUST BE</b> the owning UPN, a site
2062  * administrator, or a realm administrator to load
2063  * information about a realm or UPN.
2064  *
2065  * @throws ErrorCode_e
2066  */
2067  uint32_t LoadAllBy_type_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const String & type_id_ToFind, std::list<email_addresses_Table *> & Results);
2068 
2069  /**
2070  * Load all records that match the value in type_id.
2071  *
2072  * @note This is an Automatically Generated Sql2Cpp Method.
2073  *
2074  * @param Auth The authentication handle.
2075  *
2076  * @param Db An initialzied UpnDB handle.
2077  *
2078  * @param type_id_ToFind The value to load by.
2079  * Does a atoll(type_id_ToFind) and the results are used.
2080  *
2081  * @param Results Where the results will be
2082  * stored. This method frees each content of, and
2083  * and calls clear() on Results before processing
2084  * the request.
2085  *
2086  * @return the number of records found.
2087  * Results restricted to data accessable by Auth.
2088  * Auth <b>MUST BE</b> the owning UPN, a site
2089  * administrator, or a realm administrator to load
2090  * information about a realm or UPN.
2091  *
2092  * @throws ErrorCode_e
2093  */
2094  uint32_t LoadAllBy_type_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const std::string & type_id_ToFind, std::list<email_addresses_Table *> & Results);
2095 
2096 #ifdef USE_QT5
2097  /**
2098  * Load all records that match the value in type_id.
2099  *
2100  * @note This is an Automatically Generated Sql2Cpp Method.
2101  *
2102  * @param Auth The authentication handle.
2103  *
2104  * @param Db An initialzied UpnDB handle.
2105  *
2106  * @param type_id_ToFind The value to load by.
2107  * Does a atoll(type_id_ToFind) and the results are used.
2108  *
2109  * @param Results Where the results will be
2110  * stored. This method frees each content of, and
2111  * and calls clear() on Results before processing
2112  * the request.
2113  *
2114  * @return the number of records found.
2115  * Results restricted to data accessable by Auth.
2116  * Auth <b>MUST BE</b> the owning UPN, a site
2117  * administrator, or a realm administrator to load
2118  * information about a realm or UPN.
2119  *
2120  * @throws ErrorCode_e
2121  */
2122  uint32_t LoadAllBy_type_id(UpnDbAuthHandle_t Auth, UpnDB & Db, const QString & type_id_ToFind, std::list<email_addresses_Table *> & Results);
2123 
2124 #endif
2125 #ifdef USE_QT5
2126 signals:
2127 #endif // USE_QT5
2128 
2129  /**
2130  * type_id changed. (Qt5 signal)
2131  * Not sent during Load or Find.
2132  *
2133  * @param email_addresses_DbTable A pointer to the throwing object.
2134  */
2135  void type_id_Changed(email_addresses_Table * email_addresses_DbTable);
2136 
2137 
2138 private:
2139 
2140  /**
2141  * The type_id
2142  * @note This is an Automaticly Generated Value
2143  */
2144  SQLBIGINT * _type_id;
2145 
2146 
2147 public:
2148 
2149  /**
2150  * Update this record in the database.
2151  *
2152  * @note This is an Automatically Generated Sql2Cpp Method.
2153  *
2154  * @param Auth The authentication handle.
2155  *
2156  * @param Db An initialzied UpnDB handle.
2157  *
2158  * @return the number of records updated. It is an error
2159  * to call this method method on an new record.
2160  * If this records does not have a any primary key
2161  * or unique record, then all records that match
2162  * will be updated.
2163  * Results restricted to data accessable by Auth.
2164  * Auth <b>MUST BE</b> the owning UPN, a site
2165  * administrator, or a realm administrator to update
2166  * information about a realm or UPN.
2167  *
2168  * @throws ErrorCode_e
2169  */
2170  virtual uint64_t
2171  Update(UpnDbAuthHandle_t Auth, UpnDB & Db);
2172 
2173  /**
2174  * Add this object as a new record in the database.
2175  *
2176  * @note This is an Automatically Generated Sql2Cpp Method.
2177  *
2178  * @param Auth The authentication handle.
2179  *
2180  * @param Db An initialzied UpnDB handle.
2181  *
2182  * @return true when added.
2183  * Returns false on error.
2184  * On success, any serial or AUTO INCREMENT key
2185  * will be updated in this record.
2186  * Results restricted to data accessable by Auth.
2187  * Auth <b>MUST BE</b> the owning UPN, a site
2188  * administrator, or a realm administrator to add
2189  * information about a realm or UPN.
2190  *
2191  * @throws ErrorCode_e
2192  */
2193  virtual bool
2194  Add(UpnDbAuthHandle_t Auth, UpnDB & Db);
2195 
2196  /**
2197  * Remove this object from the database.
2198  *
2199  * @note This is an Automatically Generated Sql2Cpp Method.
2200  *
2201  * @param Auth The authentication handle.
2202  *
2203  * @param Db An initialzied UpnDB handle.
2204  *
2205  * @return the number of records removed.
2206  * Returns false on error.
2207  * If this records does not have a any primary key
2208  * or unique record, then all records that match
2209  * will be removed.
2210  * Results restricted to data accessable by Auth.
2211  * Auth <b>MUST BE</b> the owning UPN, a site
2212  * administrator, or a realm administrator to remove
2213  * information about a realm or UPN.
2214  *
2215  * @throws ErrorCode_e
2216  */
2217  virtual uint64_t
2218  Remove(UpnDbAuthHandle_t Auth, UpnDB & Db);
2219 
2220 #ifdef USE_QT5
2221 signals:
2222 #endif // USE_QT5
2223 
2224  /**
2225  * Something in this object changed. (Qt5 signal)
2226  * Not sent during Load or Find...
2227  *
2228  * @note This is an Automatically Generated Sql2Cpp Method.
2229  *
2230  * @param email_addresses_DbTable A pointer to the throwing object.
2231  *
2232  * @throws ErrorCode_e
2233  */
2234  void email_addresses_Table_Changed(email_addresses_Table * email_addresses_DbTable);
2235 
2236 }; // END email_addresses_Table
2237 
2238 
2239 } } }
2240 //
2241 // End of Namespace SoftwareAndServices::Library::UPN
2242 //
2243 
void * UpnDbAuthHandle_t
Definition: UpnDB.h:83
DNSDB * Db
#define int64_t
Definition: SaSNameser.h:67