List < SubscriberPromotionType > function ( ) { if ( removedPromotion == null ) { removedPromotion = new ArrayList < SubscriberPromotionType > ( ) ; } return this . removedPromotion ; }
gets the value of the removedpromotion property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the removedpromotion property . for example , to add a new item , do as follows : getremovedpromotion . add newitem ; objects of the following type s are allowed in the list subscriberpromotiontype concode_field_sep List<SubscriberPromotionType> removedPromotion concode_elem_sep long serialVersionUID concode_elem_sep String msisdn concode_elem_sep PeriodicCostSummaryType periodicCostSummary concode_elem_sep StatusType status concode_field_sep PeriodicCostSummaryType getPeriodicCostSummary concode_elem_sep void setPeriodicCostSummary concode_elem_sep StatusType getStatus concode_elem_sep String getMsisdn concode_elem_sep void setStatus concode_elem_sep void setMsisdn