Development of NETCONF RPCs for tr-069 adapter to
[oam/tr069-adapter.git] / mapper / src / main / java / org / commscope / tr069adapter / mapper / model / NetConfServerDetails.java
index d79a679..625dac0 100644 (file)
-/*\r
- * ============LICENSE_START========================================================================\r
- * ONAP : tr-069-adapter\r
- * =================================================================================================\r
- * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
- * =================================================================================================\r
- * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,\r
- * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You\r
- * may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\r
- * either express or implied. See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- * ===============LICENSE_END=======================================================================\r
- */\r
-package org.commscope.tr069adapter.mapper.model;\r
-\r
-import java.io.Serializable;\r
-\r
-public class NetConfServerDetails implements Serializable {\r
-\r
-  private static final long serialVersionUID = -7594811982301577995L;\r
-\r
-  private String deviceId;\r
-  private String enodeBName;\r
-  private String listenAddress;\r
-  private String listenPort;\r
-  private String swVersion;\r
-  private String hwVersion;\r
-\r
-  private NetconfServerManagementError error;\r
-\r
-  public NetConfServerDetails() {\r
-    super();\r
-  }\r
-\r
-  public NetConfServerDetails(String deviceId, String listenAddress, String listenPort) {\r
-    super();\r
-    this.deviceId = deviceId;\r
-    this.listenAddress = listenAddress;\r
-    this.listenPort = listenPort;\r
-  }\r
-\r
-  public String getDeviceId() {\r
-    return deviceId;\r
-  }\r
-\r
-  public void setDeviceId(String deviceId) {\r
-    this.deviceId = deviceId;\r
-  }\r
-\r
-  public String getListenAddress() {\r
-    return listenAddress;\r
-  }\r
-\r
-  public void setListenAddress(String listenAddress) {\r
-    this.listenAddress = listenAddress;\r
-  }\r
-\r
-  public String getListenPort() {\r
-    return listenPort;\r
-  }\r
-\r
-  public void setListenPort(String listenPort) {\r
-    this.listenPort = listenPort;\r
-  }\r
-\r
-  public NetconfServerManagementError getError() {\r
-    return error;\r
-  }\r
-\r
-  public void setError(NetconfServerManagementError error) {\r
-    this.error = error;\r
-  }\r
-\r
-  public String getEnodeBName() {\r
-    return enodeBName;\r
-  }\r
-\r
-  public void setEnodeBName(String enodeBName) {\r
-    this.enodeBName = enodeBName;\r
-  }\r
-\r
-  public String getSwVersion() {\r
-    return swVersion;\r
-  }\r
-\r
-  public void setSwVersion(String swVersion) {\r
-    this.swVersion = swVersion;\r
-  }\r
-\r
-  public String getHwVersion() {\r
-    return hwVersion;\r
-  }\r
-\r
-  public void setHwVersion(String hwVersion) {\r
-    this.hwVersion = hwVersion;\r
-  }\r
-\r
-  @Override\r
-  public String toString() {\r
-    return "NetConfServerDetails [deviceId=" + deviceId + ", enodeBName=" + enodeBName\r
-        + ", listenAddress=" + listenAddress + ", listenPort=" + listenPort + ", swversion="\r
-        + swVersion + ", hwversion=" + hwVersion + ", error=" + error + "]";\r
-  }\r
-}\r
+/*
+ * ============LICENSE_START========================================================================
+ * ONAP : tr-069-adapter
+ * =================================================================================================
+ * Copyright (C) 2020 CommScope Inc Intellectual Property.
+ * =================================================================================================
+ * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You
+ * may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+ * either express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ===============LICENSE_END=======================================================================
+ */
+package org.commscope.tr069adapter.mapper.model;
+
+import java.io.Serializable;
+
+public class NetConfServerDetails implements Serializable {
+
+  private static final long serialVersionUID = -7594811982301577995L;
+
+  private String deviceId;
+  private String enodeBName;
+  private String listenAddress;
+  private String listenPort;
+  private String swVersion;
+  private String hwVersion;
+
+  private NetconfServerManagementError error;
+
+  public NetConfServerDetails() {
+    super();
+  }
+
+  public NetConfServerDetails(String deviceId, String listenAddress, String listenPort) {
+    super();
+    this.deviceId = deviceId;
+    this.listenAddress = listenAddress;
+    this.listenPort = listenPort;
+  }
+
+  public String getDeviceId() {
+    return deviceId;
+  }
+
+  public void setDeviceId(String deviceId) {
+    this.deviceId = deviceId;
+  }
+
+  public String getListenAddress() {
+    return listenAddress;
+  }
+
+  public void setListenAddress(String listenAddress) {
+    this.listenAddress = listenAddress;
+  }
+
+  public String getListenPort() {
+    return listenPort;
+  }
+
+  public void setListenPort(String listenPort) {
+    this.listenPort = listenPort;
+  }
+
+  public NetconfServerManagementError getError() {
+    return error;
+  }
+
+  public void setError(NetconfServerManagementError error) {
+    this.error = error;
+  }
+
+  public String getEnodeBName() {
+    return enodeBName;
+  }
+
+  public void setEnodeBName(String enodeBName) {
+    this.enodeBName = enodeBName;
+  }
+
+  public String getSwVersion() {
+    return swVersion;
+  }
+
+  public void setSwVersion(String swVersion) {
+    this.swVersion = swVersion;
+  }
+
+  public String getHwVersion() {
+    return hwVersion;
+  }
+
+  public void setHwVersion(String hwVersion) {
+    this.hwVersion = hwVersion;
+  }
+
+  @Override
+  public String toString() {
+    return "NetConfServerDetails [deviceId=" + deviceId + ", enodeBName=" + enodeBName
+        + ", listenAddress=" + listenAddress + ", listenPort=" + listenPort + ", swversion="
+        + swVersion + ", hwversion=" + hwVersion + ", error=" + error + "]";
+  }
+}