c166938d2de88735a336d80d38645da320c778fd
[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   //Keeping below attributes as objects to accomodate for tosca functions for property
10   // values like get_input, get_attribute
11   private Object network_role;
12   private Object pps_capacity;
13
14   public PortMirroringConnectionPointDescription() {
15     //Populating empty strings as default values to be populated in tosca
16     nf_type = "";
17     nfc_type = "";
18     network_role = "";
19     pps_capacity = "";
20   }
21
22   public String getNf_type() {
23     return nf_type;
24   }
25
26   public void setNf_type(String nf_type) {
27     this.nf_type = nf_type;
28   }
29
30   public String getNfc_type() {
31     return nfc_type;
32   }
33
34   public void setNfc_type(String nfc_type) {
35     this.nfc_type = nfc_type;
36   }
37
38   public Object getNetwork_role() {
39     return network_role;
40   }
41
42   public void setNetwork_role(Object network_role) {
43     this.network_role = network_role;
44   }
45
46   public Object getPps_capacity() {
47     return pps_capacity;
48   }
49
50   public void setPps_capacity(String pps_capacity) {
51     this.pps_capacity = pps_capacity;
52   }
53
54   public boolean isEmpty() {
55     return Objects.isNull(nf_type)
56         && Objects.isNull(nfc_type)
57         && Objects.isNull(network_role)
58         && Objects.isNull(pps_capacity);
59   }
60 }