Add lombok support to simple classes 79/89979/2
authorOren Kleks <orenkle@amdocs.com>
Mon, 17 Jun 2019 07:20:57 +0000 (10:20 +0300)
committerAvi Gaffa <avi.gaffa@amdocs.com>
Mon, 17 Jun 2019 08:40:13 +0000 (08:40 +0000)
Change-Id: I98ced4b0f30c3b676e02de08ccab0c06bc7b8965
Issue-ID: SDC-2354
Signed-off-by: shrek2000 <orenkle@amdocs.com>
common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/AttributeDefinition.java

index b6e187b..4352f16 100644 (file)
 package org.onap.sdc.tosca.datatypes.model;
 
 import java.util.Objects;
+import lombok.Getter;
+import lombok.Setter;
 
+@Getter
+@Setter
 public class AttributeDefinition implements Cloneable{
 
   private String type;
@@ -34,45 +38,6 @@ public class AttributeDefinition implements Cloneable{
     status = Status.SUPPORTED;
   }
 
-  public EntrySchema getEntry_schema() {
-    return entry_schema;
-  }
-
-  public void setEntry_schema(EntrySchema entry_schema) {
-    this.entry_schema = entry_schema;
-  }
-
-  public Status getStatus() {
-    return status;
-  }
-
-  public void setStatus(Status status) {
-    this.status = status;
-  }
-
-  public Object get_default() {
-    return _default;
-  }
-
-  public void set_default(Object _default) {
-    this._default = _default;
-  }
-
-  public String getDescription() {
-    return description;
-  }
-
-  public void setDescription(String description) {
-    this.description = description;
-  }
-
-  public String getType() {
-    return type;
-  }
-
-  public void setType(String type) {
-    this.type = type;
-  }
 
   @Override
   public AttributeDefinition clone() {