X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ONAP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Frest%2Fjpa%2FActionBodyEntity.java;h=c0c009fb9ab184185caeb23ddaf8ac3355adfbad;hb=refs%2Fchanges%2F93%2F98193%2F4;hp=f47e474c6c7c415c7e686fa7b9a342a1a4fdb207;hpb=2ee068fed59becbd3327937125264bdcf651f7b8;p=policy%2Fengine.git diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ActionBodyEntity.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ActionBodyEntity.java index f47e474c6..c0c009fb9 100644 --- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ActionBodyEntity.java +++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ActionBodyEntity.java @@ -8,9 +8,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -41,7 +41,9 @@ import javax.persistence.Temporal; import javax.persistence.TemporalType; import javax.persistence.Version; -import lombok.Data; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; /* * The Entity class to persist a policy object Action Body @@ -55,8 +57,10 @@ import lombok.Data; @NamedQuery(name = "ActionBodyEntity.deleteAll", query = "DELETE FROM ActionBodyEntity WHERE 1=1") } ) -@Data -//@foramtter:on +@Getter +@Setter +@NoArgsConstructor +// @foramtter:on public class ActionBodyEntity implements Serializable { private static final long serialVersionUID = 1L; @@ -95,10 +99,6 @@ public class ActionBodyEntity implements Serializable { @Column(name = "deleted", nullable = false) private boolean deleted = false; - public ActionBodyEntity() { - // An empty constructor - } - /** * Called before an instance is persisted. */