Beispiel #1
0
 public PromotionRule removePromotionRule(PromotionRule promotionRule) {
   getPromotionRules().remove(promotionRule);
   promotionRule.setPromotion(null);
   return promotionRule;
 }
Beispiel #2
0
 public PromotionRule addPromotionRule(PromotionRule promotionRule) {
   getPromotionRules().add(promotionRule);
   promotionRule.setPromotion(this);
   return promotionRule;
 }