aboutsummaryrefslogtreecommitdiffstats
path: root/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/api/models/NRCellDU.java
diff options
context:
space:
mode:
Diffstat (limited to 'ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/api/models/NRCellDU.java')
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/api/models/NRCellDU.java194
1 files changed, 107 insertions, 87 deletions
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/api/models/NRCellDU.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/api/models/NRCellDU.java
index e93f5aa..4bd9f1c 100644
--- a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/api/models/NRCellDU.java
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/api/models/NRCellDU.java
@@ -22,6 +22,7 @@ package org.onap.ransim.rest.api.models;
import java.io.Serializable;
import java.util.List;
+
import javax.persistence.CascadeType;
import javax.persistence.CollectionTable;
import javax.persistence.Column;
@@ -35,91 +36,110 @@ import javax.persistence.OneToMany;
import javax.persistence.Table;
@Entity
-@Table(name="NRCELLDU")
-public class NRCellDU implements Serializable{
- private static final long serialVersionUID = 1L;
- @Id
- @Column(name="CELLLOCALID")
- private Integer cellLocalId;
- @Column(name="OPERATIONALSTATE")
- private String operationalState;
- @Column(name="ADMINISTRATIVESTATE")
- private String administrativeState;
- @Column(name="CELLSTATE")
- private String cellState;
- @ElementCollection(fetch = FetchType.EAGER)
- @CollectionTable(name="PLMNINFO",joinColumns = @JoinColumn(name="nrcelldu_celllocalid"))
- private List<PLMNInfo> pLMNInfoList;
- @Column(name="NRPCI")
- private Integer nRPCI;
- @Column(name="nRTAC")
- private Integer nRTAC;
- @Column(name="RESOURCETYPE")
- private String resourceType;
- @ManyToOne
- @JoinColumn(name = "gnbduid")
- private GNBDUFunction gNBDUFunction;
- @Column(name="prb")
- private Integer prbs;
-
- public Integer getCellLocalId() {
- return cellLocalId;
- }
- public void setCellLocalId(Integer cellLocalId) {
- this.cellLocalId = cellLocalId;
- }
- public List<PLMNInfo> getpLMNInfoList() {
- return pLMNInfoList;
- }
- public void setpLMNInfoList(List<PLMNInfo> pLMNInfoList) {
- this.pLMNInfoList = pLMNInfoList;
- }
- public String getOperationalState() {
- return operationalState;
- }
- public void setOperationalState(String operationalState) {
- this.operationalState = operationalState;
- }
- public String getAdministrativeState() {
- return administrativeState;
- }
- public void setAdministrativeState(String administrativeState) {
- this.administrativeState = administrativeState;
- }
- public String getCellState() {
- return cellState;
- }
- public void setCellState(String cellState) {
- this.cellState = cellState;
- }
- public Integer getnRPCI() {
- return nRPCI;
- }
- public void setnRPCI(Integer nRPCI) {
- this.nRPCI = nRPCI;
- }
- public Integer getnRTAC() {
- return nRTAC;
- }
- public void setnRTAC(Integer nRTAC) {
- this.nRTAC = nRTAC;
- }
- public GNBDUFunction getgNBDUFunction() {
- return gNBDUFunction;
- }
- public void setgNBDUFunction(GNBDUFunction gNBDUFunction) {
- this.gNBDUFunction = gNBDUFunction;
- }
- public String getResourceType() {
- return resourceType;
- }
- public void setResourceType(String resourceType) {
- this.resourceType = resourceType;
- }
- public Integer getPrbs() {
- return prbs;
- }
- public void setPrbs(Integer prbs) {
- this.prbs = prbs;
- }
+@Table(name = "NRCELLDU")
+public class NRCellDU implements Serializable {
+ private static final long serialVersionUID = 1L;
+ @Id
+ @Column(name = "CELLLOCALID")
+ private Integer cellLocalId;
+ @Column(name = "OPERATIONALSTATE")
+ private String operationalState;
+ @Column(name = "ADMINISTRATIVESTATE")
+ private String administrativeState;
+ @Column(name = "CELLSTATE")
+ private String cellState;
+ @ElementCollection(fetch = FetchType.EAGER)
+ @CollectionTable(name = "PLMNINFO", joinColumns = @JoinColumn(name = "nrcelldu_celllocalid"))
+ private List<PLMNInfo> pLMNInfoList;
+ @Column(name = "NRPCI")
+ private Integer nRPCI;
+ @Column(name = "nRTAC")
+ private Integer nRTAC;
+ @Column(name = "RESOURCETYPE")
+ private String resourceType;
+ @ManyToOne
+ @JoinColumn(name = "gnbduid")
+ private GNBDUFunction gNBDUFunction;
+ @Column(name = "prb")
+ private Integer prbs;
+
+ public Integer getCellLocalId() {
+ return cellLocalId;
+ }
+
+ public void setCellLocalId(Integer cellLocalId) {
+ this.cellLocalId = cellLocalId;
+ }
+
+ public List<PLMNInfo> getpLMNInfoList() {
+ return pLMNInfoList;
+ }
+
+ public void setpLMNInfoList(List<PLMNInfo> pLMNInfoList) {
+ this.pLMNInfoList = pLMNInfoList;
+ }
+
+ public String getOperationalState() {
+ return operationalState;
+ }
+
+ public void setOperationalState(String operationalState) {
+ this.operationalState = operationalState;
+ }
+
+ public String getAdministrativeState() {
+ return administrativeState;
+ }
+
+ public void setAdministrativeState(String administrativeState) {
+ this.administrativeState = administrativeState;
+ }
+
+ public String getCellState() {
+ return cellState;
+ }
+
+ public void setCellState(String cellState) {
+ this.cellState = cellState;
+ }
+
+ public Integer getnRPCI() {
+ return nRPCI;
+ }
+
+ public void setnRPCI(Integer nRPCI) {
+ this.nRPCI = nRPCI;
+ }
+
+ public Integer getnRTAC() {
+ return nRTAC;
+ }
+
+ public void setnRTAC(Integer nRTAC) {
+ this.nRTAC = nRTAC;
+ }
+
+ public GNBDUFunction getgNBDUFunction() {
+ return gNBDUFunction;
+ }
+
+ public void setgNBDUFunction(GNBDUFunction gNBDUFunction) {
+ this.gNBDUFunction = gNBDUFunction;
+ }
+
+ public String getResourceType() {
+ return resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ }
+
+ public Integer getPrbs() {
+ return prbs;
+ }
+
+ public void setPrbs(Integer prbs) {
+ this.prbs = prbs;
+ }
}