aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src
diff options
context:
space:
mode:
authoravigaffa <avi.gaffa@amdocs.com>2019-06-05 11:54:26 +0300
committeravigaffa <avi.gaffa@amdocs.com>2019-06-05 11:54:26 +0300
commit26b7bdc2fe4901094a33781d76eb9b700bbbe9ba (patch)
tree8b2fe6eb2974959633b8f0085de6c525cb7e96be /catalog-be/src
parent18088ab28bb9c780194b8add1f4595d1f69d2eae (diff)
Add lombok support to simple classes
Change-Id: I3d8a8e02d8c4b98bfda6367bb34b104edb930707 Issue-ID: SDC-2354 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
Diffstat (limited to 'catalog-be/src')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/dto/ExternalRefDTO.java27
1 files changed, 7 insertions, 20 deletions
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;
- }
}