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%2FClosedLoopSite.java;h=fb220d7c075ce4962f6e32e8f2ca03fd379a451e;hp=fc88010420ad4ca51f7842c9b66114578178eb72;hb=0c20d1c294fe146e1018f14b07a8d861c29fe527;hpb=2ee068fed59becbd3327937125264bdcf651f7b8 diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopSite.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopSite.java index fc8801042..fb220d7c0 100644 --- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopSite.java +++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopSite.java @@ -21,9 +21,6 @@ package org.onap.policy.rest.jpa; -/* - * - */ import java.io.Serializable; import java.util.Date; @@ -42,12 +39,17 @@ import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; +import lombok.Getter; +import lombok.Setter; + /** * The Class ClosedLoopSite. */ @Entity @Table(name = "ClosedLoopSite") @NamedQuery(name = "ClosedLoopSite.findAll", query = "SELECT c FROM ClosedLoopSite c ") +@Getter +@Setter public class ClosedLoopSite implements Serializable { private static final long serialVersionUID = 1L; @@ -86,42 +88,6 @@ public class ClosedLoopSite implements Serializable { this.setModifiedDate(new Date()); } - /** - * Gets the user created by. - * - * @return the user created by - */ - public UserInfo getUserCreatedBy() { - return userCreatedBy; - } - - /** - * Sets the user created by. - * - * @param userCreatedBy the new user created by - */ - public void setUserCreatedBy(UserInfo userCreatedBy) { - this.userCreatedBy = userCreatedBy; - } - - /** - * Gets the user modified by. - * - * @return the user modified by - */ - public UserInfo getUserModifiedBy() { - return userModifiedBy; - } - - /** - * Sets the user modified by. - * - * @param userModifiedBy the new user modified by - */ - public void setUserModifiedBy(UserInfo userModifiedBy) { - this.userModifiedBy = userModifiedBy; - } - /** * Pre persist. */ @@ -139,95 +105,4 @@ public class ClosedLoopSite implements Serializable { public void preUpdate() { this.modifiedDate = new Date(); } - - /** - * Gets the id. - * - * @return the id - */ - public int getId() { - return id; - } - - /** - * Sets the id. - * - * @param id the new id - */ - public void setId(int id) { - this.id = id; - } - - /** - * Gets the site name. - * - * @return the site name - */ - public String getSiteName() { - return siteName; - } - - /** - * Sets the site name. - * - * @param siteName the new site name - */ - public void setSiteName(String siteName) { - this.siteName = siteName; - } - - /** - * Gets the description. - * - * @return the description - */ - public String getDescription() { - return description; - } - - /** - * Sets the description. - * - * @param description the new description - */ - public void setDescription(String description) { - this.description = description; - } - - /** - * Gets the created date. - * - * @return the created date - */ - public Date getCreatedDate() { - return createdDate; - } - - /** - * Sets the created date. - * - * @param createdDate the new created date - */ - public void setCreatedDate(Date createdDate) { - this.createdDate = createdDate; - } - - /** - * Gets the modified date. - * - * @return the modified date - */ - public Date getModifiedDate() { - return modifiedDate; - } - - /** - * Sets the modified date. - * - * @param modifiedDate the new modified date - */ - public void setModifiedDate(Date modifiedDate) { - this.modifiedDate = modifiedDate; - } - }