aboutsummaryrefslogtreecommitdiffstats
path: root/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/DictionaryData.java
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2019-11-08 16:11:50 +0000
committerliamfallon <liam.fallon@est.tech>2019-11-12 09:20:22 +0000
commit0c20d1c294fe146e1018f14b07a8d861c29fe527 (patch)
tree04d82d897c7ecf69771a5810443109e17749eae5 /ONAP-REST/src/main/java/org/onap/policy/rest/jpa/DictionaryData.java
parent2ee068fed59becbd3327937125264bdcf651f7b8 (diff)
JUnit/SONAR/Checkstyle in ONAP-REST
Third batch of JPA pojos (E-M), with JUnit added and SONAR/Checkstyle issues addressed. In cases where a class name change caused an update in another package, the license header on files for those knock on changes are not updated. Issue-ID: POLICY-2131 Change-Id: I4fee1e9fb9c8a69dd6f2f15d3e3a8844473b857b Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'ONAP-REST/src/main/java/org/onap/policy/rest/jpa/DictionaryData.java')
-rw-r--r--ONAP-REST/src/main/java/org/onap/policy/rest/jpa/DictionaryData.java38
1 files changed, 5 insertions, 33 deletions
diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/DictionaryData.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/DictionaryData.java
index 40b8fcc33..a3db91b75 100644
--- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/DictionaryData.java
+++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/DictionaryData.java
@@ -29,9 +29,14 @@ import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
+import lombok.Getter;
+import lombok.Setter;
+
@Entity
@Table(name = "DictionaryData")
@NamedQuery(name = "DictionaryData.findAll", query = "SELECT v FROM DictionaryData v ")
+@Getter
+@Setter
public class DictionaryData {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@@ -46,37 +51,4 @@ public class DictionaryData {
@Column(name = "dictionaryDataByName", nullable = false, length = 1024)
private String dictionaryDataByName;
-
- public String getDictionaryUrl() {
- return dictionaryUrl;
- }
-
- public void setDictionaryUrl(String dictionaryUrl) {
- this.dictionaryUrl = dictionaryUrl;
- }
-
- public String getDictionaryDataByName() {
- return dictionaryDataByName;
- }
-
- public void setDictionaryDataByName(String dictionaryDataByName) {
- this.dictionaryDataByName = dictionaryDataByName;
- }
-
- public String getDictionaryName() {
- return dictionaryName;
- }
-
- public void setDictionaryName(String dictionaryName) {
- this.dictionaryName = dictionaryName;
- }
-
- public int getId() {
- return this.id;
- }
-
- public void setId(int id) {
- this.id = id;
- }
-
}