summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshrek2000 <orenkle@amdocs.com>2019-06-05 14:13:24 +0300
committerAvi Gaffa <avi.gaffa@amdocs.com>2019-06-05 12:21:34 +0000
commit111ba7027fbb0727c17a4ff6894aa4adbb5e38d9 (patch)
tree18955b9fefed2b988f74a5c7aa1d39bcc0e280af
parent5e8cbf046554b64aa85f8671756087be5ccdae10 (diff)
Add lombok support to simple classes
Change-Id: Ic3956c9c6f4fddf412a2216de3d79a2cb2d779b0 Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
-rw-r--r--common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/TimeInterval.java19
1 files changed, 4 insertions, 15 deletions
diff --git a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/TimeInterval.java b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/TimeInterval.java
index 6e39ec67e3..8cd85e07a7 100644
--- a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/TimeInterval.java
+++ b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/TimeInterval.java
@@ -1,24 +1,13 @@
package org.onap.sdc.tosca.datatypes.model;
import java.sql.Timestamp;
+import lombok.Getter;
+import lombok.Setter;
+@Getter
+@Setter
public class TimeInterval {
private Timestamp start_time;
private Timestamp end_time;
- public Timestamp getStart_time() {
- return start_time;
- }
-
- public void setStart_time(Timestamp start_time) {
- this.start_time = start_time;
- }
-
- public Timestamp getEnd_time() {
- return end_time;
- }
-
- public void setEnd_time(Timestamp end_time) {
- this.end_time = end_time;
- }
}