public void setParentBChildZazs(List<ParentBChildZaz> parentBChildZazs) { ListDiff<ParentBChildZaz> diff = ListDiff.of(this.getParentBChildZazs(), parentBChildZazs); for (ParentBChildZaz o : diff.removed) { this.removeParentBChildZaz(o); } for (ParentBChildZaz o : diff.added) { this.addParentBChildZaz(o); } }
public void setParentBChildBars(List<ParentBChildBar> parentBChildBars) { ListDiff<ParentBChildBar> diff = ListDiff.of(this.getParentBChildBars(), parentBChildBars); for (ParentBChildBar o : diff.removed) { this.removeParentBChildBar(o); } for (ParentBChildBar o : diff.added) { this.addParentBChildBar(o); } }
public void setParentBChildFoos(List<ParentBChildFoo> parentBChildFoos) { ListDiff<ParentBChildFoo> diff = ListDiff.of(this.getParentBChildFoos(), parentBChildFoos); for (ParentBChildFoo o : diff.removed) { this.removeParentBChildFoo(o); } for (ParentBChildFoo o : diff.added) { this.addParentBChildFoo(o); } }
public void setInheritanceABases(List<InheritanceABase> inheritanceABases) { ListDiff<InheritanceABase> diff = ListDiff.of(this.getInheritanceABases(), inheritanceABases); for (InheritanceABase o : diff.removed) { this.removeInheritanceABase(o); } for (InheritanceABase o : diff.added) { this.addInheritanceABase(o); } this.inheritanceABases.set(inheritanceABases); }