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 //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;
14 public PortMirroringConnectionPointDescription() {
15 //Populating empty strings as default values to be populated in tosca
22 public String getNf_type() {
26 public void setNf_type(String nf_type) {
27 this.nf_type = nf_type;
30 public String getNfc_type() {
34 public void setNfc_type(String nfc_type) {
35 this.nfc_type = nfc_type;
38 public Object getNetwork_role() {
42 public void setNetwork_role(Object network_role) {
43 this.network_role = network_role;
46 public Object getPps_capacity() {
50 public void setPps_capacity(String pps_capacity) {
51 this.pps_capacity = pps_capacity;
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);