View Javadoc

1   /*
2    * ModeShape (http://www.modeshape.org)
3    * See the COPYRIGHT.txt file distributed with this work for information
4    * regarding copyright ownership.  Some portions may be licensed
5    * to Red Hat, Inc. under one or more contributor license agreements.
6   * See the AUTHORS.txt file in the distribution for a full listing of 
7   * individual contributors.
8    *
9    * ModeShape is free software. Unless otherwise indicated, all code in ModeShape
10   * is licensed to you under the terms of the GNU Lesser General Public License as
11   * published by the Free Software Foundation; either version 2.1 of
12   * the License, or (at your option) any later version.
13   *
14   * ModeShape is distributed in the hope that it will be useful,
15   * but WITHOUT ANY WARRANTY; without even the implied warranty of
16   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17   * Lesser General Public License for more details.
18   *
19   * You should have received a copy of the GNU Lesser General Public
20   * License along with this software; if not, write to the Free
21   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
23   */
24  package org.modeshape.jdbc;
25  
26  import org.modeshape.jdbc.util.I18n;
27  
28  /**
29   * The internationalized string constants for the <code>org.modeshape.jdbc*</code> packages.
30   */
31  public final class JdbcI18n {
32      
33      public static I18n i18nClassInterface;
34      public static I18n i18nClassNotPublic;
35      public static I18n i18nFieldFinal;
36      public static I18n i18nFieldInvalidType;
37      public static I18n i18nFieldNotPublic;
38      public static I18n i18nFieldNotStatic;
39      public static I18n i18nLocalizationFileNotFound;
40      public static I18n i18nLocalizationProblems;
41      public static I18n i18nPropertyDuplicate;
42      public static I18n i18nPropertyMissing;
43      public static I18n i18nPropertyUnused;
44      public static I18n i18nRequiredToSuppliedParameterMismatch;
45  
46      public static I18n driverName;
47      public static I18n driverVendor;
48      public static I18n driverVendorUrl;
49      public static I18n driverVersion;
50      
51      public static I18n driverErrorRegistering;
52      
53      /*
54       * ConnectionInfo related text info
55       */
56      public static I18n usernamePropertyDescription;
57      public static I18n passwordPropertyDescription;
58      public static I18n workspaceNamePropertyDescription;
59      public static I18n repositoryNamePropertyDescription;
60      public static I18n urlPropertyDescription;
61      public static I18n urlPropertyName;
62      public static I18n usernamePropertyName;
63      public static I18n passwordPropertyName;
64      public static I18n workspaceNamePropertyName;
65      public static I18n repositoryNamePropertyName;
66  
67  
68      public static I18n invalidUrl;
69      public static I18n invalidUrlPrefix;
70      public static I18n failedToReadPropertiesFromManifest;
71      public static I18n unableToFindNamedRepository;
72      public static I18n noRepositoryNamesFound;
73      public static I18n argumentMayNotBeNegative;
74      public static I18n argumentMayNotBeNull;
75      public static I18n requiredToSuppliedParameterMismatch;
76  
77      public static I18n connectionIsClosed;
78      public static I18n statementIsClosed;
79      public static I18n resultSetIsClosed;
80      public static I18n resultSetIsForwardOnly;
81      public static I18n noSuchColumn;
82      public static I18n updatesNotSupported;
83      public static I18n timeoutMayNotBeNegative;
84      public static I18n classDoesNotImplementInterface;
85      public static I18n invalidClientInfo;
86      public static I18n invalidArgument;
87      public static I18n invalidColumnIndex;
88      public static I18n currentRowNotSet;
89      public static I18n noJcrTypeMapped;    
90      public static I18n unableToGetNodeTypes;
91      public static I18n noNodeTypesReturned;
92      public static I18n unableToGetNodeType;
93      public static I18n noSuchNodeType;
94  
95      
96      public static I18n repositoryNameInUse;
97      
98      /*
99       * JNDI connection option related text info
100      */
101     public static I18n objectInJndiMustBeRepositoryOrRepositories;
102     public static I18n unableToGetJndiContext;
103     public static I18n urlMustContainJndiNameOfRepositoryOrRepositoriesObject;
104     public static I18n unableToFindObjectInJndi;
105     public static I18n objectInJndiIsRepositories;
106 
107     /**
108      * HTTP connection option related text info
109      */
110 
111     
112     /*
113      * File connection option relatd text info
114      */
115     public static I18n configurationFileNotSpecified;
116     
117     
118     
119     static {
120         try {
121             I18n.initialize(JdbcI18n.class);
122         } catch (final Exception err) {
123             System.err.println(err);
124         }
125     }
126 }