modificata classe vtb_vett
This commit is contained in:
@@ -77,6 +77,9 @@ public class VtbVett extends EntityBase {
|
|||||||
@EntityChild
|
@EntityChild
|
||||||
private List<VtbVetr> vtbVetr;
|
private List<VtbVetr> vtbVetr;
|
||||||
|
|
||||||
|
@EntityChild
|
||||||
|
private List<VtbVettTarghe> vtbVettTarghe;
|
||||||
|
|
||||||
private String precode;
|
private String precode;
|
||||||
|
|
||||||
public VtbVett() {
|
public VtbVett() {
|
||||||
@@ -245,23 +248,21 @@ public class VtbVett extends EntityBase {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
public List<VtbVettTarghe> getVtbVettTarghe() {
|
||||||
protected void insertChilds() throws Exception {
|
return vtbVettTarghe;
|
||||||
for (VtbVetr vtbVetr : getVtbVetr()) {
|
|
||||||
vtbVetr.manageWithParentConnection(connection, vtbVetr.getOperation(), dataCompleting, entityHolder);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
public void setVtbVettTarghe(List<VtbVettTarghe> vtbVettTarghe) {
|
||||||
protected void updateChilds() throws Exception {
|
this.vtbVettTarghe = vtbVettTarghe;
|
||||||
for (VtbVetr vtbVetr : getVtbVetr()) {
|
|
||||||
vtbVetr.manageWithParentConnection(connection, vtbVetr.getOperation(), dataCompleting, entityHolder);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void deleteChilds() throws Exception {
|
protected void deleteChilds() throws Exception {
|
||||||
VtbVetr vtbVetr = new VtbVetr();
|
VtbVetr vtbVetr = new VtbVetr();
|
||||||
vtbVetr.deleteAllEntities(connection, this);
|
vtbVetr.deleteAllEntities(connection, this);
|
||||||
|
VtbVettTarghe vtbVettTarghe = new VtbVettTarghe();
|
||||||
|
vtbVettTarghe.deleteAllEntities(connection, this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user