88 lines
1.8 KiB
Java
88 lines
1.8 KiB
Java
package it.acxent.art;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
|
|
public class CaratteristicaCR extends CRAdapter {
|
|
private long id_caratteristica;
|
|
|
|
private String descrizione;
|
|
|
|
private long flgTipoVal;
|
|
|
|
private long id_tipo;
|
|
|
|
private Tipo tipo;
|
|
|
|
private long flgCR;
|
|
|
|
public static final String getTipoVal(long l_flgTipoVal) {
|
|
return Caratteristica.getTipoVal(l_flgTipoVal);
|
|
}
|
|
|
|
private long flgRicercaWeb = -1L;
|
|
|
|
public CaratteristicaCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public CaratteristicaCR() {}
|
|
|
|
public void setId_caratteristica(long newId_caratteristica) {
|
|
this.id_caratteristica = newId_caratteristica;
|
|
}
|
|
|
|
public void setDescrizione(String newDescrizione) {
|
|
this.descrizione = newDescrizione;
|
|
}
|
|
|
|
public void setFlgTipoVal(long newFlgTipoVal) {
|
|
this.flgTipoVal = newFlgTipoVal;
|
|
}
|
|
|
|
public long getId_caratteristica() {
|
|
return this.id_caratteristica;
|
|
}
|
|
|
|
public String getDescrizione() {
|
|
return (this.descrizione == null) ? "" : this.descrizione;
|
|
}
|
|
|
|
public long getFlgTipoVal() {
|
|
return this.flgTipoVal;
|
|
}
|
|
|
|
public long getId_tipo() {
|
|
return this.id_tipo;
|
|
}
|
|
|
|
public Tipo getTipo() {
|
|
this.tipo = (Tipo)getSecondaryObject(this.tipo, Tipo.class, getId_tipo());
|
|
return this.tipo;
|
|
}
|
|
|
|
public void setId_tipo(long id_tipo) {
|
|
this.id_tipo = id_tipo;
|
|
setTipo(null);
|
|
}
|
|
|
|
public void setTipo(Tipo tipo) {
|
|
this.tipo = tipo;
|
|
}
|
|
|
|
public long getFlgCR() {
|
|
return this.flgCR;
|
|
}
|
|
|
|
public void setFlgCR(long flgCR) {
|
|
this.flgCR = flgCR;
|
|
}
|
|
|
|
public long getFlgRicercaWeb() {
|
|
return this.flgRicercaWeb;
|
|
}
|
|
|
|
public void setFlgRicercaWeb(long flgRicercaWeb) {
|
|
this.flgRicercaWeb = flgRicercaWeb;
|
|
}
|
|
}
|