View Javadoc

1   /*   Copyright (C) 2004 Finalist IT Group
2    *
3    *   This file is part of JAG - the Java J2EE Application Generator
4    *
5    *   JAG is free software; you can redistribute it and/or modify
6    *   it under the terms of the GNU General Public License as published by
7    *   the Free Software Foundation; either version 2 of the License, or
8    *   (at your option) any later version.
9    *   JAG is distributed in the hope that it will be useful,
10   *   but WITHOUT ANY WARRANTY; without even the implied warranty of
11   *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   *   GNU General Public License for more details.
13   *   You should have received a copy of the GNU General Public License
14   *   along with JAG; if not, write to the Free Software
15   *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16   */
17  
18  package com.finalist.util.sequencegenerator;
19  
20  /*** Static class for values for the SequenceGenerator.<p>
21   */
22  public class SequenceGeneratorConstants {
23     // Constants for SequenceGenerator
24     /*** Datasource name of the datasource holding the sequence table (mandatory, no default) */
25     public static final String DATASOURCENAME = "DATASOURCENAME";
26     /*** Default blocksize for new sequences stored as String (default: 10) */
27     public static final String BLOCKSIZE = "BLOCKSIZE";
28     /*** Name of the sequence table (default: SEQUENCETABLE) */
29     public static final String TABLENAME = "TABLENAME";
30     /*** Name of the column where the sequence names are stored (default: SEQUENCE_NAME) */
31     public static final String NAMECOLUMN = "NAMECOLUMN";
32     /*** Name of the column where the sequence values are stored (default: SEQUENCE_VALUE) */
33     public static final String VALUECOLUMN = "VALUECOLUMN";
34     /*** Name of the column where the sequence blocksizes are stored (default: SEQUENCE_BLOCKSIZE) */
35     public static final String BLOCKSIZECOLUMN = "BLOCKSIZECOLUMN";
36     /*** Boolean value (stored as String) for indication to check for synonyms first (default: false) */
37     public static final String USEPUBLICSYNONYMS = "USEPUBLICSYNONYMS";
38     /*** Name of a alternate table for the sequences. Has higher preference to TABLENAME (default: none) */
39     public static final String CUSTOMTABLENAME = "CUSTOMTABLENAME";
40  
41  }