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%2FPortList.java;h=93732ffcdcee597e3b4f3f70654b46f14a2cdb99;hp=64c89292124a705eab1e2115c5698884ac4b8808;hb=023280727ac52e777b4128d726e212c9e8abd435;hpb=1ecf9de8c889adb2dbc9ddd9a79d28e1da89d87b diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/PortList.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/PortList.java index 64c892921..93732ffcd 100644 --- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/PortList.java +++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/PortList.java @@ -36,41 +36,41 @@ import javax.persistence.Table; @Table(name="portlist") @NamedQuery(name="PortList.findAll", query="SELECT e FROM PortList e ") public class PortList implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 1L; - @Id - @GeneratedValue(strategy = GenerationType.AUTO) - @Column(name="id") - private int id; - - @Column(name="portname", nullable=false) - @OrderBy("asc") - private String portName; - - @Column(name="description") - private String description; + @Id + @GeneratedValue(strategy = GenerationType.AUTO) + @Column(name="id") + private int id; - public int getId() { - return this.id; - } + @Column(name="portname", nullable=false) + @OrderBy("asc") + private String portName; - public void setId(int id) { - this.id = id; - } - public String getPortName() { - return this.portName; - } + @Column(name="description") + private String description; - public void setPortName(String portName) { - this.portName = portName; + public int getId() { + return this.id; + } - } - public String getDescription() { - return this.description; - } + public void setId(int id) { + this.id = id; + } + public String getPortName() { + return this.portName; + } + + public void setPortName(String portName) { + this.portName = portName; + + } + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } - public void setDescription(String description) { - this.description = description; - } - }