From d6b413c5036eabae4ba0948cebe3e6968af31ddb Mon Sep 17 00:00:00 2001 From: noahs Date: Tue, 28 May 2019 10:48:08 +0300 Subject: Add Lombok support to PreconditionDefinition add @Data annotation Change-Id: Ia1482cfb0b1775d4d729df7d0bfc182f59dd15b5 Issue-ID: SDC-2331 Signed-off-by: noahs --- .../datatypes/model/PreconditionDefinition.java | 25 ++-------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PreconditionDefinition.java b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PreconditionDefinition.java index 8bd5c540b0..efdc8bf2ad 100644 --- a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PreconditionDefinition.java +++ b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PreconditionDefinition.java @@ -1,32 +1,11 @@ package org.onap.sdc.tosca.datatypes.model; +import lombok.Data; +@Data public class PreconditionDefinition { private String target; private String target_relationship; private Constraint condition; - public String getTarget() { - return target; - } - - public void setTarget(String target) { - this.target = target; - } - - public String getTarget_relationship() { - return target_relationship; - } - - public void setTarget_relationship(String target_relationship) { - this.target_relationship = target_relationship; - } - - public Constraint getCondition() { - return condition; - } - - public void setCondition(Constraint condition) { - this.condition = condition; - } } -- cgit 1.2.3-korg