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