Added initial prototype implementation of Android Multi-PHY Easy Setup
[platform/upstream/iotivity.git] / service / easy-setup / sdk / android / EasySetupCore / src / org / iotivity / service / easysetup / mediator / EnrolleeOnBoardingInfo.java
1 /******************************************************************
2  *
3  * Copyright 2015 Samsung Electronics All Rights Reserved.
4  *
5  *
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  ******************************************************************/
20 package org.iotivity.service.easysetup.mediator;
21
22 public class EnrolleeOnBoardingInfo {
23
24     private String  IpAddr;
25     private String  HWAddr;
26     private String  Device;
27     private boolean isReachable;
28     private boolean isAdditionNotified;
29     private boolean isRemovalNotified;
30
31     public EnrolleeOnBoardingInfo(String ipAddr, String hWAddr, String device,
32             boolean isReachable, boolean isRemovalNotified,
33             boolean isAdditionNotified) {
34         this.IpAddr = ipAddr;
35         this.HWAddr = hWAddr;
36         this.Device = device;
37         this.isReachable = isReachable;
38         this.isRemovalNotified = isRemovalNotified;
39         this.isAdditionNotified = isAdditionNotified;
40     }
41
42     public String getIpAddr() {
43         return IpAddr;
44     }
45
46     public void setIpAddr(String ipAddr) {
47         IpAddr = ipAddr;
48     }
49
50     public String getHWAddr() {
51         return HWAddr;
52     }
53
54     public void setHWAddr(String hWAddr) {
55         HWAddr = hWAddr;
56     }
57
58     public String getDevice() {
59         return Device;
60     }
61
62     public void setDevice(String device) {
63         Device = device;
64     }
65
66     public boolean isReachable() {
67         return isReachable;
68     }
69
70     public void setReachable(boolean isReachable) {
71         this.isReachable = isReachable;
72     }
73
74     public boolean isRemovalNotified() {
75         return isRemovalNotified;
76     }
77
78     public void setRemovalNotified(boolean isRemovalNotified) {
79         this.isRemovalNotified = isRemovalNotified;
80     }
81
82     public boolean isAdditionNotified() {
83         return isAdditionNotified;
84     }
85
86     public void setAdditionNotified(boolean isAdditionNotified) {
87         this.isAdditionNotified = isAdditionNotified;
88     }
89
90 }