package it.acxent.cc; import it.acxent.art.Tipo; import it.acxent.db.ApplParmFull; import it.acxent.db.CRAdapter; public class WwwAutomatorCR extends CRAdapter { private long id_wwwAutomator; private long id_tipo; private String categoriaImport; private String searchTxt; private long qtaMaxAcquistoWww; private double ricarico; private long flgGoogle; private Tipo tipo; private long flgAbilita = -1L; public WwwAutomatorCR(ApplParmFull newApplParmFull) { super(newApplParmFull); } public WwwAutomatorCR() {} public void setId_wwwAutomator(long newId_wwwAutomator) { this.id_wwwAutomator = newId_wwwAutomator; } public void setId_tipo(long newId_tipo) { this.id_tipo = newId_tipo; setTipo(null); } public void setCategoriaImport(String newCategoriaImport) { this.categoriaImport = newCategoriaImport; } public void setSearchTxt(String newSearchTxt) { this.searchTxt = newSearchTxt; } public void setQtaMaxAcquistoWww(long newQtaMaxAcquistoWww) { this.qtaMaxAcquistoWww = newQtaMaxAcquistoWww; } public void setRicarico(double newRicaricoBA) { this.ricarico = newRicaricoBA; } public void setFlgGoogle(long newFlgGoogle) { this.flgGoogle = newFlgGoogle; } public long getId_wwwAutomator() { return this.id_wwwAutomator; } public long getId_tipo() { return this.id_tipo; } public String getCategoriaImport() { return (this.categoriaImport == null) ? "" : this.categoriaImport.trim(); } public String getSearchTxt() { return (this.searchTxt == null) ? "" : this.searchTxt.trim(); } public long getQtaMaxAcquistoWww() { return this.qtaMaxAcquistoWww; } public double getRicarico() { return this.ricarico; } public long getFlgGoogle() { return this.flgGoogle; } public void setTipo(Tipo newTipo) { this.tipo = newTipo; } public Tipo getTipo() { this.tipo = (Tipo)getSecondaryObject(this.tipo, Tipo.class, getId_tipo()); return this.tipo; } public long getFlgAbilita() { return this.flgAbilita; } public void setFlgAbilita(long flgAbilita) { this.flgAbilita = flgAbilita; } }