113 lines
2.6 KiB
Java
113 lines
2.6 KiB
Java
package it.acxent.anag.tr;
|
|
|
|
import it.acxent.anag.Clifor;
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
|
|
public class PersonaCaricoCR extends CRAdapter {
|
|
private static final long serialVersionUID = -5540037425456661778L;
|
|
|
|
private long id_personaCarico;
|
|
|
|
private long id_clifor;
|
|
|
|
private long id_tipoPersonaCarico;
|
|
|
|
private String cognomePC;
|
|
|
|
private String nomePC;
|
|
|
|
private String codFiscPC;
|
|
|
|
private double percCarico;
|
|
|
|
private Clifor clifor;
|
|
|
|
private TipoPersonaCarico tipoPersonaCarico;
|
|
|
|
public PersonaCaricoCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public PersonaCaricoCR() {}
|
|
|
|
public void setId_personaCarico(long newId_personaCarico) {
|
|
this.id_personaCarico = newId_personaCarico;
|
|
}
|
|
|
|
public void setId_clifor(long newId_clifor) {
|
|
this.id_clifor = newId_clifor;
|
|
setClifor(null);
|
|
}
|
|
|
|
public void setId_tipoPersonaCarico(long newId_tipoPersonaCarico) {
|
|
this.id_tipoPersonaCarico = newId_tipoPersonaCarico;
|
|
setTipoPersonaCarico(null);
|
|
}
|
|
|
|
public void setCognomePC(String newCognomePC) {
|
|
this.cognomePC = newCognomePC;
|
|
}
|
|
|
|
public void setNomePC(String newNomePC) {
|
|
this.nomePC = newNomePC;
|
|
}
|
|
|
|
public void setCodFiscPC(String newCodFisc) {
|
|
this.codFiscPC = newCodFisc;
|
|
}
|
|
|
|
public void setPercCarico(double newPercCarico) {
|
|
this.percCarico = newPercCarico;
|
|
}
|
|
|
|
public long getId_personaCarico() {
|
|
return this.id_personaCarico;
|
|
}
|
|
|
|
public long getId_clifor() {
|
|
return this.id_clifor;
|
|
}
|
|
|
|
public long getId_tipoPersonaCarico() {
|
|
return this.id_tipoPersonaCarico;
|
|
}
|
|
|
|
public String getCognomePC() {
|
|
return (this.cognomePC == null) ? "" : this.cognomePC.trim();
|
|
}
|
|
|
|
public String getNomePC() {
|
|
return (this.nomePC == null) ? "" : this.nomePC.trim();
|
|
}
|
|
|
|
public String getCodFiscPC() {
|
|
return (this.codFiscPC == null) ? "" : this.codFiscPC.trim();
|
|
}
|
|
|
|
public double getPercCarico() {
|
|
return this.percCarico;
|
|
}
|
|
|
|
public void setClifor(Clifor newClifor) {
|
|
this.clifor = newClifor;
|
|
}
|
|
|
|
public Clifor getClifor() {
|
|
this.clifor = (Clifor)getSecondaryObject(this.clifor, Clifor.class,
|
|
|
|
getId_clifor());
|
|
return this.clifor;
|
|
}
|
|
|
|
public void setTipoPersonaCarico(TipoPersonaCarico newTipoPersonaCarico) {
|
|
this.tipoPersonaCarico = newTipoPersonaCarico;
|
|
}
|
|
|
|
public TipoPersonaCarico getTipoPersonaCarico() {
|
|
this.tipoPersonaCarico = (TipoPersonaCarico)getSecondaryObject(this.tipoPersonaCarico, TipoPersonaCarico.class,
|
|
|
|
getId_tipoPersonaCarico());
|
|
return this.tipoPersonaCarico;
|
|
}
|
|
}
|