package it.acxent.news; import it.acxent.db.ApplParmFull; import it.acxent.db.CRAdapter; import java.sql.Date; public class NewsletterCR extends CRAdapter { private long id_newsletter; private Date dataNewsletter; private String titolo_it; private String titolo_en; private String imgTmst; public NewsletterCR(ApplParmFull newApplParmFull) { super(newApplParmFull); } public NewsletterCR() {} public void setId_newsletter(long newId_newsletter) { this.id_newsletter = newId_newsletter; } public void setDataNewsletter(Date newDataNewsletter) { this.dataNewsletter = newDataNewsletter; } public void setTitolo_it(String newTitolo_it) { this.titolo_it = newTitolo_it; } public void setTitolo_en(String newTitolo_en) { this.titolo_en = newTitolo_en; } public void setImgTmst(String newImgTmst) { this.imgTmst = newImgTmst; } public long getId_newsletter() { return this.id_newsletter; } public Date getDataNewsletter() { return this.dataNewsletter; } public String getTitolo_it() { return (this.titolo_it == null) ? "" : this.titolo_it; } public String getTitolo_en() { return (this.titolo_en == null) ? "" : this.titolo_en; } public String getImgTmst() { return (this.imgTmst == null) ? "" : this.imgTmst; } public String getTitolo() { return getTitolo_it(); } }