X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ONAP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Frest%2Fjpa%2FProtocolList.java;fp=ONAP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Frest%2Fjpa%2FProtocolList.java;h=5e79e678547da4feaff49c10c3e70547857085ff;hb=023280727ac52e777b4128d726e212c9e8abd435;hp=7e96c4053b37641843b3557bd9bdbae11d311947;hpb=1ecf9de8c889adb2dbc9ddd9a79d28e1da89d87b;p=policy%2Fengine.git diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ProtocolList.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ProtocolList.java index 7e96c4053..5e79e6785 100644 --- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ProtocolList.java +++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ProtocolList.java @@ -36,44 +36,44 @@ import javax.persistence.Table; @Table(name="protocollist") @NamedQuery(name="ProtocolList.findAll", query="SELECT e FROM ProtocolList e ") public class ProtocolList 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="protocolname", nullable=false) - @OrderBy("asc") - private String protocolName; - - @Column(name="description") - private String description; + @Id + @GeneratedValue(strategy = GenerationType.AUTO) + @Column(name="id") + private int id; - public String getProtocolName() { - return this.protocolName; - } + @Column(name="protocolname", nullable=false) + @OrderBy("asc") + private String protocolName; - public void setProtocolName(String protocolName) { - this.protocolName = protocolName; + @Column(name="description") + private String description; - } - - public String getDescription() { - return this.description; - } + public String getProtocolName() { + return this.protocolName; + } - public void setDescription(String description) { - this.description = description; + public void setProtocolName(String protocolName) { + this.protocolName = protocolName; - } - - public int getId() { - return this.id; - } + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + + } + + public int getId() { + return this.id; + } + + public void setId(int id) { + this.id = id; + } - public void setId(int id) { - this.id = id; - } - }