KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jmanage > core > config > MetaApplicationConfig


1 /**
2  * Copyright 2004-2005 jManage.org
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 package org.jmanage.core.config;
17
18 /**
19  *
20  * date: Sep 15, 2004
21  * @author Rakesh Kalra
22  */

23 public class MetaApplicationConfig {
24
25     private boolean displayHost;
26     private boolean displayPort;
27     private boolean displayURL;
28     private boolean displayUsername;
29     private boolean displayPassword;
30
31     /* the ApplicationConfig class for this module */
32     private String JavaDoc configClass;
33
34     public MetaApplicationConfig(boolean host, boolean port, boolean url,
35                                  boolean username, boolean password,
36                                  String JavaDoc configClass){
37         this.displayHost = host;
38         this.displayPort = port;
39         this.displayURL = url;
40         this.displayUsername = username;
41         this.displayPassword = password;
42         this.configClass = configClass;
43     }
44
45     public boolean isDisplayHost() {
46         return displayHost;
47     }
48
49     public boolean isDisplayPort() {
50         return displayPort;
51     }
52
53     public boolean isDisplayURL() {
54         return displayURL;
55     }
56
57     public boolean isDisplayUsername() {
58         return displayUsername;
59     }
60
61     public boolean isDisplayPassword() {
62         return displayPassword;
63     }
64
65     public String JavaDoc getApplicationConfigClassName(){
66         return configClass;
67     }
68 }
69
Popular Tags