69 lines
1.9 KiB
Java
69 lines
1.9 KiB
Java
package it.acxent.contab;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
|
|
public class RigaDocumentoPMCR extends CRAdapter {
|
|
private long id_rigaDocumento;
|
|
|
|
private long id_rigaDocumentoPrelevata;
|
|
|
|
private double quantitaPrelevata;
|
|
|
|
private RigaDocumento rigaDocumento;
|
|
|
|
private RigaDocumento rigaDocumentoPrelevata;
|
|
|
|
public RigaDocumentoPMCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public RigaDocumentoPMCR() {}
|
|
|
|
public void setId_rigaDocumento(long newId_rigaDocumento) {
|
|
this.id_rigaDocumento = newId_rigaDocumento;
|
|
setRigaDocumento(null);
|
|
}
|
|
|
|
public void setId_rigaDocumentoPrelevata(long newId_rigaDocumentoPrelevata) {
|
|
this.id_rigaDocumentoPrelevata = newId_rigaDocumentoPrelevata;
|
|
setRigaDocumentoPrelevata(null);
|
|
}
|
|
|
|
public void setQuantitaPrelevata(double newQuantitaPrelevata) {
|
|
this.quantitaPrelevata = newQuantitaPrelevata;
|
|
}
|
|
|
|
public long getId_rigaDocumento() {
|
|
return this.id_rigaDocumento;
|
|
}
|
|
|
|
public long getId_rigaDocumentoPrelevata() {
|
|
return this.id_rigaDocumentoPrelevata;
|
|
}
|
|
|
|
public double getQuantitaPrelevata() {
|
|
return this.quantitaPrelevata;
|
|
}
|
|
|
|
public void setRigaDocumento(RigaDocumento newRigaDocumento) {
|
|
this.rigaDocumento = newRigaDocumento;
|
|
}
|
|
|
|
public RigaDocumento getRigaDocumento() {
|
|
this.rigaDocumento = (RigaDocumento)getSecondaryObject(this.rigaDocumento, RigaDocumento.class,
|
|
getId_rigaDocumento());
|
|
return this.rigaDocumento;
|
|
}
|
|
|
|
public void setRigaDocumentoPrelevata(RigaDocumento newRigaDocumentoPrelevata) {
|
|
this.rigaDocumentoPrelevata = newRigaDocumentoPrelevata;
|
|
}
|
|
|
|
public RigaDocumento getRigaDocumentoPrelevata() {
|
|
this.rigaDocumentoPrelevata = (RigaDocumento)getSecondaryObject(this.rigaDocumentoPrelevata, RigaDocumento.class,
|
|
|
|
getId_rigaDocumentoPrelevata());
|
|
return this.rigaDocumentoPrelevata;
|
|
}
|
|
}
|