From 26b7bdc2fe4901094a33781d76eb9b700bbbe9ba Mon Sep 17 00:00:00 2001 From: avigaffa Date: Wed, 5 Jun 2019 11:54:26 +0300 Subject: Add lombok support to simple classes Change-Id: I3d8a8e02d8c4b98bfda6367bb34b104edb930707 Issue-ID: SDC-2354 Signed-off-by: avigaffa --- .../org/openecomp/sdc/be/dto/ExternalRefDTO.java | 27 ++++++---------------- 1 file changed, 7 insertions(+), 20 deletions(-) (limited to 'catalog-be/src/main/java') diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/dto/ExternalRefDTO.java b/catalog-be/src/main/java/org/openecomp/sdc/be/dto/ExternalRefDTO.java index 28621bcb41..052f2a543f 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/dto/ExternalRefDTO.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/dto/ExternalRefDTO.java @@ -1,29 +1,16 @@ package org.openecomp.sdc.be.dto; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + /** * Created by yavivi on 18/02/2018. */ +@NoArgsConstructor +@AllArgsConstructor +@Data public class ExternalRefDTO { private String referenceUUID; - public ExternalRefDTO(){ - //Empty constructor for serialization purposes - } - - public ExternalRefDTO(String ref){ - this.referenceUUID = ref; - } - - public String getReferenceUUID() { - return referenceUUID; - } - - public void setReferenceUUID(String referenceUUID) { - this.referenceUUID = referenceUUID; - } - - @Override - public String toString() { - return this.referenceUUID; - } } -- cgit 1.2.3-korg