View Javadoc
1   /*
2    * Copyright 2006 Edward Kuns.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5    * in compliance with the License. You may obtain a copy of the License at
6    *
7    * http://www.apache.org/licenses/LICENSE-2.0
8    *
9    * Unless required by applicable law or agreed to in writing, software distributed under the License
10   * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11   * or implied. See the License for the specific language governing permissions and limitations under
12   * the License.
13   *
14   * $Id: $
15   */
16  package org.exolab.castor.builder;
17  
18  /**
19   * Defines contants used throughout source generation.
20   * 
21   * @author ekuns
22   * @version $Revision: 0000 $ $Date: $
23   */
24  public interface SourceGeneratorConstants {
25  
26    /** Enumerations are placed into this special package relative to the generated source. */
27    String TYPES_PACKAGE = "types";
28  
29    // FIXME Use these strings in places like org.exolab.castor.builder.types.XSListJ2
30    /**
31     * Represents a java.util.Vector instance.
32     */
33    String FIELD_INFO_VECTOR = "vector";
34    /**
35     * Represents a java.util.ArrayList instance.
36     */
37    String FIELD_INFO_ARRAY_LIST = "arraylist";
38    /**
39     * Represents a ODMG collection type instance.
40     */
41    String FIELD_INFO_ODMG = "odmg";
42    /**
43     * Represents a java.util.Collection instance.
44     */
45    String FIELD_INFO_COLLECTION = "collection";
46    /**
47     * Represents a java.util.Set instance.
48     */
49    String FIELD_INFO_SET = "set";
50    /**
51     * Represents a java.util.SortedSet instance.
52     */
53    String FIELD_INFO_SORTED_SET = "sortedset";
54  }