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