package it.acxent.newsletter; import it.acxent.db.ApplParmFull; import it.acxent.db.CRAdapter; public class TemplateMsgCR extends CRAdapter { private long id_templateMsg; private String descrizione; private long flgTipo; private String messaggio; public TemplateMsgCR(ApplParmFull newApplParmFull) { super(newApplParmFull); } public TemplateMsgCR() {} public void setId_templateMsg(long newId_templateMsg) { this.id_templateMsg = newId_templateMsg; } public void setDescrizione(String newDescrizione) { this.descrizione = newDescrizione; } public void setFlgTipo(long newFlgTipo) { this.flgTipo = newFlgTipo; } public void setMessaggio(String newMessaggio) { this.messaggio = newMessaggio; } public long getId_templateMsg() { return this.id_templateMsg; } public String getDescrizione() { return (this.descrizione == null) ? "" : this.descrizione.trim(); } public long getFlgTipo() { return this.flgTipo; } public String getMessaggio() { return (this.messaggio == null) ? "" : this.messaggio.trim(); } public static final String getTipo(long l_flgTipo) { return CodaMessaggi.getTipo(l_flgTipo); } public String getTipo() { return CodaMessaggi.getTipo(getFlgTipo()); } }