e238b3b015d099514b1b4ec55ecf3dc1ac6f963b
[utils] / system / general / src / test / java / org / wamblee / system / adapters / X7.java
1 /*
2  * Copyright 2008 the original author or authors.
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.wamblee.system.adapters;
17
18 /**
19  * DOCUMENT ME!
20  *
21  * @author $author$
22  * @version $Revision$
23   */
24 public class X7 {
25     /**
26      * DOCUMENT ME!
27      */
28     private String host;
29
30     /**
31      * DOCUMENT ME!
32      */
33     private Integer port;
34
35     /**
36      * DOCUMENT ME!
37      */
38     private Boolean flag;
39
40     /**
41      * Creates a new X7 object.
42      *
43      * @param aBoolean DOCUMENT ME!
44      */
45     public X7(Boolean aBoolean) {
46         flag = aBoolean;
47     }
48
49     /**
50      * DOCUMENT ME!
51      *
52      * @return DOCUMENT ME!
53      */
54     public Boolean getBoolean() {
55         return flag;
56     }
57
58     /**
59      * DOCUMENT ME!
60      *
61      * @return DOCUMENT ME!
62      */
63     public Integer getPort() {
64         return port;
65     }
66
67     /**
68      * DOCUMENT ME!
69      *
70      * @param aPort DOCUMENT ME!
71      */
72     public void setPort(Integer aPort) {
73         port = aPort;
74     }
75
76     /**
77      * DOCUMENT ME!
78      *
79      * @return DOCUMENT ME!
80      */
81     public String getHost() {
82         return host;
83     }
84
85     /**
86      * DOCUMENT ME!
87      *
88      * @param aHost DOCUMENT ME!
89      */
90     public void setHost(String aHost) {
91         host = aHost;
92     }
93 }