Revision 669
Added by Matt Jones over 23 years ago
AccessionNumber.java | ||
---|---|---|
10 | 10 |
* '$Author$' |
11 | 11 |
* '$Date$' |
12 | 12 |
* '$Revision$' |
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or modify |
|
15 |
* it under the terms of the GNU General Public License as published by |
|
16 |
* the Free Software Foundation; either version 2 of the License, or |
|
17 |
* (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
13 | 27 |
*/ |
14 | 28 |
|
15 | 29 |
package edu.ucsb.nceas.metacat; |
... | ... | |
201 | 215 |
} |
202 | 216 |
|
203 | 217 |
} |
204 |
|
|
205 |
/** |
|
206 |
* '$Log$ |
|
207 |
* 'Revision 1.16 2000/12/06 17:59:03 berkley |
|
208 |
* 'made replication on insert or update us. Also made a method in AccessionNumber public so that you can tell if an accession number has already been used.e place be |
|
209 |
* ' |
|
210 |
* 'Revision 1.15 2000/11/30 22:41:32 bojilova |
|
211 |
* 'change the generation of Accession# in the form of <sidecode>.<createdate> |
|
212 |
* ' |
|
213 |
* 'Revision 1.14 2000/09/28 18:05:46 bojilova |
|
214 |
* 'Changed to prevent the insertion if the provided Accession# is in use as Dan suggested. |
|
215 |
* ' |
|
216 |
* 'Revision 1.13 2000/09/20 20:15:58 bojilova |
|
217 |
* 'change Assession# generation to use the same db connection |
|
218 |
* ' |
|
219 |
* 'Revision 1.12 2000/08/30 18:19:41 bojilova |
|
220 |
* 'cleared static methods in AccessionNumber classes for fixing bug found |
|
221 |
* 'when multiple requests to the servlet at a time. |
|
222 |
* ' |
|
223 |
* 'Revision 1.11 2000/08/14 20:53:33 jones |
|
224 |
* 'Added "release" keyword to all metacat source files so that the release |
|
225 |
* 'number will be evident in software distributions. |
|
226 |
* ' |
|
227 |
* 'Revision 1.10 2000/06/27 04:31:07 jones |
|
228 |
* 'Fixed bugs associated with the new UPDATE and DELETE functions of |
|
229 |
* 'DBWriter. There were problematic interactions between some static |
|
230 |
* 'variables used in DBEntityResolver and the way in which the |
|
231 |
* 'Servlet objects are re-used across multiple client invocations. |
|
232 |
* ' |
|
233 |
* 'Generally cleaned up error reporting. Now all errors and success |
|
234 |
* 'results are reported as XML documents from MetaCatServlet. Need |
|
235 |
* 'to make the command line tools do the same. |
|
236 |
* ' |
|
237 |
* 'Revision 1.9 2000/06/26 10:35:04 jones |
|
238 |
* 'Merged in substantial changes to DBWriter and associated classes and to |
|
239 |
* 'the MetaCatServlet in order to accomodate the new UPDATE and DELETE |
|
240 |
* 'functions. The command line tools and the parameters for the |
|
241 |
* 'servlet have changed substantially. |
|
242 |
* ' |
|
243 |
* 'Revision 1.8.2.5 2000/06/26 08:38:01 jones |
|
244 |
* 'Added DELETE feature to DBWriter. Now takes an action "DELETE" and a |
|
245 |
* 'docid and will move the record from the xml_documents table to the |
|
246 |
* 'xml_revisions table. |
|
247 |
* 'Modified option parsing to support option symbols on command line. |
|
248 |
* ' |
|
249 |
* 'Revision 1.8.2.4 2000/06/25 23:11:40 jones |
|
250 |
* 'Documentation update |
|
251 |
* ' |
|
252 |
* 'Revision 1.8.2.3 2000/06/25 23:08:31 jones |
|
253 |
* 'Minor change to excpetion handling |
|
254 |
* '' |
|
255 |
*/ |
Also available in: Unified diff
Added license terms to source code files, and cleaned up some javadoc
documentation in a few places.