-/*\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
-\r
-\r
-package org.commscope.tr069adapter.config.model;\r
-\r
-import java.io.Serializable;\r
-import javax.persistence.Column;\r
-import javax.persistence.Entity;\r
-import javax.persistence.GeneratedValue;\r
-import javax.persistence.GenerationType;\r
-import javax.persistence.Id;\r
-import javax.persistence.Table;\r
-import javax.persistence.UniqueConstraint;\r
-\r
-@Entity\r
-@Table(name = "config_file_content",\r
- uniqueConstraints = @UniqueConstraint(columnNames = {"MACID", "SW_VERSION", "HW_VERSION"}))\r
-public class ConfigFileContent implements Serializable {\r
- private static final long serialVersionUID = -5435735270835950132L;\r
-\r
- @Id\r
- @GeneratedValue(strategy = GenerationType.AUTO)\r
- @Column(name = "ID")\r
- private Long id;\r
-\r
- @Column(name = "MACID", length = 255)\r
- private String macId;\r
-\r
- @Column(name = "FILE_CONTENT", columnDefinition = "MEDIUMTEXT")\r
- private String fileContent;\r
-\r
- @Column(name = "SW_VERSION", length = 64)\r
- private String swVersion;\r
-\r
- @Column(name = "HW_VERSION", length = 64)\r
- private String hwVersion;\r
-\r
- public ConfigFileContent() {\r
- super();\r
- }\r
-\r
- public String getMacId() {\r
- return macId;\r
- }\r
-\r
- public void setMacId(String macId) {\r
- this.macId = macId;\r
- }\r
-\r
- public String getFileContent() {\r
- return fileContent;\r
- }\r
-\r
- public void setFileContent(String fileContent) {\r
- this.fileContent = fileContent;\r
- }\r
-\r
- public Long getId() {\r
- return id;\r
- }\r
-\r
- public void setId(Long id) {\r
- this.id = id;\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
+/*
+ * ============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.config.model;
+
+import java.io.Serializable;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.UniqueConstraint;
+
+@Entity
+@Table(name = "config_file_content",
+ uniqueConstraints = @UniqueConstraint(columnNames = {"MACID", "SW_VERSION", "HW_VERSION"}))
+public class ConfigFileContent implements Serializable {
+ private static final long serialVersionUID = -5435735270835950132L;
+
+ @Id
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ @Column(name = "ID")
+ private Long id;
+
+ @Column(name = "MACID", length = 255)
+ private String macId;
+
+ @Column(name = "FILE_CONTENT", columnDefinition = "MEDIUMTEXT")
+ private String fileContent;
+
+ @Column(name = "SW_VERSION", length = 64)
+ private String swVersion;
+
+ @Column(name = "HW_VERSION", length = 64)
+ private String hwVersion;
+
+ public ConfigFileContent() {
+ super();
+ }
+
+ public String getMacId() {
+ return macId;
+ }
+
+ public void setMacId(String macId) {
+ this.macId = macId;
+ }
+
+ public String getFileContent() {
+ return fileContent;
+ }
+
+ public void setFileContent(String fileContent) {
+ this.fileContent = fileContent;
+ }
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ 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;
+ }
+}