From 39cfb30f0e15b292ce348ba17e0a472cfff6b264 Mon Sep 17 00:00:00 2001 From: shrek2000 Date: Wed, 5 Jun 2019 14:18:14 +0300 Subject: Add lombok support to simple classes Change-Id: Ic48b301b2e45815bfb9e71d26626ad89cb61d753 Issue-ID: SDC-2354 Signed-off-by: shrek2000 --- .../datatypes/model/RequirementAssignment.java | 40 ++-------------------- 1 file changed, 2 insertions(+), 38 deletions(-) (limited to 'common/onap-tosca-datatype') diff --git a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/RequirementAssignment.java b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/RequirementAssignment.java index 0cd15e5549..177b8c4a6a 100644 --- a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/RequirementAssignment.java +++ b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/RequirementAssignment.java @@ -20,7 +20,9 @@ package org.onap.sdc.tosca.datatypes.model; +import lombok.Data; +@Data public class RequirementAssignment { private String capability; @@ -29,43 +31,5 @@ public class RequirementAssignment { private NodeFilter node_filter; private Object[] occurrences; - public String getCapability() { - return capability; - } - public void setCapability(String capability) { - this.capability = capability; - } - - public String getNode() { - return node; - } - - public void setNode(String node) { - this.node = node; - } - - public String getRelationship() { - return relationship; - } - - public void setRelationship(String relationship) { - this.relationship = relationship; - } - - public NodeFilter getNode_filter() { - return node_filter; - } - - public void setNode_filter(NodeFilter node_filter) { - this.node_filter = node_filter; - } - - public Object[] getOccurrences() { - return occurrences; - } - - public void setOccurrences(Object[] occurrences) { - this.occurrences = occurrences; - } } -- cgit 1.2.3-korg