70 lines
1.8 KiB
Java
70 lines
1.8 KiB
Java
|
|
package it.acxent.contab;
|
||
|
|
|
||
|
|
import it.acxent.db.ApplParmFull;
|
||
|
|
import it.acxent.db.CRAdapter;
|
||
|
|
|
||
|
|
public class DocPrelCR extends CRAdapter {
|
||
|
|
private long id_docPrel;
|
||
|
|
|
||
|
|
private long id_tipoDocumentoPrel;
|
||
|
|
|
||
|
|
private long id_tipoDocumento;
|
||
|
|
|
||
|
|
private TipoDocumento tipoDocumentoPrel;
|
||
|
|
|
||
|
|
private TipoDocumento tipoDocumento;
|
||
|
|
|
||
|
|
public DocPrelCR(ApplParmFull newApplParmFull) {
|
||
|
|
super(newApplParmFull);
|
||
|
|
}
|
||
|
|
|
||
|
|
public DocPrelCR() {}
|
||
|
|
|
||
|
|
public void setId_docPrel(long newId_docPrel) {
|
||
|
|
this.id_docPrel = newId_docPrel;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setId_tipoDocumentoPrel(long newId_tipoDocumentoPrel) {
|
||
|
|
this.id_tipoDocumentoPrel = newId_tipoDocumentoPrel;
|
||
|
|
setTipoDocumentoPrel(null);
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setId_tipoDocumento(long newId_tipoDocumento) {
|
||
|
|
this.id_tipoDocumento = newId_tipoDocumento;
|
||
|
|
setTipoDocumento(null);
|
||
|
|
}
|
||
|
|
|
||
|
|
public long getId_docPrel() {
|
||
|
|
return this.id_docPrel;
|
||
|
|
}
|
||
|
|
|
||
|
|
public long getId_tipoDocumentoPrel() {
|
||
|
|
return this.id_tipoDocumentoPrel;
|
||
|
|
}
|
||
|
|
|
||
|
|
public long getId_tipoDocumento() {
|
||
|
|
return this.id_tipoDocumento;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTipoDocumentoPrel(TipoDocumento newTipoDocumentoPrel) {
|
||
|
|
this.tipoDocumentoPrel = newTipoDocumentoPrel;
|
||
|
|
}
|
||
|
|
|
||
|
|
public TipoDocumento getTipoDocumentoPrel() {
|
||
|
|
this.tipoDocumentoPrel = (TipoDocumento)getSecondaryObject(this.tipoDocumentoPrel, TipoDocumento.class,
|
||
|
|
|
||
|
|
getId_tipoDocumentoPrel());
|
||
|
|
return this.tipoDocumentoPrel;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTipoDocumento(TipoDocumento newTipoDocumento) {
|
||
|
|
this.tipoDocumento = newTipoDocumento;
|
||
|
|
}
|
||
|
|
|
||
|
|
public TipoDocumento getTipoDocumento() {
|
||
|
|
this.tipoDocumento = (TipoDocumento)getSecondaryObject(this.tipoDocumento, TipoDocumento.class,
|
||
|
|
|
||
|
|
getId_tipoDocumento());
|
||
|
|
return this.tipoDocumento;
|
||
|
|
}
|
||
|
|
}
|