X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ONAP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Frest%2Fjpa%2FMicroServiceLocation.java;h=669b191e7b6569b821e865f6afdf3af3c9e8b37a;hb=f4ec47c009cdc385a7efed02dda5d26f2ec31b57;hp=da7227511ba912f18164e06680de0cc64e8b0fcd;hpb=49048e277bba438cf6486c1229b53f608a7af114;p=policy%2Fengine.git diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/MicroServiceLocation.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/MicroServiceLocation.java index da7227511..669b191e7 100644 --- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/MicroServiceLocation.java +++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/MicroServiceLocation.java @@ -37,41 +37,41 @@ import javax.persistence.Table; @Table(name="MicroServiceLocation") @NamedQuery(name="MicroServiceLocation.findAll", query="SELECT e FROM MicroServiceLocation e ") public class MicroServiceLocation 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="name", nullable=false) - @OrderBy("asc") - private String name; - - @Column(name="description ") - private String description ; - - public int getId() { - return this.id; - } + @Id + @GeneratedValue(strategy = GenerationType.AUTO) + @Column(name="id") + private int id; - public void setId(int id) { - this.id = id; - } - public String getName() { - return this.name; - } + @Column(name="name", nullable=false) + @OrderBy("asc") + private String name; - public void setName(String name) { - this.name = name; + @Column(name="description ") + private String description ; - } - public String getDescriptionValue() { - return this.description ; - } + public int getId() { + return this.id; + } + + public void setId(int id) { + this.id = id; + } + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + + } + public String getDescriptionValue() { + return this.description ; + } + + public void setDescriptionValue(String description ) { + this.description = description ; + } - public void setDescriptionValue(String description ) { - this.description = description ; - } - }