Add lombok support to simple classes 81/89381/2
authorshrek2000 <orenkle@amdocs.com>
Wed, 5 Jun 2019 14:15:38 +0000 (17:15 +0300)
committerAvi Gaffa <avi.gaffa@amdocs.com>
Thu, 6 Jun 2019 08:44:36 +0000 (08:44 +0000)
Change-Id: I76b00170ba5304bf82df3903cc381d46d7f0f513
Issue-ID: SDC-2354
Signed-off-by: shrek2000 <orenkle@amdocs.com>
common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/ArtifactDefinition.java

index b3aae7e..11f5354 100644 (file)
 package org.onap.sdc.tosca.datatypes.model;
 
 
+import lombok.Getter;
+import lombok.Setter;
 
+@Getter
+@Setter
 public class ArtifactDefinition {
   private String type;
   private String file;
@@ -29,43 +33,4 @@ public class ArtifactDefinition {
   private String description;
   private String deploy_path;
 
-  public String getType() {
-    return type;
-  }
-
-  public void setType(String type) {
-    this.type = type;
-  }
-
-  public String getFile() {
-    return file;
-  }
-
-  public void setFile(String file) {
-    this.file = file;
-  }
-
-  public String getRepository() {
-    return repository;
-  }
-
-  public void setRepository(String repository) {
-    this.repository = repository;
-  }
-
-  public String getDescription() {
-    return description;
-  }
-
-  public void setDescription(String description) {
-    this.description = description;
-  }
-
-  public String getDeploy_path() {
-    return deploy_path;
-  }
-
-  public void setDeploy_path(String deploy_path) {
-    this.deploy_path = deploy_path;
-  }
 }