01: /**
02: * Copyright 2004-2005 jManage.org
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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: */package org.jmanage.core.config;
16:
17: /**
18: *
19: * date: Sep 15, 2004
20: * @author Rakesh Kalra
21: */
22: public class MetaApplicationConfig {
23:
24: private boolean displayHost;
25: private boolean displayPort;
26: private boolean displayURL;
27: private boolean displayUsername;
28: private boolean displayPassword;
29:
30: /* the ApplicationConfig class for this module */
31: private String configClass;
32:
33: public MetaApplicationConfig(boolean host, boolean port,
34: boolean url, boolean username, boolean password,
35: String configClass) {
36: this .displayHost = host;
37: this .displayPort = port;
38: this .displayURL = url;
39: this .displayUsername = username;
40: this .displayPassword = password;
41: this .configClass = configClass;
42: }
43:
44: public boolean isDisplayHost() {
45: return displayHost;
46: }
47:
48: public boolean isDisplayPort() {
49: return displayPort;
50: }
51:
52: public boolean isDisplayURL() {
53: return displayURL;
54: }
55:
56: public boolean isDisplayUsername() {
57: return displayUsername;
58: }
59:
60: public boolean isDisplayPassword() {
61: return displayPassword;
62: }
63:
64: public String getApplicationConfigClassName() {
65: return configClass;
66: }
67: }
|