package it.acxent.cc; import it.acxent.anag.Clifor; import it.acxent.anag.Comune; import it.acxent.db.ApplParmFull; import it.acxent.db.CRAdapter; import java.sql.Date; public class AttivitaCR extends CRAdapter { private long id_attivita; private long id_tipoAttivita; private long id_clifor; private String nomeAttivita; private String descrizioneAttivita; private String indirizzoAttivita; private String numeroCivicoAttivita; private long id_comune; private String descrizioneComuneAttivita; private String descrizioneProvinciaAttivita; private String capComuneAttivita; private long flgGusti; private Date dataIscrizione; private String codiceAttivita; private String noteAttivita; private String imgTmst; private long fglMainSxCategorie; private long flgMainSxVetrinaBestseller; private long flgMainSxVetrinaOfferte; private long flgMainSxUltimiVisualizzati; private String mainSxText; private long flgMainBanner; private long flgMainVetrina; private long flgMainVetrinaCategorie; private long flgTopTelefono; private long flgTopLingue; private long flgTopMail; private String topColoreHex; private long flgHeadCategorie; private long flgHeadMarche; private long flgHeadNewsType; private long flgHeadPagine; private String headColoreHex; private long flgDetailReviews; private long flgDetailRelatedProducts; private String detailDxText; private long flgDetailDxVetrinaBestseller; private long flgDetailDxVetrinaOfferte; private long flgCoupon; private long flgCheckoutGuest; private String accountFacebook; private String accountTwitter; private String accountInstagram; private long flgSocialSide; private long flgFooterSocial; private TipoAttivita tipoAttivita; private Clifor clifor; private Comune comune; public AttivitaCR(ApplParmFull newApplParmFull) { super(newApplParmFull); } public AttivitaCR() {} public static final String getHeadNewsType(long l_flgHeadNewsType) { return Attivita.getHeadNewsType(l_flgHeadNewsType); } public String getHeadNewsType() { return getHeadNewsType(getFlgHeadNewsType()); } public void setId_attivita(long newId_attivita) { this.id_attivita = newId_attivita; } public void setId_tipoAttivita(long newId_tipoAttivita) { this.id_tipoAttivita = newId_tipoAttivita; setTipoAttivita(null); } public void setId_clifor(long newId_clifor) { this.id_clifor = newId_clifor; setClifor(null); } public void setNomeAttivita(String newNomeAttivita) { this.nomeAttivita = newNomeAttivita; } public void setDescrizioneAttivita(String newDescrizioneAttivita) { this.descrizioneAttivita = newDescrizioneAttivita; } public void setIndirizzoAttivita(String newIndirizzoAttivita) { this.indirizzoAttivita = newIndirizzoAttivita; } public void setNumeroCivicoAttivita(String newNumeroCivicoAttivita) { this.numeroCivicoAttivita = newNumeroCivicoAttivita; } public void setId_comune(long newId_comune) { this.id_comune = newId_comune; setComune(null); } public void setDescrizioneComuneAttivita(String newDescrizioneComuneAttivita) { this.descrizioneComuneAttivita = newDescrizioneComuneAttivita; } public void setDescrizioneProvinciaAttivita(String newDescrizioneProvinciaAttivita) { this.descrizioneProvinciaAttivita = newDescrizioneProvinciaAttivita; } public void setCapComuneAttivita(String newCapComuneAttivita) { this.capComuneAttivita = newCapComuneAttivita; } public void setFlgGusti(long newFlgGusti) { this.flgGusti = newFlgGusti; } public void setDataIscrizione(Date newDataIscrizione) { this.dataIscrizione = newDataIscrizione; } public void setCodiceAttivita(String newCodiceAttivita) { this.codiceAttivita = newCodiceAttivita; } public void setNoteAttivita(String newNoteAttivita) { this.noteAttivita = newNoteAttivita; } public void setImgTmst(String newImgTmst) { this.imgTmst = newImgTmst; } public void setFglMainSxCategorie(long newFglMainSxCategorie) { this.fglMainSxCategorie = newFglMainSxCategorie; } public void setFlgMainSxVetrinaBestseller(long newFlgMainSxVetrinaBestseller) { this.flgMainSxVetrinaBestseller = newFlgMainSxVetrinaBestseller; } public void setFlgMainSxVetrinaOfferte(long newFlgMainSxVetrinaOfferte) { this.flgMainSxVetrinaOfferte = newFlgMainSxVetrinaOfferte; } public void setFlgMainSxUltimiVisualizzati(long newFlgMainSxUltimiVisualizzati) { this.flgMainSxUltimiVisualizzati = newFlgMainSxUltimiVisualizzati; } public void setMainSxText(String newMainSxText) { this.mainSxText = newMainSxText; } public void setFlgMainBanner(long newFlgMainBanner) { this.flgMainBanner = newFlgMainBanner; } public void setFlgMainVetrina(long newFlgMainVetrina) { this.flgMainVetrina = newFlgMainVetrina; } public void setFlgMainVetrinaCategorie(long newFlgMainVetrinaCategorie) { this.flgMainVetrinaCategorie = newFlgMainVetrinaCategorie; } public void setFlgTopTelefono(long newFlgTopTelefono) { this.flgTopTelefono = newFlgTopTelefono; } public void setFlgTopLingue(long newFlgTopLingue) { this.flgTopLingue = newFlgTopLingue; } public void setFlgTopMail(long newFlgTopMail) { this.flgTopMail = newFlgTopMail; } public void setTopColoreHex(String newTopColoreHex) { this.topColoreHex = newTopColoreHex; } public void setFlgHeadCategorie(long newFlgHeadCategorie) { this.flgHeadCategorie = newFlgHeadCategorie; } public void setFlgHeadMarche(long newFlgHeadMarche) { this.flgHeadMarche = newFlgHeadMarche; } public void setFlgHeadNewsType(long newFlgHeadNewsType) { this.flgHeadNewsType = newFlgHeadNewsType; } public void setFlgHeadPagine(long newFlgHeadPagine) { this.flgHeadPagine = newFlgHeadPagine; } public void setHeadColoreHex(String newHeadColoreHex) { this.headColoreHex = newHeadColoreHex; } public void setFlgDetailReviews(long newFlgDetailReviws) { this.flgDetailReviews = newFlgDetailReviws; } public void setFlgDetailRelatedProducts(long newFlgDetailRelatedProducts) { this.flgDetailRelatedProducts = newFlgDetailRelatedProducts; } public void setDetailDxText(String newDetailDxText) { this.detailDxText = newDetailDxText; } public void setFlgDetailDxVetrinaBestseller(long newFlgDetailDxVetrinaBestseller) { this.flgDetailDxVetrinaBestseller = newFlgDetailDxVetrinaBestseller; } public void setFlgDetailDxVetrinaOfferte(long newFlgDetailDxVetrinaOfferte) { this.flgDetailDxVetrinaOfferte = newFlgDetailDxVetrinaOfferte; } public void setFlgCoupon(long newFlgCoupon) { this.flgCoupon = newFlgCoupon; } public void setFlgCheckoutGuest(long newFlgCheckoutGuest) { this.flgCheckoutGuest = newFlgCheckoutGuest; } public void setAccountFacebook(String newAccountFacebook) { this.accountFacebook = newAccountFacebook; } public void setAccountTwitter(String newAccountTwitter) { this.accountTwitter = newAccountTwitter; } public void setAccountInstagram(String newAccountInstagram) { this.accountInstagram = newAccountInstagram; } public void setFlgSocialSide(long newFlgSocialSide) { this.flgSocialSide = newFlgSocialSide; } public void setFlgFooterSocial(long newFlgFooterSocial) { this.flgFooterSocial = newFlgFooterSocial; } public long getId_attivita() { return this.id_attivita; } public long getId_tipoAttivita() { return this.id_tipoAttivita; } public long getId_clifor() { return this.id_clifor; } public String getNomeAttivita() { return (this.nomeAttivita == null) ? "" : this.nomeAttivita.trim(); } public String getDescrizioneAttivita() { return (this.descrizioneAttivita == null) ? "" : this.descrizioneAttivita.trim(); } public String getIndirizzoAttivita() { return (this.indirizzoAttivita == null) ? "" : this.indirizzoAttivita.trim(); } public String getNumeroCivicoAttivita() { return (this.numeroCivicoAttivita == null) ? "" : this.numeroCivicoAttivita.trim(); } public long getId_comune() { return this.id_comune; } public String getDescrizioneComuneAttivita() { return (this.descrizioneComuneAttivita == null) ? "" : this.descrizioneComuneAttivita.trim(); } public String getDescrizioneProvinciaAttivita() { return (this.descrizioneProvinciaAttivita == null) ? "" : this.descrizioneProvinciaAttivita.trim(); } public String getCapComuneAttivita() { return (this.capComuneAttivita == null) ? "" : this.capComuneAttivita.trim(); } public long getFlgGusti() { return this.flgGusti; } public Date getDataIscrizione() { return this.dataIscrizione; } public String getCodiceAttivita() { return (this.codiceAttivita == null) ? "" : this.codiceAttivita.trim(); } public String getNoteAttivita() { return (this.noteAttivita == null) ? "" : this.noteAttivita.trim(); } public String getImgTmst() { return (this.imgTmst == null) ? "" : this.imgTmst.trim(); } public long getFglMainSxCategorie() { return this.fglMainSxCategorie; } public long getFlgMainSxVetrinaBestseller() { return this.flgMainSxVetrinaBestseller; } public long getFlgMainSxVetrinaOfferte() { return this.flgMainSxVetrinaOfferte; } public long getFlgMainSxUltimiVisualizzati() { return this.flgMainSxUltimiVisualizzati; } public String getMainSxText() { return (this.mainSxText == null) ? "" : this.mainSxText.trim(); } public long getFlgMainBanner() { return this.flgMainBanner; } public long getFlgMainVetrina() { return this.flgMainVetrina; } public long getFlgMainVetrinaCategorie() { return this.flgMainVetrinaCategorie; } public long getFlgTopTelefono() { return this.flgTopTelefono; } public long getFlgTopLingue() { return this.flgTopLingue; } public long getFlgTopMail() { return this.flgTopMail; } public String getTopColoreHex() { return (this.topColoreHex == null) ? "" : this.topColoreHex.trim(); } public long getFlgHeadCategorie() { return this.flgHeadCategorie; } public long getFlgHeadMarche() { return this.flgHeadMarche; } public long getFlgHeadNewsType() { return this.flgHeadNewsType; } public long getFlgHeadPagine() { return this.flgHeadPagine; } public String getHeadColoreHex() { return (this.headColoreHex == null) ? "" : this.headColoreHex.trim(); } public long getFlgDetailReviews() { return this.flgDetailReviews; } public long getFlgDetailRelatedProducts() { return this.flgDetailRelatedProducts; } public String getDetailDxText() { return (this.detailDxText == null) ? "" : this.detailDxText.trim(); } public long getFlgDetailDxVetrinaBestseller() { return this.flgDetailDxVetrinaBestseller; } public long getFlgDetailDxVetrinaOfferte() { return this.flgDetailDxVetrinaOfferte; } public long getFlgCoupon() { return this.flgCoupon; } public long getFlgCheckoutGuest() { return this.flgCheckoutGuest; } public String getAccountFacebook() { return (this.accountFacebook == null) ? "" : this.accountFacebook.trim(); } public String getAccountTwitter() { return (this.accountTwitter == null) ? "" : this.accountTwitter.trim(); } public String getAccountInstagram() { return (this.accountInstagram == null) ? "" : this.accountInstagram.trim(); } public long getFlgSocialSide() { return this.flgSocialSide; } public long getFlgFooterSocial() { return this.flgFooterSocial; } public void setTipoAttivita(TipoAttivita newTipoAttivita) { this.tipoAttivita = newTipoAttivita; } public TipoAttivita getTipoAttivita() { this.tipoAttivita = (TipoAttivita)getSecondaryObject(this.tipoAttivita, TipoAttivita.class, getId_tipoAttivita()); return this.tipoAttivita; } public void setClifor(Clifor newClifor) { this.clifor = newClifor; } public Clifor getClifor() { this.clifor = (Clifor)getSecondaryObject(this.clifor, Clifor.class, getId_clifor()); return this.clifor; } public void setComune(Comune newComune) { this.comune = newComune; } public Comune getComune() { this.comune = (Comune)getSecondaryObject(this.comune, Comune.class, getId_comune()); return this.comune; } }