Project

General

Profile

« Previous | Next » 

Revision 147

Added by bojilova over 24 years ago

no message

View differences:

src/edu/ucsb/nceas/metacat/AccessionNumber.java
14 14
import java.net.*;
15 15
import java.sql.*;
16 16

  
17
/**
18
 * A class that gets Accession Number, check for uniqueness and register it
19
 * into db connection
20
 */
17 21
public class AccessionNumber  {
18 22
    
19 23
    String globalName;
......
21 25
    String accNumber;
22 26
    Connection conn;
23 27
    
24
    /** Split the accession number in 2 parts by ":" character */
28
    /** Split the Accession Number in 2 parts by ":" character 
29
     *
30
     * @param conn the JDBC Connection to which all information is written
31
     * @param accNumber the Accession Number provided for processing
32
     *
33
     */
25 34
    public AccessionNumber (Connection conn, String accNumber) {
26 35
        
27 36
        this.conn = conn;

Also available in: Unified diff