42 lines
851 B
Java
42 lines
851 B
Java
package it.acxent.anag;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
|
|
public class PortoCR extends CRAdapter {
|
|
private long id_porto;
|
|
|
|
private String descrizione;
|
|
|
|
private String nota;
|
|
|
|
public PortoCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public PortoCR() {}
|
|
|
|
public void setId_porto(long newId_porto) {
|
|
this.id_porto = newId_porto;
|
|
}
|
|
|
|
public void setDescrizione(String newDescrizione) {
|
|
this.descrizione = newDescrizione;
|
|
}
|
|
|
|
public void setNota(String newNota) {
|
|
this.nota = newNota;
|
|
}
|
|
|
|
public long getId_porto() {
|
|
return this.id_porto;
|
|
}
|
|
|
|
public String getDescrizione() {
|
|
return (this.descrizione == null) ? "" : this.descrizione.trim();
|
|
}
|
|
|
|
public String getNota() {
|
|
return (this.nota == null) ? "" : this.nota.trim();
|
|
}
|
|
}
|