add test case
[vfc/nfvo/driver/ems.git] / ems / boco / src / main / java / org / onap / vfc / nfvo / emsdriver / commons / model / CollectVo.java
1 /**
2  * Copyright 2017 BOCO Corporation.  CMCC Technologies Co., Ltd
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.onap.vfc.nfvo.emsdriver.commons.model;
17
18 /**
19  * @author boco
20  *
21  */
22 public class CollectVo {
23         
24         private String emsName;
25         
26         private String type;
27         
28         private String crontab;
29         
30         private String IP;
31         
32         private String port;
33         
34         private String user;
35         
36         private String password;
37         
38         private String remotepath;
39         
40         private String match;
41         
42         private String passive;
43         
44         private String ftptype;
45         
46         private String granularity;
47         
48         private boolean iscollect = false;
49         
50         private String read_timeout;
51         
52         
53
54         /**
55          * @return the iscollect
56          */
57         public boolean isIscollect() {
58                 return iscollect;
59         }
60
61         /**
62          * @param iscollect the iscollect to set
63          */
64         public void setIscollect(boolean iscollect) {
65                 this.iscollect = iscollect;
66         }
67
68         /**
69          * @return the type
70          */
71         public String getType() {
72                 return type;
73         }
74
75         /**
76          * @param type the type to set
77          */
78         public void setType(String type) {
79                 this.type = type;
80         }
81
82         /**
83          * @return the crontab
84          */
85         public String getCrontab() {
86                 return crontab;
87         }
88
89         /**
90          * @param crontab the crontab to set
91          */
92         public void setCrontab(String crontab) {
93                 this.crontab = crontab;
94         }
95
96         /**
97          * @return the iP
98          */
99         public String getIP() {
100                 return IP;
101         }
102
103         /**
104          * @param ip the iP to set
105          */
106         public void setIP(String ip) {
107                 IP = ip;
108         }
109
110         /**
111          * @return the port
112          */
113         public String getPort() {
114                 return port;
115         }
116
117         /**
118          * @param port the port to set
119          */
120         public void setPort(String port) {
121                 this.port = port;
122         }
123
124         /**
125          * @return the user
126          */
127         public String getUser() {
128                 return user;
129         }
130
131         /**
132          * @param user the user to set
133          */
134         public void setUser(String user) {
135                 this.user = user;
136         }
137
138         /**
139          * @return the password
140          */
141         public String getPassword() {
142                 return password;
143         }
144
145         /**
146          * @param password the password to set
147          */
148         public void setPassword(String password) {
149                 this.password = password;
150         }
151
152         /**
153          * @return the remotepath
154          */
155         public String getRemotepath() {
156                 return remotepath;
157         }
158
159         /**
160          * @param remotepath the remotepath to set
161          */
162         public void setRemotepath(String remotepath) {
163                 this.remotepath = remotepath;
164         }
165
166         /**
167          * @return the match
168          */
169         public String getMatch() {
170                 return match;
171         }
172
173         /**
174          * @param match the match to set
175          */
176         public void setMatch(String match) {
177                 this.match = match;
178         }
179
180         /**
181          * @return the passive
182          */
183         public String getPassive() {
184                 return passive;
185         }
186
187         /**
188          * @param passive the passive to set
189          */
190         public void setPassive(String passive) {
191                 this.passive = passive;
192         }
193
194         /**
195          * @return the ftptype
196          */
197         public String getFtptype() {
198                 return ftptype;
199         }
200
201         /**
202          * @param ftptype the ftptype to set
203          */
204         public void setFtptype(String ftptype) {
205                 this.ftptype = ftptype;
206         }
207
208         /**
209          * @return the granularity
210          */
211         public String getGranularity() {
212                 return granularity;
213         }
214
215         /**
216          * @param granularity the granularity to set
217          */
218         public void setGranularity(String granularity) {
219                 this.granularity = granularity;
220         }
221         
222         
223         @Override
224         public String toString() {
225                 return "CollectVo [emsName=" + emsName + ", type=" + type
226                                 + ", crontab=" + crontab + ", IP=" + IP + ", port=" + port
227                                 + ", user=" + user + ", password=" + password + ", remotepath="
228                                 + remotepath + ", match=" + match + ", passive=" + passive
229                                 + ", ftptype=" + ftptype + ", granularity=" + granularity
230                                 + ", iscollect=" + iscollect + ", read_timeout=" + read_timeout
231                                 + "]";
232         }
233
234         /**
235          * @return the emsName
236          */
237         public String getEmsName() {
238                 return emsName;
239         }
240
241         /**
242          * @param emsName the emsName to set
243          */
244         public void setEmsName(String emsName) {
245                 this.emsName = emsName;
246         }
247
248         /**
249          * @return the read_timeout
250          */
251         public String getRead_timeout() {
252                 return read_timeout;
253         }
254
255         /**
256          * @param read_timeout the read_timeout to set
257          */
258         public void setRead_timeout(String read_timeout) {
259                 this.read_timeout = read_timeout;
260         }
261
262
263 }