1c54e01743516bab337d2f609f1e718464f35f9b
[sdc.git] /
1 package org.openecomp.sdc.enrichment.impl.tosca.model;
2
3 import java.util.Objects;
4
5 @SuppressWarnings("CheckStyle")
6 public class PortMirroringConnectionPointDescription {
7   private String nf_type;
8   private String nfc_type;
9   private String nf_naming_code;
10   private String nfc_naming_code;
11
12   //Keeping below attributes as objects to accomodate for tosca functions for property
13   // values like get_input, get_attribute
14   private Object network_role;
15   private Object pps_capacity;
16
17   public PortMirroringConnectionPointDescription() {
18     //Populating empty strings as default values to be populated in tosca
19     nf_type = "";
20     nfc_type = "";
21     nf_naming_code = "";
22     nfc_naming_code = "";
23     network_role = "";
24     pps_capacity = "";
25   }
26
27   public String getNf_type() {
28     return nf_type;
29   }
30
31   public void setNf_type(String nf_type) {
32     this.nf_type = nf_type;
33   }
34
35   public String getNfc_type() {
36     return nfc_type;
37   }
38
39   public void setNfc_type(String nfc_type) {
40     this.nfc_type = nfc_type;
41   }
42
43   public String getNf_naming_code() {
44     return nf_naming_code;
45   }
46
47   public void setNf_naming_code(String nf_naming_code) {
48     this.nf_naming_code = nf_naming_code;
49   }
50
51   public String getNfc_naming_code() {
52     return nfc_naming_code;
53   }
54
55   public void setNfc_naming_code(String nfc_naming_code) {
56     this.nfc_naming_code = nfc_naming_code;
57   }
58
59   public Object getNetwork_role() {
60     return network_role;
61   }
62
63   public void setNetwork_role(Object network_role) {
64     this.network_role = network_role;
65   }
66
67   public Object getPps_capacity() {
68     return pps_capacity;
69   }
70
71   public void setPps_capacity(String pps_capacity) {
72     this.pps_capacity = pps_capacity;
73   }
74
75   public boolean isEmpty() {
76     return Objects.isNull(nf_type)
77         && Objects.isNull(nfc_type)
78         && Objects.isNull(nf_naming_code)
79         && Objects.isNull(nfc_naming_code)
80         && Objects.isNull(network_role)
81         && Objects.isNull(pps_capacity);
82   }
83 }