56 lines
1.3 KiB
Java
56 lines
1.3 KiB
Java
package it.acxent.newsletter;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
|
|
public class AllegatoTemplateMsgCR extends CRAdapter {
|
|
private long id_allegatoTemplateMsg;
|
|
|
|
private long id_templateMsg;
|
|
|
|
private String nomeFile;
|
|
|
|
private TemplateMsg templateMsg;
|
|
|
|
public AllegatoTemplateMsgCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public AllegatoTemplateMsgCR() {}
|
|
|
|
public void setId_allegatoTemplateMsg(long newId_allegatoTemplateMsg) {
|
|
this.id_allegatoTemplateMsg = newId_allegatoTemplateMsg;
|
|
}
|
|
|
|
public void setId_templateMsg(long newId_templateMsg) {
|
|
this.id_templateMsg = newId_templateMsg;
|
|
setTemplateMsg(null);
|
|
}
|
|
|
|
public void setNomeFile(String newNomeFile) {
|
|
this.nomeFile = newNomeFile;
|
|
}
|
|
|
|
public long getId_allegatoTemplateMsg() {
|
|
return this.id_allegatoTemplateMsg;
|
|
}
|
|
|
|
public long getId_templateMsg() {
|
|
return this.id_templateMsg;
|
|
}
|
|
|
|
public String getNomeFile() {
|
|
return (this.nomeFile == null) ? "" : this.nomeFile.trim();
|
|
}
|
|
|
|
public void setTemplateMsg(TemplateMsg newTemplateMsg) {
|
|
this.templateMsg = newTemplateMsg;
|
|
}
|
|
|
|
public TemplateMsg getTemplateMsg() {
|
|
this.templateMsg = (TemplateMsg)getSecondaryObject(this.templateMsg, TemplateMsg.class,
|
|
|
|
getId_templateMsg());
|
|
return this.templateMsg;
|
|
}
|
|
}
|