96 lines
2.2 KiB
Java
96 lines
2.2 KiB
Java
package it.acxent.art;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
|
|
public class AmzFeaturedPriceCR extends CRAdapter {
|
|
private long id_amzFeaturedPrice;
|
|
|
|
private long id_articolo;
|
|
|
|
private String lang;
|
|
|
|
private double featuredOEPriceAmz;
|
|
|
|
private double competingFOPriceAmz;
|
|
|
|
private double currentFOPriceAmz;
|
|
|
|
private double currentPriceAmz;
|
|
|
|
private Articolo articolo;
|
|
|
|
public AmzFeaturedPriceCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public AmzFeaturedPriceCR() {}
|
|
|
|
public void setId_amzFeaturedPrice(long newId_amzFeaturedPrice) {
|
|
this.id_amzFeaturedPrice = newId_amzFeaturedPrice;
|
|
}
|
|
|
|
public void setId_articolo(long newId_articolo) {
|
|
this.id_articolo = newId_articolo;
|
|
setArticolo(null);
|
|
}
|
|
|
|
public void setLang(String newLang) {
|
|
this.lang = newLang;
|
|
}
|
|
|
|
public void setFeaturedOEPriceAmz(double newFeaturedOEPriceAmz) {
|
|
this.featuredOEPriceAmz = newFeaturedOEPriceAmz;
|
|
}
|
|
|
|
public void setCompetingFOPriceAmz(double newCompetingFOPriceAmz) {
|
|
this.competingFOPriceAmz = newCompetingFOPriceAmz;
|
|
}
|
|
|
|
public void setCurrentFOPriceAmz(double newCurrentFOPriceAmz) {
|
|
this.currentFOPriceAmz = newCurrentFOPriceAmz;
|
|
}
|
|
|
|
public void setCurrentPriceAmz(double newCurrentPriceAmz) {
|
|
this.currentPriceAmz = newCurrentPriceAmz;
|
|
}
|
|
|
|
public long getId_amzFeaturedPrice() {
|
|
return this.id_amzFeaturedPrice;
|
|
}
|
|
|
|
public long getId_articolo() {
|
|
return this.id_articolo;
|
|
}
|
|
|
|
public String getLang() {
|
|
return (this.lang == null) ? "" : this.lang.trim();
|
|
}
|
|
|
|
public double getFeaturedOEPriceAmz() {
|
|
return this.featuredOEPriceAmz;
|
|
}
|
|
|
|
public double getCompetingFOPriceAmz() {
|
|
return this.competingFOPriceAmz;
|
|
}
|
|
|
|
public double getCurrentFOPriceAmz() {
|
|
return this.currentFOPriceAmz;
|
|
}
|
|
|
|
public double getCurrentPriceAmz() {
|
|
return this.currentPriceAmz;
|
|
}
|
|
|
|
public void setArticolo(Articolo newArticolo) {
|
|
this.articolo = newArticolo;
|
|
}
|
|
|
|
public Articolo getArticolo() {
|
|
this.articolo = (Articolo)getSecondaryObject(this.articolo, Articolo.class,
|
|
|
|
getId_articolo());
|
|
return this.articolo;
|
|
}
|
|
}
|