32 lines
854 B
Java
32 lines
854 B
Java
package it.acxent.art;
|
|
|
|
import it.acxent.anag._AnagAdapter;
|
|
import it.acxent.db.ApplParm;
|
|
import it.acxent.db.ApplParmFull;
|
|
|
|
public class _ArtAdapter extends _AnagAdapter {
|
|
public static final long SF_BOZZA = 0L;
|
|
|
|
public static final long SF_EMESSA = 1L;
|
|
|
|
public static final long SF_REG_IVA = 2L;
|
|
|
|
protected static ApplParmFull ap2;
|
|
|
|
public _ArtAdapter() {}
|
|
|
|
public _ArtAdapter(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
protected void deleteCascade() {}
|
|
|
|
protected ApplParmFull getAp2() {
|
|
if (ap2 == null) {
|
|
ApplParm apx = new ApplParm(getApFull().getParm("DBDRIVER2").getNumeroInt(), getApFull().getParm("DBNAME2").getTesto(),
|
|
getApFull().getParm("USER2").getTesto(), getApFull().getParm("PASSWORD2").getTesto());
|
|
ap2 = new ApplParmFull(apx);
|
|
}
|
|
return ap2;
|
|
}
|
|
}
|