94 lines
2.5 KiB
Java
94 lines
2.5 KiB
Java
|
|
package it.acxent.contab;
|
||
|
|
|
||
|
|
import it.acxent.db.ApplParmFull;
|
||
|
|
import it.acxent.db.CRAdapter;
|
||
|
|
|
||
|
|
public class RigaDocumentoPCR extends CRAdapter {
|
||
|
|
private long id_documento;
|
||
|
|
|
||
|
|
private long id_rigaDocumento;
|
||
|
|
|
||
|
|
private long id_rigaDocumentoPrelevata;
|
||
|
|
|
||
|
|
private double quantitaPrelevata;
|
||
|
|
|
||
|
|
private Documento documento;
|
||
|
|
|
||
|
|
private RigaDocumento rigaDocumento;
|
||
|
|
|
||
|
|
private RigaDocumento rigaDocumentoPrelevata;
|
||
|
|
|
||
|
|
public RigaDocumentoPCR(ApplParmFull newApplParmFull) {
|
||
|
|
super(newApplParmFull);
|
||
|
|
}
|
||
|
|
|
||
|
|
public RigaDocumentoPCR() {}
|
||
|
|
|
||
|
|
public void setId_documento(long newId_documento) {
|
||
|
|
this.id_documento = newId_documento;
|
||
|
|
setDocumento(null);
|
||
|
|
}
|
||
|
|
|
||
|
|
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_documento() {
|
||
|
|
return this.id_documento;
|
||
|
|
}
|
||
|
|
|
||
|
|
public long getId_rigaDocumento() {
|
||
|
|
return this.id_rigaDocumento;
|
||
|
|
}
|
||
|
|
|
||
|
|
public long getId_rigaDocumentoPrelevata() {
|
||
|
|
return this.id_rigaDocumentoPrelevata;
|
||
|
|
}
|
||
|
|
|
||
|
|
public double getQuantitaPrelevata() {
|
||
|
|
return this.quantitaPrelevata;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setDocumento(Documento newDocumento) {
|
||
|
|
this.documento = newDocumento;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Documento getDocumento() {
|
||
|
|
this.documento = (Documento)getSecondaryObject(this.documento, Documento.class,
|
||
|
|
|
||
|
|
getId_documento());
|
||
|
|
return this.documento;
|
||
|
|
}
|
||
|
|
|
||
|
|
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;
|
||
|
|
}
|
||
|
|
}
|