package it.acxent.newsletter; import it.acxent.db.ApplParmFull; import it.acxent.db.CRAdapter; public class AllegatoCodaMessaggiCR extends CRAdapter { private long id_allegatoCodaMessaggi; private long id_codaMessaggi; private String nomeFile; private CodaMessaggi codaMessaggi; public AllegatoCodaMessaggiCR(ApplParmFull newApplParmFull) { super(newApplParmFull); } public AllegatoCodaMessaggiCR() {} public void setId_allegatoCodaMessaggi(long newId_allegatoCodaMessaggi) { this.id_allegatoCodaMessaggi = newId_allegatoCodaMessaggi; } public void setId_codaMessaggi(long newId_codaMessaggi) { this.id_codaMessaggi = newId_codaMessaggi; setCodaMessaggi(null); } public void setNomeFile(String newNomeFile) { this.nomeFile = newNomeFile; } public long getId_allegatoCodaMessaggi() { return this.id_allegatoCodaMessaggi; } public long getId_codaMessaggi() { return this.id_codaMessaggi; } public String getNomeFile() { return (this.nomeFile == null) ? "" : this.nomeFile.trim(); } public void setCodaMessaggi(CodaMessaggi newCodaMessaggi) { this.codaMessaggi = newCodaMessaggi; } public CodaMessaggi getCodaMessaggi() { this.codaMessaggi = (CodaMessaggi)getSecondaryObject(this.codaMessaggi, CodaMessaggi.class, getId_codaMessaggi()); return this.codaMessaggi; } }