Show
Ignore:
Timestamp:
07/19/09 19:24:43 (3 years ago)
Author:
martijn
Message:

Fixed style and javadoc issues

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/corelib/src/org/bridgedb/rdb/SimpleGdbImpl2.java

    r105 r106  
    103103                        "id = ? AND code = ?" 
    104104                ); 
    105         private final LazyPst pstGeneSymbol = new LazyPst( 
    106                         "SELECT attrvalue FROM attribute WHERE " + 
    107                         "attrname = 'Symbol' AND id = ? " + 
    108                         "AND code = ?" 
    109                 ); 
    110105        private final LazyPst pstBackpage = new LazyPst( 
    111106                        "SELECT backpageText FROM datanode " + 
     
    165160         * get Backpage info. In Schema v2, this was not stored in  
    166161         * the attribute table but as a separate column, so this is treated 
    167          * as a special case. 
     162         * as a special case. This method is called by <pre>getAttribute (ref, "Backpage")</pre> 
     163         * @param ref the entity to get backpage info for. 
     164         * @return Backpage info as string 
     165         * @throws IDMapperException when database is unavailable 
    168166         */ 
    169167        private String getBpInfo(Xref ref) throws IDMapperException  
     
    245243        /** 
    246244         * Opens a connection to the Gene Database located in the given file. 
     245         * A new instance of this class is created automatically. 
    247246         * @param dbName The file containing the Gene Database.  
    248          * @param connector An instance of DBConnector, to determine the type of database (e.g. DataDerby). 
    249          * A new instance of this class is created automatically. 
     247         * @param newDbConnector An instance of DBConnector, to determine the type of database (e.g. DataDerby). 
     248         * @param props PROP_RECREATE if you want to create a new database (possibly overwriting an existing one)  
     249         *      or PROP_NONE if you want to connect read-only 
     250         * @throws IDMapperException when the database could not be created or connected to 
    250251         */ 
    251252        public SimpleGdbImpl2(String dbName, DBConnector newDbConnector, int props) throws IDMapperException 
     
    539540        /** 
    540541         * @return a list of data sources present in this database.  
     542           @throws IDMapperException when the database is unavailable 
    541543         */ 
    542544        private Set<DataSource> getDataSources() throws IDMapperException