コード例 #1
0
 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);
   }
 }
コード例 #2
0
 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);
   }
 }
コード例 #3
0
 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);
   }
 }
コード例 #4
0
 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);
 }