[Update] change Api desgin and modify function & data structure naming issue.
[platform/upstream/iotivity.git] / service / easy-setup / mediator / richsdk / android / EasySetupCore / src / main / java / org / iotivity / service / easysetup / mediator / EnrolleeConf.java
1 /**
2  * ***************************************************************
3  *
4  * Copyright 2016 Samsung Electronics All Rights Reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  * ****************************************************************
19  */
20
21 package org.iotivity.service.easysetup.mediator;
22
23 import org.iotivity.service.easysetup.mediator.enums.WIFI_FREQ;
24 import org.iotivity.service.easysetup.mediator.enums.WIFI_MODE;
25
26 import java.util.ArrayList;
27
28 public class EnrolleeConf
29 {
30     private final DeviceConfig mDevConf;
31     private final WiFiConfig mWiFiConf;
32     private final boolean mCloudable;
33
34     public EnrolleeConf(DeviceConfig devConf, WiFiConfig wifiConf, boolean cloudable)
35     {
36         mDevConf = devConf;
37         mWiFiConf = wifiConf;
38         mCloudable = cloudable;
39     }
40
41     public DeviceConfig getDeviceConfig()
42     {
43         return mDevConf;
44     }
45
46     public WiFiConfig getWiFiConfig()
47     {
48         return mWiFiConf;
49     }
50
51     public boolean isCloudable()
52     {
53         return mCloudable;
54     }
55 }
56
57