modificata classe vtb_vett
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user