aboutsummaryrefslogtreecommitdiffstats
path: root/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper
diff options
context:
space:
mode:
Diffstat (limited to 'ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper')
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRCellCUModel.java13
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRCellRelationModel.java51
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRRelationData.java47
3 files changed, 109 insertions, 2 deletions
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRCellCUModel.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRCellCUModel.java
index 0ee438b..60228f4 100644
--- a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRCellCUModel.java
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRCellCUModel.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* Ran Simulator Controller
* ================================================================================
- * Copyright (C) 2020-2021 Wipro Limited.
+ * Copyright (C) 2020-2022 Wipro Limited.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,6 +26,7 @@ public class NRCellCUModel {
private Integer cellLocalId;
private List<PLMNInfoModel> pLMNInfoList;
private String resourceType;
+ private List<NRCellRelationModel> nRCellRelationList;
public Integer getCellLocalId() {
return cellLocalId;
@@ -51,9 +52,17 @@ public class NRCellCUModel {
this.resourceType = resourceType;
}
+ public List<NRCellRelationModel> getNRCellRelationList() {
+ return nRCellRelationList;
+ }
+
+ public void setNRCellRelation(List<NRCellRelationModel> nRCellRelationList) {
+ this.nRCellRelationList = nRCellRelationList;
+ }
+
@Override
public String toString() {
- return "NRCellCUModel [cellLocalId=" + cellLocalId + ", pLMNInfoList=" + pLMNInfoList + ", resourceType="
+ return "NRCellCUModel [cellLocalId=" + cellLocalId + ", pLMNInfoList=" + pLMNInfoList + ", nRCellRelationList=" + nRCellRelationList + ", resourceType="
+ resourceType + "]";
}
}
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRCellRelationModel.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRCellRelationModel.java
new file mode 100644
index 0000000..aacd5b1
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRCellRelationModel.java
@@ -0,0 +1,51 @@
+/* ============LICENSE_START=======================================================
+ * Ran Simulator Controller
+ ** ================================================================================
+ ** Copyright (C) 2022 Wipro Limited.
+ ** ================================================================================
+ ** Licensed 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
+ **
+ ** Unless required by applicable law or agreed to in writing, software
+ ** distributed under the License 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.onap.ransim.rest.web.mapper;
+
+ import org.onap.ransim.rest.web.mapper.NRRelationData;
+
+ public class NRCellRelationModel {
+
+ private Integer idNRCellRelation;
+ private NRRelationData nRRelationData;
+
+
+ public Integer getIdNRCellRelation() {
+ return idNRCellRelation;
+ }
+
+ public void setIdNRCellRelation(Integer idNRCellRelation) {
+ this.idNRCellRelation = idNRCellRelation;
+ }
+
+ public NRRelationData getNRRelationData() {
+ return nRRelationData;
+ }
+
+ public void setNRRelationData(NRRelationData nRRelationData) {
+ this.nRRelationData = nRRelationData;
+ }
+
+ @Override
+ public String toString() {
+ return "NRCellRelationModel [idNRCellRelation=" + idNRCellRelation + ", nRRelationData=" + nRRelationData + "]";
+ }
+ }
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRRelationData.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRRelationData.java
new file mode 100644
index 0000000..29dc2d4
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/NRRelationData.java
@@ -0,0 +1,47 @@
+/* ========LICENSE_START=======================================================
+ * Ran Simulator Controller
+ ** ================================================================================
+ ** Copyright (C) 2022 Wipro Limited.
+ ** ================================================================================
+ ** Licensed 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
+ **
+ ** Unless required by applicable law or agreed to in writing, software
+ ** distributed under the License 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.onap.ransim.rest.web.mapper;
+
+ public class NRRelationData {
+
+ private Integer nRTCI;
+ private boolean isHOAllowed;
+
+ public Integer getNRTCI() {
+ return nRTCI;
+ }
+
+ public void setNRTCI(Integer nRTCI) {
+ this.nRTCI = nRTCI;
+ }
+
+ public boolean getIsHOAllowed() {
+ return isHOAllowed;
+ }
+
+ public void setIsHOAllowed(boolean isHOAllowed) {
+ this.isHOAllowed = isHOAllowed;
+ }
+
+ @Override
+ public String toString() {
+ return "NRRelationData [nRTCI=" + nRTCI + ", isHOAllowed=" + isHOAllowed + "]";
+ }
+ }