01: /*
02: * File : $Source: /usr/local/cvs/alkacon/com.alkacon.opencms.registration/src/com/alkacon/opencms/registration/Messages.java,v $
03: * Date : $Date: 2008-02-19 13:22:30 $
04: * Version: $Revision: 1.1 $
05: *
06: * This file is part of the Alkacon OpenCms Add-On Module Package
07: *
08: * Copyright (c) 2007 Alkacon Software GmbH (http://www.alkacon.com)
09: *
10: * The Alkacon OpenCms Add-On Module Package is free software:
11: * you can redistribute it and/or modify
12: * it under the terms of the GNU General Public License as published by
13: * the Free Software Foundation, either version 3 of the License, or
14: * (at your option) any later version.
15: *
16: * The Alkacon OpenCms Add-On Module Package is distributed
17: * in the hope that it will be useful,
18: * but WITHOUT ANY WARRANTY; without even the implied warranty of
19: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20: * GNU General Public License for more details.
21: *
22: * You should have received a copy of the GNU General Public License
23: * along with the Alkacon OpenCms Add-On Module Package.
24: * If not, see http://www.gnu.org/licenses/.
25: *
26: * For further information about Alkacon Software GmbH, please see the
27: * company website: http://www.alkacon.com.
28: *
29: * For further information about OpenCms, please see the
30: * project website: http://www.opencms.org.
31: */
32:
33: package com.alkacon.opencms.registration;
34:
35: import org.opencms.i18n.A_CmsMessageBundle;
36: import org.opencms.i18n.I_CmsMessageBundle;
37:
38: /**
39: * Convenience class to access the localized messages of this OpenCms package.<p>
40: *
41: * @author Michael Moossen
42: *
43: * @version $Revision: 1.1 $
44: *
45: * @version $Revision: 1.1 $
46: *
47: * @since 7.0.4
48: */
49: public final class Messages extends A_CmsMessageBundle {
50:
51: /** Message constant for key in the resource bundle. */
52: public static final String ERR_GROUP_DOESNOT_EXIST_1 = "ERR_GROUP_DOESNOT_EXIST_1";
53:
54: /** Message constant for key in the resource bundle. */
55: public static final String ERR_MANDATORY_FIELDS_MISSING_1 = "ERR_MANDATORY_FIELDS_MISSING_1";
56:
57: /** Message constant for key in the resource bundle. */
58: public static final String ERR_ORGUNIT_DOESNOT_EXIST_1 = "ERR_ORGUNIT_DOESNOT_EXIST_1";
59:
60: /** Message constant for key in the resource bundle. */
61: public static final String GUI_USER_DESCRIPTION_0 = "GUI_USER_DESCRIPTION_0";
62:
63: /** Name of the used resource bundle. */
64: private static final String BUNDLE_NAME = "com.alkacon.opencms.registration.messages";
65:
66: /** Static instance member. */
67: private static final I_CmsMessageBundle INSTANCE = new Messages();
68:
69: /**
70: * Hides the public constructor for this utility class.<p>
71: */
72: private Messages() {
73:
74: // hide the constructor
75: }
76:
77: /**
78: * Returns an instance of this localized message accessor.<p>
79: *
80: * @return an instance of this localized message accessor
81: */
82: public static I_CmsMessageBundle get() {
83:
84: return INSTANCE;
85: }
86:
87: /**
88: * Returns the bundle name for this OpenCms package.<p>
89: *
90: * @return the bundle name for this OpenCms package
91: */
92: public String getBundleName() {
93:
94: return BUNDLE_NAME;
95: }
96: }
|