aboutsummaryrefslogtreecommitdiffstats
path: root/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/websocket/model/Topology.java
diff options
context:
space:
mode:
authordeepikasatheesh <deepika.s84@wipro.com>2021-02-04 14:54:53 +0000
committerdeepikasatheesh <deepika.s84@wipro.com>2021-02-22 09:08:34 +0000
commit49f60702c82398abadb0bc28bf9a3b902b1deee7 (patch)
tree1e0ce351712eb9cd46e4bf90f5373326b298cf04 /ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/websocket/model/Topology.java
parent7365105475e82c302bb32094ac3c708ef5c21a72 (diff)
Refactored & enhanced code check-in RANSim Controller and RANSim GUI
Issue-ID: INT-1849 Signed-off-by: deepikasatheesh <deepika.s84@wipro.com> Change-Id: I8f92d8eae6eb67708098ccd696dbfff0eaa5f87f
Diffstat (limited to 'ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/websocket/model/Topology.java')
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/websocket/model/Topology.java132
1 files changed, 64 insertions, 68 deletions
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/websocket/model/Topology.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/websocket/model/Topology.java
index b99f64a..9869ea4 100644
--- a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/websocket/model/Topology.java
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/websocket/model/Topology.java
@@ -24,73 +24,69 @@ import java.util.List;
public class Topology {
- private String pnfName;
-
- private long pciId;
-
- private String cellId;
-
- private List<Neighbor> neighborList;
-
- public long getPciId() {
- return pciId;
- }
-
- public void setPciId(long pciId) {
- this.pciId = pciId;
- }
-
- public String getCellId() {
- return cellId;
- }
-
- public void setCellId(String cellId) {
- this.cellId = cellId;
- }
-
- public List<Neighbor> getNeighborList() {
- return neighborList;
- }
-
- public void setNeighborList(List<Neighbor> neighborList) {
- this.neighborList = neighborList;
- }
-
- @Override
- public String toString() {
- return "Topology [PnfName = " + pnfName + ", PciId = " + pciId + ", cellId = " + cellId + ", neighborList = "
- + neighborList + "]";
- }
-
- /**
- * Contails the necessary cell details.
- *
- * @param pnfName
- * server id name
- * @param pciId
- * pci number
- * @param cellId
- * node id for the cel
- * @param neighborList
- * neighbor list for the cell
- */
- public Topology(String pnfName, long pciId, String cellId, List<Neighbor> neighborList) {
- super();
- this.pnfName = pnfName;
- this.pciId = pciId;
- this.cellId = cellId;
- this.neighborList = neighborList;
- }
-
- public Topology() {
- }
-
- public String getPnfName() {
- return pnfName;
- }
-
- public void setPnfName(String pnfName) {
- this.pnfName = pnfName;
- }
+ private String pnfName;
+
+ private long pciId;
+
+ private String cellId;
+
+ private List<Neighbor> neighborList;
+
+ public long getPciId() {
+ return pciId;
+ }
+
+ public void setPciId(long pciId) {
+ this.pciId = pciId;
+ }
+
+ public String getCellId() {
+ return cellId;
+ }
+
+ public void setCellId(String cellId) {
+ this.cellId = cellId;
+ }
+
+ public List<Neighbor> getNeighborList() {
+ return neighborList;
+ }
+
+ public void setNeighborList(List<Neighbor> neighborList) {
+ this.neighborList = neighborList;
+ }
+
+ @Override
+ public String toString() {
+ return "Topology [PnfName = " + pnfName + ", PciId = " + pciId + ", cellId = " + cellId + ", neighborList = "
+ + neighborList + "]";
+ }
+
+ /**
+ * Contails the necessary cell details.
+ *
+ * @param pnfName server id name
+ * @param pciId pci number
+ * @param cellId node id for the cel
+ * @param neighborList neighbor list for the cell
+ */
+ public Topology(String pnfName, long pciId, String cellId, List<Neighbor> neighborList) {
+ super();
+ this.pnfName = pnfName;
+ this.pciId = pciId;
+ this.cellId = cellId;
+ this.neighborList = neighborList;
+ }
+
+ public Topology() {
+ }
+
+ public String getPnfName() {
+ return pnfName;
+ }
+
+ public void setPnfName(String pnfName) {
+ this.pnfName = pnfName;
+ }
}