From dc5e4d94869c09c3961e58dd149d6f9150b80256 Mon Sep 17 00:00:00 2001 From: noahs Date: Thu, 30 May 2019 11:11:11 +0300 Subject: Add Lombok support to RelationshipTemplate add @Data annotation Change-Id: I030c5dc506b3fabcb6f447016dc1e74aeb2df30f Issue-ID: SDC-2343 Signed-off-by: noahs --- .../datatypes/model/RelationshipTemplate.java | 74 +--------------------- 1 file changed, 2 insertions(+), 72 deletions(-) diff --git a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/RelationshipTemplate.java b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/RelationshipTemplate.java index d9a81137f0..17a3ae383a 100644 --- a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/RelationshipTemplate.java +++ b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/RelationshipTemplate.java @@ -22,8 +22,9 @@ package org.onap.sdc.tosca.datatypes.model; import java.util.Map; +import lombok.Data; - +@Data public class RelationshipTemplate implements Template { private String type; @@ -36,75 +37,4 @@ public class RelationshipTemplate implements Template { private Map interfaces; private String copy; - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Map getMetadata() { - return metadata; - } - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - public Map getProperties() { - return properties; - } - - public void setProperties(Map properties) { - this.properties = properties; - } - - public Map getAttributes() { - return attributes; - } - - public void setAttributes(Map attributes) { - this.attributes = attributes; - } - - public Map getRequirements() { - return requirements; - } - - public void setRequirements(Map requirements) { - this.requirements = requirements; - } - - public Map getCapabilities() { - return capabilities; - } - - public void setCapabilities(Map capabilities) { - this.capabilities = capabilities; - } - - public Map getInterfaces() { - return interfaces; - } - - public void setInterfaces(Map interfaces) { - this.interfaces = interfaces; - } - - public String getCopy() { - return copy; - } - - public void setCopy(String copy) { - this.copy = copy; - } } -- cgit 1.2.3-korg