Coverage Report - org.paneris.jammyjoes.model.generated.ManufacturerTableBase
 
Classes in this File Line Coverage Branch Coverage Complexity
ManufacturerTableBase
0%
0/46
N/A
1
ManufacturerTableBase$1
0%
0/16
N/A
1
ManufacturerTableBase$10
0%
0/17
N/A
1
ManufacturerTableBase$11
0%
0/15
N/A
1
ManufacturerTableBase$2
0%
0/18
N/A
1
ManufacturerTableBase$3
0%
0/17
N/A
1
ManufacturerTableBase$4
0%
0/17
N/A
1
ManufacturerTableBase$5
0%
0/16
N/A
1
ManufacturerTableBase$6
0%
0/15
N/A
1
ManufacturerTableBase$7
0%
0/16
N/A
1
ManufacturerTableBase$8
0%
0/16
N/A
1
ManufacturerTableBase$9
0%
0/17
N/A
1
 
 1  
 // Do not edit this file!  It was generated by Melati POEM's DSD preprocessor.
 2  
 
 3  
 package org.paneris.jammyjoes.model.generated;
 4  
 
 5  
 import org.melati.poem.AccessPoemException;
 6  
 import org.melati.poem.BooleanPoemType;
 7  
 import org.melati.poem.Column;
 8  
 import org.melati.poem.Database;
 9  
 import org.melati.poem.DefinitionSource;
 10  
 import org.melati.poem.DisplayLevel;
 11  
 import org.melati.poem.DoublePoemType;
 12  
 import org.melati.poem.Field;
 13  
 import org.melati.poem.JdbcPersistent;
 14  
 import org.melati.poem.Persistent;
 15  
 import org.melati.poem.PoemException;
 16  
 import org.melati.poem.Searchability;
 17  
 import org.melati.poem.StringPoemType;
 18  
 import org.melati.poem.TroidPoemType;
 19  
 import org.melati.poem.ValidationPoemException;
 20  
 import org.paneris.jammyjoes.model.JammyjoesDatabaseTables;
 21  
 import org.paneris.jammyjoes.model.JammyjoesTable;
 22  
 import org.paneris.jammyjoes.model.Manufacturer;
 23  
 
 24  
 
 25  
 /**
 26  
  * Melati POEM generated base class for 
 27  
 <code>Table</code> <code>Manufacturer</code>.
 28  
  *
 29  
  * @generator org.melati.poem.prepro.TableDef#generateTableBaseJava 
 30  
  */
 31  
 
 32  
 public class ManufacturerTableBase extends JammyjoesTable {
 33  
 
 34  0
   private Column col_id = null;
 35  0
   private Column col_name = null;
 36  0
   private Column col_address = null;
 37  0
   private Column col_profile = null;
 38  0
   private Column col_contact = null;
 39  0
   private Column col_minimumorder = null;
 40  0
   private Column col_email = null;
 41  0
   private Column col_website = null;
 42  0
   private Column col_comment = null;
 43  0
   private Column col_deleted = null;
 44  0
   private Column col_tel = null;
 45  
 
 46  
  /**
 47  
   * Constructor. 
 48  
   * 
 49  
   * @generator org.melati.poem.prepro.TableDef#generateTableBaseJava 
 50  
   * @param database          the POEM database we are using
 51  
   * @param name              the name of this <code>Table</code>
 52  
   * @param definitionSource  which definition is being used
 53  
   * @throws PoemException    if anything goes wrong
 54  
   */
 55  
 
 56  
   public ManufacturerTableBase(
 57  
       Database database, String name,
 58  
       DefinitionSource definitionSource) throws PoemException {
 59  0
     super(database, name, definitionSource);
 60  0
   }
 61  
 
 62  
 
 63  
  /**
 64  
   * Get the database tables.
 65  
   *
 66  
   * @generator org.melati.poem.prepro.TableDef#generateTableBaseJava 
 67  
   * @return the database tables
 68  
   */
 69  
   public JammyjoesDatabaseTables getJammyjoesDatabaseTables() {
 70  0
     return (JammyjoesDatabaseTables)getDatabase();
 71  
   }
 72  
 
 73  
   public void init() throws PoemException {
 74  0
     super.init();
 75  0
     defineColumn(col_id =
 76  
         new Column(this, "id",
 77  
                    new TroidPoemType(),
 78  
                    DefinitionSource.dsd) { 
 79  
           public Object getCooked(Persistent g)
 80  
               throws AccessPoemException, PoemException {
 81  0
             return ((Manufacturer)g).getId();
 82  
           }
 83  
 
 84  
           public void setCooked(Persistent g, Object cooked)
 85  
               throws AccessPoemException, ValidationPoemException {
 86  0
             ((Manufacturer)g).setId((Integer)cooked);
 87  0
           }
 88  
 
 89  
           public Field asField(Persistent g) {
 90  0
             return ((Manufacturer)g).getIdField();
 91  
           }
 92  
 
 93  
           protected boolean defaultUserEditable() {
 94  0
             return false;
 95  
           }
 96  
 
 97  
           protected boolean defaultUserCreateable() {
 98  0
             return false;
 99  
           }
 100  
 
 101  
           protected DisplayLevel defaultDisplayLevel() {
 102  0
             return DisplayLevel.record;
 103  
           }
 104  
 
 105  
           protected Searchability defaultSearchability() {
 106  0
             return Searchability.no;
 107  
           }
 108  
 
 109  
           protected int defaultDisplayOrder() {
 110  0
             return 0;
 111  
           }
 112  
 
 113  
           public Object getRaw_unsafe(Persistent g)
 114  
               throws AccessPoemException {
 115  0
             return ((Manufacturer)g).getId_unsafe();
 116  
           }
 117  
 
 118  
           public void setRaw_unsafe(Persistent g, Object raw)
 119  
               throws AccessPoemException {
 120  0
             ((Manufacturer)g).setId_unsafe((Integer)raw);
 121  0
           }
 122  
 
 123  
           public Object getRaw(Persistent g)
 124  
               throws AccessPoemException {
 125  0
             return ((Manufacturer)g).getId();
 126  
           }
 127  
 
 128  0
           public void setRaw(Persistent g, Object raw)
 129  
               throws AccessPoemException {
 130  0
             ((Manufacturer)g).setId((Integer)raw);
 131  0
           }
 132  
         });
 133  
 
 134  0
     defineColumn(col_name =
 135  
         new Column(this, "name",
 136  
                    new StringPoemType(false, -1),
 137  
                    DefinitionSource.dsd) { 
 138  
           public Object getCooked(Persistent g)
 139  
               throws AccessPoemException, PoemException {
 140  0
             return ((Manufacturer)g).getName();
 141  
           }
 142  
 
 143  
           public void setCooked(Persistent g, Object cooked)
 144  
               throws AccessPoemException, ValidationPoemException {
 145  0
             ((Manufacturer)g).setName((String)cooked);
 146  0
           }
 147  
 
 148  
           public Field asField(Persistent g) {
 149  0
             return ((Manufacturer)g).getNameField();
 150  
           }
 151  
 
 152  
           protected DisplayLevel defaultDisplayLevel() {
 153  0
             return DisplayLevel.primary;
 154  
           }
 155  
 
 156  
           protected Searchability defaultSearchability() {
 157  0
             return Searchability.yes;
 158  
           }
 159  
 
 160  
           protected Integer defaultDisplayOrderPriority() {
 161  0
             return new Integer(1);
 162  
           }
 163  
 
 164  
           protected String defaultDisplayName() {
 165  0
             return "Name";
 166  
           }
 167  
 
 168  
           protected int defaultDisplayOrder() {
 169  0
             return 1;
 170  
           }
 171  
 
 172  
           protected boolean defaultUnique() {
 173  0
             return true;
 174  
           }
 175  
 
 176  
           protected int defaultWidth() {
 177  0
             return 20;
 178  
           }
 179  
 
 180  
           public Object getRaw_unsafe(Persistent g)
 181  
               throws AccessPoemException {
 182  0
             return ((Manufacturer)g).getName_unsafe();
 183  
           }
 184  
 
 185  
           public void setRaw_unsafe(Persistent g, Object raw)
 186  
               throws AccessPoemException {
 187  0
             ((Manufacturer)g).setName_unsafe((String)raw);
 188  0
           }
 189  
 
 190  
           public Object getRaw(Persistent g)
 191  
               throws AccessPoemException {
 192  0
             return ((Manufacturer)g).getName();
 193  
           }
 194  
 
 195  0
           public void setRaw(Persistent g, Object raw)
 196  
               throws AccessPoemException {
 197  0
             ((Manufacturer)g).setName((String)raw);
 198  0
           }
 199  
         });
 200  
 
 201  0
     defineColumn(col_address =
 202  
         new Column(this, "address",
 203  
                    new StringPoemType(true, -1),
 204  
                    DefinitionSource.dsd) { 
 205  
           public Object getCooked(Persistent g)
 206  
               throws AccessPoemException, PoemException {
 207  0
             return ((Manufacturer)g).getAddress();
 208  
           }
 209  
 
 210  
           public void setCooked(Persistent g, Object cooked)
 211  
               throws AccessPoemException, ValidationPoemException {
 212  0
             ((Manufacturer)g).setAddress((String)cooked);
 213  0
           }
 214  
 
 215  
           public Field asField(Persistent g) {
 216  0
             return ((Manufacturer)g).getAddressField();
 217  
           }
 218  
 
 219  
           protected DisplayLevel defaultDisplayLevel() {
 220  0
             return DisplayLevel.record;
 221  
           }
 222  
 
 223  
           protected Searchability defaultSearchability() {
 224  0
             return Searchability.no;
 225  
           }
 226  
 
 227  
           protected String defaultDisplayName() {
 228  0
             return "Address";
 229  
           }
 230  
 
 231  
           protected int defaultDisplayOrder() {
 232  0
             return 2;
 233  
           }
 234  
 
 235  
           protected int defaultWidth() {
 236  0
             return 20;
 237  
           }
 238  
 
 239  
           protected int defaultHeight() {
 240  0
             return 5;
 241  
           }
 242  
 
 243  
           public Object getRaw_unsafe(Persistent g)
 244  
               throws AccessPoemException {
 245  0
             return ((Manufacturer)g).getAddress_unsafe();
 246  
           }
 247  
 
 248  
           public void setRaw_unsafe(Persistent g, Object raw)
 249  
               throws AccessPoemException {
 250  0
             ((Manufacturer)g).setAddress_unsafe((String)raw);
 251  0
           }
 252  
 
 253  
           public Object getRaw(Persistent g)
 254  
               throws AccessPoemException {
 255  0
             return ((Manufacturer)g).getAddress();
 256  
           }
 257  
 
 258  0
           public void setRaw(Persistent g, Object raw)
 259  
               throws AccessPoemException {
 260  0
             ((Manufacturer)g).setAddress((String)raw);
 261  0
           }
 262  
         });
 263  
 
 264  0
     defineColumn(col_profile =
 265  
         new Column(this, "profile",
 266  
                    new StringPoemType(true, -1),
 267  
                    DefinitionSource.dsd) { 
 268  
           public Object getCooked(Persistent g)
 269  
               throws AccessPoemException, PoemException {
 270  0
             return ((Manufacturer)g).getProfile();
 271  
           }
 272  
 
 273  
           public void setCooked(Persistent g, Object cooked)
 274  
               throws AccessPoemException, ValidationPoemException {
 275  0
             ((Manufacturer)g).setProfile((String)cooked);
 276  0
           }
 277  
 
 278  
           public Field asField(Persistent g) {
 279  0
             return ((Manufacturer)g).getProfileField();
 280  
           }
 281  
 
 282  
           protected DisplayLevel defaultDisplayLevel() {
 283  0
             return DisplayLevel.record;
 284  
           }
 285  
 
 286  
           protected Searchability defaultSearchability() {
 287  0
             return Searchability.no;
 288  
           }
 289  
 
 290  
           protected String defaultDisplayName() {
 291  0
             return "Profile";
 292  
           }
 293  
 
 294  
           protected int defaultDisplayOrder() {
 295  0
             return 3;
 296  
           }
 297  
 
 298  
           protected int defaultWidth() {
 299  0
             return 20;
 300  
           }
 301  
 
 302  
           protected int defaultHeight() {
 303  0
             return 5;
 304  
           }
 305  
 
 306  
           public Object getRaw_unsafe(Persistent g)
 307  
               throws AccessPoemException {
 308  0
             return ((Manufacturer)g).getProfile_unsafe();
 309  
           }
 310  
 
 311  
           public void setRaw_unsafe(Persistent g, Object raw)
 312  
               throws AccessPoemException {
 313  0
             ((Manufacturer)g).setProfile_unsafe((String)raw);
 314  0
           }
 315  
 
 316  
           public Object getRaw(Persistent g)
 317  
               throws AccessPoemException {
 318  0
             return ((Manufacturer)g).getProfile();
 319  
           }
 320  
 
 321  0
           public void setRaw(Persistent g, Object raw)
 322  
               throws AccessPoemException {
 323  0
             ((Manufacturer)g).setProfile((String)raw);
 324  0
           }
 325  
         });
 326  
 
 327  0
     defineColumn(col_contact =
 328  
         new Column(this, "contact",
 329  
                    new StringPoemType(true, -1),
 330  
                    DefinitionSource.dsd) { 
 331  
           public Object getCooked(Persistent g)
 332  
               throws AccessPoemException, PoemException {
 333  0
             return ((Manufacturer)g).getContact();
 334  
           }
 335  
 
 336  
           public void setCooked(Persistent g, Object cooked)
 337  
               throws AccessPoemException, ValidationPoemException {
 338  0
             ((Manufacturer)g).setContact((String)cooked);
 339  0
           }
 340  
 
 341  
           public Field asField(Persistent g) {
 342  0
             return ((Manufacturer)g).getContactField();
 343  
           }
 344  
 
 345  
           protected DisplayLevel defaultDisplayLevel() {
 346  0
             return DisplayLevel.summary;
 347  
           }
 348  
 
 349  
           protected Searchability defaultSearchability() {
 350  0
             return Searchability.yes;
 351  
           }
 352  
 
 353  
           protected String defaultDisplayName() {
 354  0
             return "Contact Name";
 355  
           }
 356  
 
 357  
           protected int defaultDisplayOrder() {
 358  0
             return 4;
 359  
           }
 360  
 
 361  
           protected int defaultWidth() {
 362  0
             return 20;
 363  
           }
 364  
 
 365  
           public Object getRaw_unsafe(Persistent g)
 366  
               throws AccessPoemException {
 367  0
             return ((Manufacturer)g).getContact_unsafe();
 368  
           }
 369  
 
 370  
           public void setRaw_unsafe(Persistent g, Object raw)
 371  
               throws AccessPoemException {
 372  0
             ((Manufacturer)g).setContact_unsafe((String)raw);
 373  0
           }
 374  
 
 375  
           public Object getRaw(Persistent g)
 376  
               throws AccessPoemException {
 377  0
             return ((Manufacturer)g).getContact();
 378  
           }
 379  
 
 380  0
           public void setRaw(Persistent g, Object raw)
 381  
               throws AccessPoemException {
 382  0
             ((Manufacturer)g).setContact((String)raw);
 383  0
           }
 384  
         });
 385  
 
 386  0
     defineColumn(col_minimumorder =
 387  
         new Column(this, "minimumorder",
 388  
                    new DoublePoemType(true),
 389  
                    DefinitionSource.dsd) { 
 390  
           public Object getCooked(Persistent g)
 391  
               throws AccessPoemException, PoemException {
 392  0
             return ((Manufacturer)g).getMinimumorder();
 393  
           }
 394  
 
 395  
           public void setCooked(Persistent g, Object cooked)
 396  
               throws AccessPoemException, ValidationPoemException {
 397  0
             ((Manufacturer)g).setMinimumorder((Double)cooked);
 398  0
           }
 399  
 
 400  
           public Field asField(Persistent g) {
 401  0
             return ((Manufacturer)g).getMinimumorderField();
 402  
           }
 403  
 
 404  
           protected DisplayLevel defaultDisplayLevel() {
 405  0
             return DisplayLevel.record;
 406  
           }
 407  
 
 408  
           protected Searchability defaultSearchability() {
 409  0
             return Searchability.no;
 410  
           }
 411  
 
 412  
           protected String defaultDisplayName() {
 413  0
             return "Minimum Order";
 414  
           }
 415  
 
 416  
           protected int defaultDisplayOrder() {
 417  0
             return 5;
 418  
           }
 419  
 
 420  
           public Object getRaw_unsafe(Persistent g)
 421  
               throws AccessPoemException {
 422  0
             return ((Manufacturer)g).getMinimumorder_unsafe();
 423  
           }
 424  
 
 425  
           public void setRaw_unsafe(Persistent g, Object raw)
 426  
               throws AccessPoemException {
 427  0
             ((Manufacturer)g).setMinimumorder_unsafe((Double)raw);
 428  0
           }
 429  
 
 430  
           public Object getRaw(Persistent g)
 431  
               throws AccessPoemException {
 432  0
             return ((Manufacturer)g).getMinimumorder();
 433  
           }
 434  
 
 435  0
           public void setRaw(Persistent g, Object raw)
 436  
               throws AccessPoemException {
 437  0
             ((Manufacturer)g).setMinimumorder((Double)raw);
 438  0
           }
 439  
         });
 440  
 
 441  0
     defineColumn(col_email =
 442  
         new Column(this, "email",
 443  
                    new StringPoemType(false, -1),
 444  
                    DefinitionSource.dsd) { 
 445  
           public Object getCooked(Persistent g)
 446  
               throws AccessPoemException, PoemException {
 447  0
             return ((Manufacturer)g).getEmail();
 448  
           }
 449  
 
 450  
           public void setCooked(Persistent g, Object cooked)
 451  
               throws AccessPoemException, ValidationPoemException {
 452  0
             ((Manufacturer)g).setEmail((String)cooked);
 453  0
           }
 454  
 
 455  
           public Field asField(Persistent g) {
 456  0
             return ((Manufacturer)g).getEmailField();
 457  
           }
 458  
 
 459  
           protected DisplayLevel defaultDisplayLevel() {
 460  0
             return DisplayLevel.record;
 461  
           }
 462  
 
 463  
           protected Searchability defaultSearchability() {
 464  0
             return Searchability.no;
 465  
           }
 466  
 
 467  
           protected int defaultDisplayOrder() {
 468  0
             return 6;
 469  
           }
 470  
 
 471  
           protected String defaultDescription() {
 472  0
             return "email";
 473  
           }
 474  
 
 475  
           protected int defaultWidth() {
 476  0
             return 40;
 477  
           }
 478  
 
 479  
           public Object getRaw_unsafe(Persistent g)
 480  
               throws AccessPoemException {
 481  0
             return ((Manufacturer)g).getEmail_unsafe();
 482  
           }
 483  
 
 484  
           public void setRaw_unsafe(Persistent g, Object raw)
 485  
               throws AccessPoemException {
 486  0
             ((Manufacturer)g).setEmail_unsafe((String)raw);
 487  0
           }
 488  
 
 489  
           public Object getRaw(Persistent g)
 490  
               throws AccessPoemException {
 491  0
             return ((Manufacturer)g).getEmail();
 492  
           }
 493  
 
 494  0
           public void setRaw(Persistent g, Object raw)
 495  
               throws AccessPoemException {
 496  0
             ((Manufacturer)g).setEmail((String)raw);
 497  0
           }
 498  
         });
 499  
 
 500  0
     defineColumn(col_website =
 501  
         new Column(this, "website",
 502  
                    new StringPoemType(true, -1),
 503  
                    DefinitionSource.dsd) { 
 504  
           public Object getCooked(Persistent g)
 505  
               throws AccessPoemException, PoemException {
 506  0
             return ((Manufacturer)g).getWebsite();
 507  
           }
 508  
 
 509  
           public void setCooked(Persistent g, Object cooked)
 510  
               throws AccessPoemException, ValidationPoemException {
 511  0
             ((Manufacturer)g).setWebsite((String)cooked);
 512  0
           }
 513  
 
 514  
           public Field asField(Persistent g) {
 515  0
             return ((Manufacturer)g).getWebsiteField();
 516  
           }
 517  
 
 518  
           protected DisplayLevel defaultDisplayLevel() {
 519  0
             return DisplayLevel.record;
 520  
           }
 521  
 
 522  
           protected Searchability defaultSearchability() {
 523  0
             return Searchability.no;
 524  
           }
 525  
 
 526  
           protected int defaultDisplayOrder() {
 527  0
             return 7;
 528  
           }
 529  
 
 530  
           protected String defaultDescription() {
 531  0
             return "website";
 532  
           }
 533  
 
 534  
           protected int defaultWidth() {
 535  0
             return 40;
 536  
           }
 537  
 
 538  
           public Object getRaw_unsafe(Persistent g)
 539  
               throws AccessPoemException {
 540  0
             return ((Manufacturer)g).getWebsite_unsafe();
 541  
           }
 542  
 
 543  
           public void setRaw_unsafe(Persistent g, Object raw)
 544  
               throws AccessPoemException {
 545  0
             ((Manufacturer)g).setWebsite_unsafe((String)raw);
 546  0
           }
 547  
 
 548  
           public Object getRaw(Persistent g)
 549  
               throws AccessPoemException {
 550  0
             return ((Manufacturer)g).getWebsite();
 551  
           }
 552  
 
 553  0
           public void setRaw(Persistent g, Object raw)
 554  
               throws AccessPoemException {
 555  0
             ((Manufacturer)g).setWebsite((String)raw);
 556  0
           }
 557  
         });
 558  
 
 559  0
     defineColumn(col_comment =
 560  
         new Column(this, "comment",
 561  
                    new StringPoemType(true, -1),
 562  
                    DefinitionSource.dsd) { 
 563  
           public Object getCooked(Persistent g)
 564  
               throws AccessPoemException, PoemException {
 565  0
             return ((Manufacturer)g).getComment();
 566  
           }
 567  
 
 568  
           public void setCooked(Persistent g, Object cooked)
 569  
               throws AccessPoemException, ValidationPoemException {
 570  0
             ((Manufacturer)g).setComment((String)cooked);
 571  0
           }
 572  
 
 573  
           public Field asField(Persistent g) {
 574  0
             return ((Manufacturer)g).getCommentField();
 575  
           }
 576  
 
 577  
           protected DisplayLevel defaultDisplayLevel() {
 578  0
             return DisplayLevel.record;
 579  
           }
 580  
 
 581  
           protected Searchability defaultSearchability() {
 582  0
             return Searchability.no;
 583  
           }
 584  
 
 585  
           protected int defaultDisplayOrder() {
 586  0
             return 8;
 587  
           }
 588  
 
 589  
           protected String defaultDescription() {
 590  0
             return "Comments";
 591  
           }
 592  
 
 593  
           protected int defaultWidth() {
 594  0
             return 40;
 595  
           }
 596  
 
 597  
           protected int defaultHeight() {
 598  0
             return 10;
 599  
           }
 600  
 
 601  
           public Object getRaw_unsafe(Persistent g)
 602  
               throws AccessPoemException {
 603  0
             return ((Manufacturer)g).getComment_unsafe();
 604  
           }
 605  
 
 606  
           public void setRaw_unsafe(Persistent g, Object raw)
 607  
               throws AccessPoemException {
 608  0
             ((Manufacturer)g).setComment_unsafe((String)raw);
 609  0
           }
 610  
 
 611  
           public Object getRaw(Persistent g)
 612  
               throws AccessPoemException {
 613  0
             return ((Manufacturer)g).getComment();
 614  
           }
 615  
 
 616  0
           public void setRaw(Persistent g, Object raw)
 617  
               throws AccessPoemException {
 618  0
             ((Manufacturer)g).setComment((String)raw);
 619  0
           }
 620  
         });
 621  
 
 622  0
     defineColumn(col_deleted =
 623  
         new Column(this, "deleted",
 624  
                    new BooleanPoemType(false),
 625  
                    DefinitionSource.dsd) { 
 626  
           public Object getCooked(Persistent g)
 627  
               throws AccessPoemException, PoemException {
 628  0
             return ((Manufacturer)g).getDeleted();
 629  
           }
 630  
 
 631  
           public void setCooked(Persistent g, Object cooked)
 632  
               throws AccessPoemException, ValidationPoemException {
 633  0
             ((Manufacturer)g).setDeleted((Boolean)cooked);
 634  0
           }
 635  
 
 636  
           public Field asField(Persistent g) {
 637  0
             return ((Manufacturer)g).getDeletedField();
 638  
           }
 639  
 
 640  
           protected DisplayLevel defaultDisplayLevel() {
 641  0
             return DisplayLevel.record;
 642  
           }
 643  
 
 644  
           protected Searchability defaultSearchability() {
 645  0
             return Searchability.no;
 646  
           }
 647  
 
 648  
           protected Integer defaultDisplayOrderPriority() {
 649  0
             return new Integer(0);
 650  
           }
 651  
 
 652  
           protected String defaultDisplayName() {
 653  0
             return "Deleted?";
 654  
           }
 655  
 
 656  
           protected int defaultDisplayOrder() {
 657  0
             return 9;
 658  
           }
 659  
 
 660  
           protected String defaultDescription() {
 661  0
             return "Check this box if you no longer deal with this supplier";
 662  
           }
 663  
 
 664  
           public Object getRaw_unsafe(Persistent g)
 665  
               throws AccessPoemException {
 666  0
             return ((Manufacturer)g).getDeleted_unsafe();
 667  
           }
 668  
 
 669  
           public void setRaw_unsafe(Persistent g, Object raw)
 670  
               throws AccessPoemException {
 671  0
             ((Manufacturer)g).setDeleted_unsafe((Boolean)raw);
 672  0
           }
 673  
 
 674  
           public Object getRaw(Persistent g)
 675  
               throws AccessPoemException {
 676  0
             return ((Manufacturer)g).getDeleted();
 677  
           }
 678  
 
 679  0
           public void setRaw(Persistent g, Object raw)
 680  
               throws AccessPoemException {
 681  0
             ((Manufacturer)g).setDeleted((Boolean)raw);
 682  0
           }
 683  
         });
 684  
 
 685  0
     defineColumn(col_tel =
 686  
         new Column(this, "tel",
 687  
                    new StringPoemType(true, -1),
 688  
                    DefinitionSource.dsd) { 
 689  
           public Object getCooked(Persistent g)
 690  
               throws AccessPoemException, PoemException {
 691  0
             return ((Manufacturer)g).getTel();
 692  
           }
 693  
 
 694  
           public void setCooked(Persistent g, Object cooked)
 695  
               throws AccessPoemException, ValidationPoemException {
 696  0
             ((Manufacturer)g).setTel((String)cooked);
 697  0
           }
 698  
 
 699  
           public Field asField(Persistent g) {
 700  0
             return ((Manufacturer)g).getTelField();
 701  
           }
 702  
 
 703  
           protected DisplayLevel defaultDisplayLevel() {
 704  0
             return DisplayLevel.record;
 705  
           }
 706  
 
 707  
           protected String defaultDisplayName() {
 708  0
             return "Telephone";
 709  
           }
 710  
 
 711  
           protected int defaultDisplayOrder() {
 712  0
             return 10;
 713  
           }
 714  
 
 715  
           protected String defaultDescription() {
 716  0
             return "Telephone number";
 717  
           }
 718  
 
 719  
           public Object getRaw_unsafe(Persistent g)
 720  
               throws AccessPoemException {
 721  0
             return ((Manufacturer)g).getTel_unsafe();
 722  
           }
 723  
 
 724  
           public void setRaw_unsafe(Persistent g, Object raw)
 725  
               throws AccessPoemException {
 726  0
             ((Manufacturer)g).setTel_unsafe((String)raw);
 727  0
           }
 728  
 
 729  
           public Object getRaw(Persistent g)
 730  
               throws AccessPoemException {
 731  0
             return ((Manufacturer)g).getTel();
 732  
           }
 733  
 
 734  0
           public void setRaw(Persistent g, Object raw)
 735  
               throws AccessPoemException {
 736  0
             ((Manufacturer)g).setTel((String)raw);
 737  0
           }
 738  
         });
 739  0
   }
 740  
 
 741  
 
 742  
  /**
 743  
   * Retrieves the <code>Id</code> <code>Column</code> for this 
 744  
   * <code>Manufacturer</code> <code>Table</code>.
 745  
   * 
 746  
   * @generator org.melati.poem.prepro.FieldDef#generateColAccessor 
 747  
   * @return the id <code>Column</code>
 748  
   */
 749  
   public final Column getIdColumn() {
 750  0
     return col_id;
 751  
   }
 752  
 
 753  
 
 754  
  /**
 755  
   * Retrieves the <code>Name</code> <code>Column</code> for this 
 756  
   * <code>Manufacturer</code> <code>Table</code>.
 757  
   * 
 758  
   * @generator org.melati.poem.prepro.FieldDef#generateColAccessor 
 759  
   * @return the name <code>Column</code>
 760  
   */
 761  
   public final Column getNameColumn() {
 762  0
     return col_name;
 763  
   }
 764  
 
 765  
 
 766  
  /**
 767  
   * Retrieves the <code>Address</code> <code>Column</code> for this 
 768  
   * <code>Manufacturer</code> <code>Table</code>.
 769  
   * 
 770  
   * @generator org.melati.poem.prepro.FieldDef#generateColAccessor 
 771  
   * @return the address <code>Column</code>
 772  
   */
 773  
   public final Column getAddressColumn() {
 774  0
     return col_address;
 775  
   }
 776  
 
 777  
 
 778  
  /**
 779  
   * Retrieves the <code>Profile</code> <code>Column</code> for this 
 780  
   * <code>Manufacturer</code> <code>Table</code>.
 781  
   * 
 782  
   * @generator org.melati.poem.prepro.FieldDef#generateColAccessor 
 783  
   * @return the profile <code>Column</code>
 784  
   */
 785  
   public final Column getProfileColumn() {
 786  0
     return col_profile;
 787  
   }
 788  
 
 789  
 
 790  
  /**
 791  
   * Retrieves the <code>Contact</code> <code>Column</code> for this 
 792  
   * <code>Manufacturer</code> <code>Table</code>.
 793  
   * 
 794  
   * @generator org.melati.poem.prepro.FieldDef#generateColAccessor 
 795  
   * @return the contact <code>Column</code>
 796  
   */
 797  
   public final Column getContactColumn() {
 798  0
     return col_contact;
 799  
   }
 800  
 
 801  
 
 802  
  /**
 803  
   * Retrieves the <code>Minimumorder</code> <code>Column</code> for this 
 804  
   * <code>Manufacturer</code> <code>Table</code>.
 805  
   * 
 806  
   * @generator org.melati.poem.prepro.FieldDef#generateColAccessor 
 807  
   * @return the minimumorder <code>Column</code>
 808  
   */
 809  
   public final Column getMinimumorderColumn() {
 810  0
     return col_minimumorder;
 811  
   }
 812  
 
 813  
 
 814  
  /**
 815  
   * Retrieves the <code>Email</code> <code>Column</code> for this 
 816  
   * <code>Manufacturer</code> <code>Table</code>.
 817  
   * 
 818  
   * @generator org.melati.poem.prepro.FieldDef#generateColAccessor 
 819  
   * @return the email <code>Column</code>
 820  
   */
 821  
   public final Column getEmailColumn() {
 822  0
     return col_email;
 823  
   }
 824  
 
 825  
 
 826  
  /**
 827  
   * Retrieves the <code>Website</code> <code>Column</code> for this 
 828  
   * <code>Manufacturer</code> <code>Table</code>.
 829  
   * 
 830  
   * @generator org.melati.poem.prepro.FieldDef#generateColAccessor 
 831  
   * @return the website <code>Column</code>
 832  
   */
 833  
   public final Column getWebsiteColumn() {
 834  0
     return col_website;
 835  
   }
 836  
 
 837  
 
 838  
  /**
 839  
   * Retrieves the <code>Comment</code> <code>Column</code> for this 
 840  
   * <code>Manufacturer</code> <code>Table</code>.
 841  
   * 
 842  
   * @generator org.melati.poem.prepro.FieldDef#generateColAccessor 
 843  
   * @return the comment <code>Column</code>
 844  
   */
 845  
   public final Column getCommentColumn() {
 846  0
     return col_comment;
 847  
   }
 848  
 
 849  
 
 850  
  /**
 851  
   * Retrieves the <code>Deleted</code> <code>Column</code> for this 
 852  
   * <code>Manufacturer</code> <code>Table</code>.
 853  
   * 
 854  
   * @generator org.melati.poem.prepro.FieldDef#generateColAccessor 
 855  
   * @return the deleted <code>Column</code>
 856  
   */
 857  
   public final Column getDeletedColumn() {
 858  0
     return col_deleted;
 859  
   }
 860  
 
 861  
 
 862  
  /**
 863  
   * Retrieves the <code>Tel</code> <code>Column</code> for this 
 864  
   * <code>Manufacturer</code> <code>Table</code>.
 865  
   * 
 866  
   * @generator org.melati.poem.prepro.FieldDef#generateColAccessor 
 867  
   * @return the tel <code>Column</code>
 868  
   */
 869  
   public final Column getTelColumn() {
 870  0
     return col_tel;
 871  
   }
 872  
 
 873  
 
 874  
  /**
 875  
   * Retrieve the <code>Manufacturer</code> as a <code>Manufacturer</code>.
 876  
   *
 877  
   * @generator org.melati.poem.prepro.TableDef#generateTableBaseJava 
 878  
   * @param troid a Table Row Oject ID
 879  
   * @return the <code>Persistent</code> identified by the <code>troid</code>
 880  
   */
 881  
   public Manufacturer getManufacturerObject(Integer troid) {
 882  0
     return (Manufacturer)getObject(troid);
 883  
   }
 884  
 
 885  
 
 886  
  /**
 887  
   * Retrieve the <code>Manufacturer</code> 
 888  
   * as a <code>Manufacturer</code>.
 889  
   *
 890  
   * @generator org.melati.poem.prepro.TableDef#generateTableBaseJava 
 891  
   * @param troid a Table Row Object ID
 892  
   * @return the <code>Persistent</code> identified   */
 893  
   public Manufacturer getManufacturerObject(int troid) {
 894  0
     return (Manufacturer)getObject(troid);
 895  
   }
 896  
 
 897  
   protected JdbcPersistent _newPersistent() {
 898  0
     return new Manufacturer();
 899  
   }
 900  
   protected String defaultDisplayName() {
 901  0
     return "Manufacturer";
 902  
   }
 903  
 
 904  
   protected String defaultDescription() {
 905  0
     return "Manufacturer";
 906  
   }
 907  
 
 908  
   protected boolean defaultRememberAllTroids() {
 909  0
     return true;
 910  
   }
 911  
 
 912  
   protected String defaultCategory() {
 913  0
     return "Data";
 914  
   }
 915  
 
 916  
   protected int defaultDisplayOrder() {
 917  0
     return 30;
 918  
   }
 919  
 }
 920