aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authornoahs <noah.shogan@amdocs.com>2019-05-28 10:48:08 +0300
committernoahs <noah.shogan@amdocs.com>2019-05-28 10:48:08 +0300
commitd6b413c5036eabae4ba0948cebe3e6968af31ddb (patch)
treebc28b4d8b1284c8d2f70fff8a2ae3d4f9b9f39a8 /common
parenta5c129bd1dceda21de77b26681ff0e33999d49c9 (diff)
Add Lombok support to PreconditionDefinition
add @Data annotation Change-Id: Ia1482cfb0b1775d4d729df7d0bfc182f59dd15b5 Issue-ID: SDC-2331 Signed-off-by: noahs <noah.shogan@amdocs.com>
Diffstat (limited to 'common')
-rw-r--r--common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PreconditionDefinition.java25
1 files changed, 2 insertions, 23 deletions
diff --git a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PreconditionDefinition.java b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PreconditionDefinition.java
index 8bd5c540b0..efdc8bf2ad 100644
--- a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PreconditionDefinition.java
+++ b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PreconditionDefinition.java
@@ -1,32 +1,11 @@
package org.onap.sdc.tosca.datatypes.model;
+import lombok.Data;
+@Data
public class PreconditionDefinition {
private String target;
private String target_relationship;
private Constraint condition;
- public String getTarget() {
- return target;
- }
-
- public void setTarget(String target) {
- this.target = target;
- }
-
- public String getTarget_relationship() {
- return target_relationship;
- }
-
- public void setTarget_relationship(String target_relationship) {
- this.target_relationship = target_relationship;
- }
-
- public Constraint getCondition() {
- return condition;
- }
-
- public void setCondition(Constraint condition) {
- this.condition = condition;
- }
}