Fix: Update Sonar needed parameters
[oam/tr069-adapter.git] / acs / cpe / src / main / java / org / commscope / tr069adapter / acs / cpe / rpc / SetParameterAttributesStruct.java
1 /*\r
2  * ============LICENSE_START========================================================================\r
3  * ONAP : tr-069-adapter\r
4  * =================================================================================================\r
5  * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
6  * =================================================================================================\r
7  * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,\r
8  * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You\r
9  * may obtain a copy of the License at\r
10  *\r
11  * http://www.apache.org/licenses/LICENSE-2.0\r
12  *\r
13  * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\r
14  * either express or implied. See the License for the specific language governing permissions and\r
15  * limitations under the License.\r
16  * ===============LICENSE_END=======================================================================\r
17  */\r
18 \r
19 package org.commscope.tr069adapter.acs.cpe.rpc;\r
20 \r
21 import java.io.Serializable;\r
22 \r
23 import javax.xml.bind.annotation.XmlAccessType;\r
24 import javax.xml.bind.annotation.XmlAccessorType;\r
25 import javax.xml.bind.annotation.XmlRootElement;\r
26 import javax.xml.bind.annotation.XmlType;\r
27 \r
28 @XmlRootElement(name = "SetParameterAttributesStruct",\r
29     namespace = "urn:NbiService.notification.nbi.com")\r
30 @XmlAccessorType(XmlAccessType.FIELD)\r
31 @XmlType(name = "SetParameterAttributesStruct",\r
32     propOrder = {"Name", "NotificationChange", "Notification", "AccessListChange", "AccessList"})\r
33 public class SetParameterAttributesStruct implements Serializable {\r
34 \r
35   private static final long serialVersionUID = 3800958675601111274L;\r
36 \r
37   /**\r
38    * @return the name\r
39    */\r
40   public String getName() {\r
41     return name;\r
42   }\r
43 \r
44   /**\r
45    * @param name the name to set\r
46    */\r
47   public void setName(String name) {\r
48     this.name = name;\r
49   }\r
50 \r
51   /**\r
52    * @return the notificationChange\r
53    */\r
54   public boolean isNotificationChange() {\r
55     return notificationChange;\r
56   }\r
57 \r
58   /**\r
59    * @param notificationChange the notificationChange to set\r
60    */\r
61   public void setNotificationChange(boolean notificationChange) {\r
62     this.notificationChange = notificationChange;\r
63   }\r
64 \r
65   /**\r
66    * @return the notification\r
67    */\r
68   public int getNotification() {\r
69     return notification;\r
70   }\r
71 \r
72   /**\r
73    * @param notification the notification to set\r
74    */\r
75   public void setNotification(int notification) {\r
76     this.notification = notification;\r
77   }\r
78 \r
79   /**\r
80    * @return the accessListChange\r
81    */\r
82   public boolean isAccessListChange() {\r
83     return accessListChange;\r
84   }\r
85 \r
86   /**\r
87    * @param accessListChange the accessListChange to set\r
88    */\r
89   public void setAccessListChange(boolean accessListChange) {\r
90     this.accessListChange = accessListChange;\r
91   }\r
92 \r
93   /**\r
94    * @return the accessList\r
95    */\r
96   public String[] getAccessList() {\r
97     return accessList;\r
98   }\r
99 \r
100   /**\r
101    * @param accessList the accessList to set\r
102    */\r
103   public void setAccessList(String[] accessList) {\r
104     this.accessList = accessList;\r
105   }\r
106 \r
107   private String name;\r
108   private boolean notificationChange;\r
109   private int notification;\r
110   private boolean accessListChange;\r
111   private String[] accessList;\r
112 \r
113   public SetParameterAttributesStruct() {\r
114 \r
115   }\r
116 \r
117   public SetParameterAttributesStruct(String name, boolean notificationChange, int notification,\r
118       boolean accessListChange, String[] accessList) {\r
119     this.name = name;\r
120     this.notificationChange = notificationChange;\r
121     this.notification = notification;\r
122     this.accessList = accessList;\r
123     this.accessListChange = accessListChange;\r
124   }\r
125 }\r