X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=netconf-server%2Fsrc%2Fmain%2Fjava%2Forg%2Fcommscope%2Ftr069adapter%2Fnetconf%2Fentity%2FNetConfServerDetailsEntity.java;fp=netconf-server%2Fsrc%2Fmain%2Fjava%2Forg%2Fcommscope%2Ftr069adapter%2Fnetconf%2Fentity%2FNetConfServerDetailsEntity.java;h=b6ce91687b8bfb4d9f42518f563bbf31926bcfea;hb=76744e810f35c84ecbd1d9998e361052466e9483;hp=e37fd99313a73ed3c5f19cb762d85a8f2e187f3b;hpb=ce4e2d38e3d42725f61c39dd172325d2def4bc44;p=oam%2Ftr069-adapter.git diff --git a/netconf-server/src/main/java/org/commscope/tr069adapter/netconf/entity/NetConfServerDetailsEntity.java b/netconf-server/src/main/java/org/commscope/tr069adapter/netconf/entity/NetConfServerDetailsEntity.java index e37fd99..b6ce916 100644 --- a/netconf-server/src/main/java/org/commscope/tr069adapter/netconf/entity/NetConfServerDetailsEntity.java +++ b/netconf-server/src/main/java/org/commscope/tr069adapter/netconf/entity/NetConfServerDetailsEntity.java @@ -1,102 +1,102 @@ -/* - * ============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.netconf.entity; - -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; - -@Entity -@Table(name = "netconf_server_details") -public class NetConfServerDetailsEntity implements Serializable { - - private static final long serialVersionUID = 3572178771247249366L; - - @Id - @GeneratedValue(strategy = GenerationType.AUTO) - private Long id; - - @Column(name = "DEVICE_ID", length = 30) - private String deviceId; - - @Column(name = "ENODEB_NAME", length = 255) - private String enodeBName; - - @Column(name = "PORT", length = 10) - private String listenPort; - - @Column(name = "SW_VERSION", length = 64) - private String swVersion; - - @Column(name = "HW_VERSION", length = 64) - private String hwVersion; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getDeviceId() { - return deviceId; - } - - public void setDeviceId(String deviceId) { - this.deviceId = deviceId; - } - - public String getListenPort() { - return listenPort; - } - - public void setListenPort(String listenPort) { - this.listenPort = listenPort; - } - - 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; - } -} +/* + * ============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.netconf.entity; + +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; + +@Entity +@Table(name = "netconf_server_details") +public class NetConfServerDetailsEntity implements Serializable { + + private static final long serialVersionUID = 3572178771247249366L; + + @Id + @GeneratedValue(strategy = GenerationType.AUTO) + private Long id; + + @Column(name = "DEVICE_ID", length = 30) + private String deviceId; + + @Column(name = "ENODEB_NAME", length = 255) + private String enodeBName; + + @Column(name = "PORT", length = 10) + private String listenPort; + + @Column(name = "SW_VERSION", length = 64) + private String swVersion; + + @Column(name = "HW_VERSION", length = 64) + private String hwVersion; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getDeviceId() { + return deviceId; + } + + public void setDeviceId(String deviceId) { + this.deviceId = deviceId; + } + + public String getListenPort() { + return listenPort; + } + + public void setListenPort(String listenPort) { + this.listenPort = listenPort; + } + + 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; + } +}