169 lines
3.4 KiB
Java
169 lines
3.4 KiB
Java
package it.acxent.tarop;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
import java.sql.Date;
|
|
|
|
public class TariffaCR extends CRAdapter {
|
|
private long id_tariffa;
|
|
|
|
private long flgFM = -1L;
|
|
|
|
private long flgPA = -1L;
|
|
|
|
private long flgAR = -1L;
|
|
|
|
private long flgTablet = -1L;
|
|
|
|
private String descrizione;
|
|
|
|
private String titolo;
|
|
|
|
private String sottotitolo;
|
|
|
|
private String costo;
|
|
|
|
private String costoScontato;
|
|
|
|
private String descrizioneSconto;
|
|
|
|
private Date dataScadenza;
|
|
|
|
private Date dataScadenzaA;
|
|
|
|
private Date dataScadenzaDa;
|
|
|
|
public TariffaCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public TariffaCR() {}
|
|
|
|
public void setId_tariffa(long newId_tipoTariffa) {
|
|
this.id_tariffa = newId_tipoTariffa;
|
|
}
|
|
|
|
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 setFlgTablet(long newFlgTablet) {
|
|
this.flgTablet = newFlgTablet;
|
|
}
|
|
|
|
public void setDescrizione(String newDescrizione) {
|
|
this.descrizione = newDescrizione;
|
|
}
|
|
|
|
public void setTitolo(String newTitolo) {
|
|
this.titolo = newTitolo;
|
|
}
|
|
|
|
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 long getId_tariffa() {
|
|
return this.id_tariffa;
|
|
}
|
|
|
|
public long getFlgFM() {
|
|
return this.flgFM;
|
|
}
|
|
|
|
public long getFlgPA() {
|
|
return this.flgPA;
|
|
}
|
|
|
|
public long getFlgAR() {
|
|
return this.flgAR;
|
|
}
|
|
|
|
public long getFlgTablet() {
|
|
return this.flgTablet;
|
|
}
|
|
|
|
public String getDescrizione() {
|
|
return (this.descrizione == null) ? "" :
|
|
this.descrizione.trim();
|
|
}
|
|
|
|
public String getTitolo() {
|
|
return (this.titolo == null) ? "" : this.titolo.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 Date getDataScadenzaA() {
|
|
return this.dataScadenzaA;
|
|
}
|
|
|
|
public void setDataScadenzaA(Date dataScadenzaA) {
|
|
this.dataScadenzaA = dataScadenzaA;
|
|
}
|
|
|
|
public Date getDataScadenzaDa() {
|
|
return this.dataScadenzaDa;
|
|
}
|
|
|
|
public void setDataScadenzaDa(Date dataScadenzaDa) {
|
|
this.dataScadenzaDa = dataScadenzaDa;
|
|
}
|
|
|
|
public String getAR() {
|
|
return Tariffa.getAR(getFlgAR());
|
|
}
|
|
|
|
public String getFM() {
|
|
return Tariffa.getFM(getFlgFM());
|
|
}
|
|
|
|
public String getPA() {
|
|
return Tariffa.getPA(getFlgPA());
|
|
}
|
|
}
|