68 lines
1.5 KiB
Java
68 lines
1.5 KiB
Java
package it.acxent.art;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
|
|
public class ArticoloComponenteCR extends CRAdapter {
|
|
private long id_articoloComponente;
|
|
|
|
private long id_componente;
|
|
|
|
private long id_articolo;
|
|
|
|
private double perc;
|
|
|
|
private Articolo articolo;
|
|
|
|
private Componente componente;
|
|
|
|
public ArticoloComponenteCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public ArticoloComponenteCR() {}
|
|
|
|
public long getId_articoloComponente() {
|
|
return this.id_articoloComponente;
|
|
}
|
|
|
|
public void setId_articoloComponente(long id_articoloComponente) {
|
|
this.id_articoloComponente = id_articoloComponente;
|
|
}
|
|
|
|
public long getId_componente() {
|
|
return this.id_componente;
|
|
}
|
|
|
|
public void setId_componente(long id_componente) {
|
|
this.id_componente = id_componente;
|
|
}
|
|
|
|
public long getId_articolo() {
|
|
return this.id_articolo;
|
|
}
|
|
|
|
public void setId_articolo(long id_articolo) {
|
|
this.id_articolo = id_articolo;
|
|
}
|
|
|
|
public double getPerc() {
|
|
return this.perc;
|
|
}
|
|
|
|
public void setPerc(double perc) {
|
|
this.perc = perc;
|
|
}
|
|
|
|
public Articolo getArticolo() {
|
|
this.articolo = (Articolo)getSecondaryObject(this.articolo, Articolo.class,
|
|
getId_articolo());
|
|
return this.articolo;
|
|
}
|
|
|
|
public Componente getComponente() {
|
|
this.componente = (Componente)getSecondaryObject(this.componente, Componente.class,
|
|
getId_componente());
|
|
return this.componente;
|
|
}
|
|
}
|