nuova entitychild
This commit is contained in:
@@ -328,7 +328,7 @@ public class MtbAart extends EntityBase {
|
|||||||
private List<MtbPartitaMag> mtbPartitaMag;
|
private List<MtbPartitaMag> mtbPartitaMag;
|
||||||
|
|
||||||
@EntityChild
|
@EntityChild
|
||||||
private List<MrlAartSchTecSet> MrlAartSchTecSet;
|
private List<MrlAartSchTecSet> mrlAartSchTecSet;
|
||||||
|
|
||||||
@Priority(101)
|
@Priority(101)
|
||||||
List<JtbCicl> jtbCicl;
|
List<JtbCicl> jtbCicl;
|
||||||
@@ -1238,12 +1238,13 @@ public class MtbAart extends EntityBase {
|
|||||||
this.mtbPartitaMag = mtbPartitaMag;
|
this.mtbPartitaMag = mtbPartitaMag;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<it.integry.ems_model.entity.MrlAartSchTecSet> getMrlAartSchTecSet() {
|
public List<MrlAartSchTecSet> getMrlAartSchTecSet() {
|
||||||
return MrlAartSchTecSet;
|
return mrlAartSchTecSet;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setMrlAartSchTecSet(List<it.integry.ems_model.entity.MrlAartSchTecSet> mrlAartSchTecSet) {
|
public MtbAart setMrlAartSchTecSet(List<MrlAartSchTecSet> mrlAartSchTecSet) {
|
||||||
MrlAartSchTecSet = mrlAartSchTecSet;
|
this.mrlAartSchTecSet = mrlAartSchTecSet;
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<MtbLisa> getMtbLisa() {
|
public List<MtbLisa> getMtbLisa() {
|
||||||
@@ -1280,34 +1281,6 @@ public class MtbAart extends EntityBase {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void insertChilds() throws Exception {
|
|
||||||
for (MtbAartAnag mtbAartAnag : getMtbAartAnag()) {
|
|
||||||
mtbAartAnag.manageWithParentConnection(connection, mtbAartAnag.getOperation(), dataCompleting, entityHolder);
|
|
||||||
}
|
|
||||||
for (MtbSpes mtbSpes : getMtbSpes()) {
|
|
||||||
mtbSpes.manageWithParentConnection(connection, mtbSpes.getOperation(), dataCompleting, entityHolder);
|
|
||||||
}
|
|
||||||
for (MtbComp mtbComp : getMtbComp()) {
|
|
||||||
mtbComp.manageWithParentConnection(connection, mtbComp.getOperation(), dataCompleting, entityHolder);
|
|
||||||
}
|
|
||||||
for (MtbAartBarCode mtbAartBarCode : getMtbAartBarCode()) {
|
|
||||||
mtbAartBarCode.manageWithParentConnection(connection, mtbAartBarCode.getOperation(), dataCompleting, entityHolder);
|
|
||||||
}
|
|
||||||
for (MtbAartCarat mtbAartCarat : getMtbAartCarat()) {
|
|
||||||
mtbAartCarat.manageWithParentConnection(connection, mtbAartCarat.getOperation(), dataCompleting, entityHolder);
|
|
||||||
}
|
|
||||||
for (MtbAartDesc mtbAartDesc : getMtbAartDesc()) {
|
|
||||||
mtbAartDesc.manageWithParentConnection(connection, mtbAartDesc.getOperation(), dataCompleting, entityHolder);
|
|
||||||
}
|
|
||||||
for (MtbPartitaMag mtbPartitaMag : getMtbPartitaMag()) {
|
|
||||||
mtbPartitaMag.manageWithParentConnection(connection, mtbPartitaMag.getOperation(), dataCompleting, entityHolder);
|
|
||||||
}
|
|
||||||
for (MtbAartLink mtbAartLink : getMtbAartLink()) {
|
|
||||||
mtbAartLink.manageWithParentConnection(connection, mtbAartLink.getOperation(), dataCompleting, entityHolder);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void updateChilds() throws Exception {
|
protected void updateChilds() throws Exception {
|
||||||
insertChilds();
|
insertChilds();
|
||||||
@@ -1333,5 +1306,7 @@ public class MtbAart extends EntityBase {
|
|||||||
mtbPartitaMag.deleteAllEntities(connection, this);
|
mtbPartitaMag.deleteAllEntities(connection, this);
|
||||||
MtbAartLink mtbAartLink = new MtbAartLink();
|
MtbAartLink mtbAartLink = new MtbAartLink();
|
||||||
mtbAartLink.deleteAllEntities(connection, this);
|
mtbAartLink.deleteAllEntities(connection, this);
|
||||||
|
MrlAartSchTecSet mrlAartSchTecSet = new MrlAartSchTecSet();
|
||||||
|
mrlAartSchTecSet.deleteAllEntities(connection, this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user