Coverage report

  %line %branch
org.apache.turbine.services.schedule.map.JobEntryMapBuilder
0% 
0% 

 1  
 package org.apache.turbine.services.schedule.map;
 2  
 
 3  
 import java.util.Date;
 4  
 import java.math.BigDecimal;
 5  
 
 6  
 import org.apache.torque.Torque;
 7  
 import org.apache.torque.TorqueException;
 8  
 import org.apache.torque.map.MapBuilder;
 9  
 import org.apache.torque.map.DatabaseMap;
 10  
 import org.apache.torque.map.TableMap;
 11  
 
 12  
 /**
 13  
   *  This class was autogenerated by Torque on:
 14  
   *
 15  
   * [Mon Oct 03 14:24:57 CEST 2005]
 16  
   *
 17  
   */
 18  0
 public class JobEntryMapBuilder implements MapBuilder
 19  
 {
 20  
     /**
 21  
      * The name of this class
 22  
      */
 23  
     public static final String CLASS_NAME =
 24  
         "org.apache.turbine.services.schedule.map.JobEntryMapBuilder";
 25  
 
 26  
 
 27  
     /**
 28  
      * The database map.
 29  
      */
 30  0
     private DatabaseMap dbMap = null;
 31  
 
 32  
     /**
 33  
      * Tells us if this DatabaseMapBuilder is built so that we
 34  
      * don't have to re-build it every time.
 35  
      *
 36  
      * @return true if this DatabaseMapBuilder is built
 37  
      */
 38  
     public boolean isBuilt()
 39  
     {
 40  0
         return (dbMap != null);
 41  
     }
 42  
 
 43  
     /**
 44  
      * Gets the databasemap this map builder built.
 45  
      *
 46  
      * @return the databasemap
 47  
      */
 48  
     public DatabaseMap getDatabaseMap()
 49  
     {
 50  0
         return this.dbMap;
 51  
     }
 52  
 
 53  
     /**
 54  
      * The doBuild() method builds the DatabaseMap
 55  
      *
 56  
      * @throws TorqueException
 57  
      */
 58  
     public void doBuild() throws TorqueException
 59  
     {
 60  0
         dbMap = Torque.getDatabaseMap("default");
 61  
 
 62  0
         dbMap.addTable("TURBINE_SCHEDULED_JOB");
 63  0
         TableMap tMap = dbMap.getTable("TURBINE_SCHEDULED_JOB");
 64  
 
 65  0
         tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
 66  
 
 67  0
         tMap.setPrimaryKeyMethodInfo(tMap.getName());
 68  
 
 69  0
               tMap.addPrimaryKey("TURBINE_SCHEDULED_JOB.JOB_ID", new Integer(0));
 70  0
                     tMap.addColumn("TURBINE_SCHEDULED_JOB.SECOND", new Integer(0));
 71  0
                     tMap.addColumn("TURBINE_SCHEDULED_JOB.MINUTE", new Integer(0));
 72  0
                     tMap.addColumn("TURBINE_SCHEDULED_JOB.HOUR", new Integer(0));
 73  0
                     tMap.addColumn("TURBINE_SCHEDULED_JOB.WEEK_DAY", new Integer(0));
 74  0
                     tMap.addColumn("TURBINE_SCHEDULED_JOB.DAY_OF_MONTH", new Integer(0));
 75  0
                     tMap.addColumn("TURBINE_SCHEDULED_JOB.TASK", "");
 76  0
                     tMap.addColumn("TURBINE_SCHEDULED_JOB.EMAIL", "");
 77  0
                     tMap.addColumn("TURBINE_SCHEDULED_JOB.PROPERTY", new Object());
 78  0
           }
 79  
 }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.