187 lines
4.2 KiB
Java
187 lines
4.2 KiB
Java
package it.acxent.tarop;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
import java.sql.Date;
|
|
|
|
public class OpzioneCR extends CRAdapter {
|
|
private long id_opzione;
|
|
|
|
private long flgTipoOpzione = -1L;
|
|
|
|
private long flgFM = -1L;
|
|
|
|
private long flgPA = -1L;
|
|
|
|
private long flgAR = -1L;
|
|
|
|
private String descrizione;
|
|
|
|
private String titlo;
|
|
|
|
private String sottotitolo;
|
|
|
|
private String costo;
|
|
|
|
private String costoScontato;
|
|
|
|
private String descrizioneSconto;
|
|
|
|
private Date dataScadenza;
|
|
|
|
private String descrizioneCompatibilita;
|
|
|
|
private long id_categoriaOpzione;
|
|
|
|
private CategoriaOpzione categoriaOpzione;
|
|
|
|
private Date dataScadenzaDa;
|
|
|
|
private Date dataScadenzaA;
|
|
|
|
public OpzioneCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public OpzioneCR() {}
|
|
|
|
public void setId_opzione(long newId_opzione) {
|
|
this.id_opzione = newId_opzione;
|
|
}
|
|
|
|
public void setFlgTipoOpzione(long newFlgTipoOpzione) {
|
|
this.flgTipoOpzione = newFlgTipoOpzione;
|
|
}
|
|
|
|
public void setFlgFM(long newFlgFM) {
|
|
this.flgFM = newFlgFM;
|
|
}
|
|
|
|
public void setFlgPA(long newFlgPA) {
|
|
this.flgPA = newFlgPA;
|
|
}
|
|
|
|
public void setFlgAR(long newFlgAR) {
|
|
this.flgAR = newFlgAR;
|
|
}
|
|
|
|
public void setDescrizione(String newDescrizione) {
|
|
this.descrizione = newDescrizione;
|
|
}
|
|
|
|
public void setTitlo(String newTitlo) {
|
|
this.titlo = newTitlo;
|
|
}
|
|
|
|
public void setSottotitolo(String newSottotitolo) {
|
|
this.sottotitolo = newSottotitolo;
|
|
}
|
|
|
|
public void setCosto(String newCosto) {
|
|
this.costo = newCosto;
|
|
}
|
|
|
|
public void setCostoScontato(String newCostoScontato) {
|
|
this.costoScontato = newCostoScontato;
|
|
}
|
|
|
|
public void setDescrizioneSconto(String newDescrizioneSconto) {
|
|
this.descrizioneSconto = newDescrizioneSconto;
|
|
}
|
|
|
|
public void setDataScadenza(Date newDataScadenza) {
|
|
this.dataScadenza = newDataScadenza;
|
|
}
|
|
|
|
public void setDescrizioneCompatibilita(String newDescrizioneCompatibilita) {
|
|
this.descrizioneCompatibilita = newDescrizioneCompatibilita;
|
|
}
|
|
|
|
public void setId_categoriaOpzione(long newId_categoriaOpzione) {
|
|
this.id_categoriaOpzione = newId_categoriaOpzione;
|
|
setCategoriaOpzione(null);
|
|
}
|
|
|
|
public long getId_opzione() {
|
|
return this.id_opzione;
|
|
}
|
|
|
|
public long getFlgTipoOpzione() {
|
|
return this.flgTipoOpzione;
|
|
}
|
|
|
|
public long getFlgFM() {
|
|
return this.flgFM;
|
|
}
|
|
|
|
public long getFlgPA() {
|
|
return this.flgPA;
|
|
}
|
|
|
|
public long getFlgAR() {
|
|
return this.flgAR;
|
|
}
|
|
|
|
public String getDescrizione() {
|
|
return (this.descrizione == null) ? "" : this.descrizione.trim();
|
|
}
|
|
|
|
public String getTitlo() {
|
|
return (this.titlo == null) ? "" : this.titlo.trim();
|
|
}
|
|
|
|
public String getSottotitolo() {
|
|
return (this.sottotitolo == null) ? "" : this.sottotitolo.trim();
|
|
}
|
|
|
|
public String getCosto() {
|
|
return (this.costo == null) ? "" : this.costo.trim();
|
|
}
|
|
|
|
public String getCostoScontato() {
|
|
return (this.costoScontato == null) ? "" : this.costoScontato.trim();
|
|
}
|
|
|
|
public String getDescrizioneSconto() {
|
|
return (this.descrizioneSconto == null) ? "" : this.descrizioneSconto.trim();
|
|
}
|
|
|
|
public Date getDataScadenza() {
|
|
return this.dataScadenza;
|
|
}
|
|
|
|
public String getDescrizioneCompatibilita() {
|
|
return (this.descrizioneCompatibilita == null) ? "" : this.descrizioneCompatibilita.trim();
|
|
}
|
|
|
|
public long getId_categoriaOpzione() {
|
|
return this.id_categoriaOpzione;
|
|
}
|
|
|
|
public void setCategoriaOpzione(CategoriaOpzione newCategoriaOpzione) {
|
|
this.categoriaOpzione = newCategoriaOpzione;
|
|
}
|
|
|
|
public CategoriaOpzione getCategoriaOpzione() {
|
|
this.categoriaOpzione = (CategoriaOpzione)getSecondaryObject(this.categoriaOpzione, CategoriaOpzione.class,
|
|
|
|
getId_categoriaOpzione());
|
|
return this.categoriaOpzione;
|
|
}
|
|
|
|
public Date getDataScadenzaDa() {
|
|
return this.dataScadenzaDa;
|
|
}
|
|
|
|
public void setDataScadenzaDa(Date dataScadenzaDa) {
|
|
this.dataScadenzaDa = dataScadenzaDa;
|
|
}
|
|
|
|
public Date getDataScadenzaA() {
|
|
return this.dataScadenzaA;
|
|
}
|
|
|
|
public void setDataScadenzaA(Date dataScadenzaA) {
|
|
this.dataScadenzaA = dataScadenzaA;
|
|
}
|
|
}
|