db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/generator/src/java/org/apache/torque/task TorqueDataDumpTask.java TorqueDataModelTask.java
Date Tue, 28 Oct 2003 09:23:08 GMT
mpoeschl    2003/10/28 01:23:08

  Modified:    src/generator/src/java/org/apache/torque/task
                        TorqueDataDumpTask.java TorqueDataModelTask.java
  Log:
  javadocs
  
  Revision  Changes    Path
  1.4       +9 -23     db-torque/src/generator/src/java/org/apache/torque/task/TorqueDataDumpTask.java
  
  Index: TorqueDataDumpTask.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/task/TorqueDataDumpTask.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TorqueDataDumpTask.java	25 Jul 2003 16:47:42 -0000	1.3
  +++ TorqueDataDumpTask.java	28 Oct 2003 09:23:08 -0000	1.4
  @@ -3,7 +3,7 @@
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -76,39 +76,25 @@
    */
   public class TorqueDataDumpTask extends TorqueDataModelTask
   {
  -    /**
  -     * Database name.
  -     */
  +    /** Database name. */
       private String databaseName;
   
  -    /**
  -     * Database URL used for JDBC connection.
  -     */
  +    /** Database URL used for JDBC connection. */
       private String databaseUrl;
   
  -    /**
  -     * Database driver used for JDBC connection.
  -     */
  +    /** Database driver used for JDBC connection. */
       private String databaseDriver;
   
  -    /**
  -     * Database user used for JDBC connection.
  -     */
  +    /** Database user used for JDBC connection. */
       private String databaseUser;
   
  -    /**
  -     * Database password used for JDBC connection.
  -     */
  +    /** Database password used for JDBC connection. */
       private String databasePassword;
   
  -    /**
  -     * The database connection used to retrieve the data to dump.
  -     */
  +    /** The database connection used to retrieve the data to dump. */
       private Connection conn;
   
  -    /**
  -     * The statement used to acquire the data to dump.
  -     */
  +    /** The statement used to acquire the data to dump. */
       private Statement stmt;
   
       /**
  
  
  
  1.6       +12 -28    db-torque/src/generator/src/java/org/apache/torque/task/TorqueDataModelTask.java
  
  Index: TorqueDataModelTask.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/task/TorqueDataModelTask.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TorqueDataModelTask.java	13 Oct 2003 22:59:33 -0000	1.5
  +++ TorqueDataModelTask.java	28 Oct 2003 09:23:08 -0000	1.6
  @@ -88,32 +88,24 @@
   public class TorqueDataModelTask extends TexenTask
   {
       /**
  -     *  XML that describes the database model, this is transformed
  -     *  into the application model object.
  +     * XML that describes the database model, this is transformed
  +     * into the application model object.
        */
       protected String xmlFile;
   
  -    /**
  -     * Fileset of XML schemas which represent our data models.
  -     */
  +    /** Fileset of XML schemas which represent our data models. */
       protected List filesets = new ArrayList();
   
  -    /**
  -     * Data models that we collect. One from each XML schema file.
  -     */
  +    /** Data models that we collect. One from each XML schema file. */
       protected List dataModels = new ArrayList();
   
  -    /**
  -     * Velocity context which exposes our objects
  -     * in the templates.
  -     */
  +    /** Velocity context which exposes our objects in the templates. */
       protected Context context;
   
       /**
        * Map of data model name to database name.
  -     * Should probably stick to the convention
  -     * of them being the same but I know right now
  -     * in a lot of cases they won't be.
  +     * Should probably stick to the convention of them being the same but 
  +     * I know right now in a lot of cases they won't be.
        */
       protected Hashtable dataModelDbMap;
   
  @@ -136,22 +128,15 @@
   
       /**
        * The path to properties file containing db idiosyncrasies is
  -     * constructed by appending the "getTargetDatabase()/db.props
  -     * to this path.
  +     * constructed by appending the "getTargetDatabase()/db.props to this path.
  +     * @deprecated replaced by the platform package
        */
       private String basePathToDbProps;
   
  -    /**
  -     * The target database(s) we are generating SQL
  -     * for. Right now we can only deal with a single
  -     * target, but we will support multiple targets
  -     * soon.
  -     */
  +    /** The target database(s) we are generating SQL for. */
       private String targetDatabase;
   
  -    /**
  -     * Target Java package to place the generated files in.
  -     */
  +    /** Target Java package to place the generated files in. */
       private String targetPackage;
   
   
  @@ -177,8 +162,7 @@
       }
   
       /**
  -     * Return the data models that have been
  -     * processed.
  +     * Return the data models that have been processed.
        *
        * @return List data models
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message