X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=blobdiff_plain;f=ONAP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Frest%2Fjpa%2FDictionaryData.java;h=a3db91b75b471c9696097ccb86f8c2e5aa06450d;hp=85a5091e82c7559027e8b8daac0dbec0279563b3;hb=0c20d1c294fe146e1018f14b07a8d861c29fe527;hpb=06e02108525c3e5e8c85de233aef3bb332173c00 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 85a5091e8..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 @@ -3,6 +3,7 @@ * ONAP-REST * ================================================================================ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2019 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +29,15 @@ 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 { - private static final long serialVersionUID = 1L; - @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "id") @@ -47,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; - } - }