1 package org.openecomp.sdc.enrichment.impl.tosca.model;
3 import java.util.Objects;
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;
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;
17 public PortMirroringConnectionPointDescription() {
18 //Populating empty strings as default values to be populated in tosca
27 public String getNf_type() {
31 public void setNf_type(String nf_type) {
32 this.nf_type = nf_type;
35 public String getNfc_type() {
39 public void setNfc_type(String nfc_type) {
40 this.nfc_type = nfc_type;
43 public String getNf_naming_code() {
44 return nf_naming_code;
47 public void setNf_naming_code(String nf_naming_code) {
48 this.nf_naming_code = nf_naming_code;
51 public String getNfc_naming_code() {
52 return nfc_naming_code;
55 public void setNfc_naming_code(String nfc_naming_code) {
56 this.nfc_naming_code = nfc_naming_code;
59 public Object getNetwork_role() {
63 public void setNetwork_role(Object network_role) {
64 this.network_role = network_role;
67 public Object getPps_capacity() {
71 public void setPps_capacity(String pps_capacity) {
72 this.pps_capacity = pps_capacity;
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);