modificata classe vtb_vett

This commit is contained in:
2024-08-05 16:04:26 +02:00
parent 30d1c061e4
commit 1f925e5852

View File

@@ -77,6 +77,9 @@ public class VtbVett extends EntityBase {
@EntityChild
private List<VtbVetr> vtbVetr;
@EntityChild
private List<VtbVettTarghe> vtbVettTarghe;
private String precode;
public VtbVett() {
@@ -245,23 +248,21 @@ public class VtbVett extends EntityBase {
return this;
}
@Override
protected void insertChilds() throws Exception {
for (VtbVetr vtbVetr : getVtbVetr()) {
vtbVetr.manageWithParentConnection(connection, vtbVetr.getOperation(), dataCompleting, entityHolder);
}
public List<VtbVettTarghe> getVtbVettTarghe() {
return vtbVettTarghe;
}
@Override
protected void updateChilds() throws Exception {
for (VtbVetr vtbVetr : getVtbVetr()) {
vtbVetr.manageWithParentConnection(connection, vtbVetr.getOperation(), dataCompleting, entityHolder);
}
public void setVtbVettTarghe(List<VtbVettTarghe> vtbVettTarghe) {
this.vtbVettTarghe = vtbVettTarghe;
}
@Override
protected void deleteChilds() throws Exception {
VtbVetr vtbVetr = new VtbVetr();
vtbVetr.deleteAllEntities(connection, this);
VtbVettTarghe vtbVettTarghe = new VtbVettTarghe();
vtbVettTarghe.deleteAllEntities(connection, this);
}
}