List < Creative > function ( ) { if ( creatives == null ) { creatives = new ArrayList < Creative > ( ) ; } return this . creatives ; }
gets the value of the creatives 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 creatives property . for example , to add a new item , do as follows : getcreatives . add newitem ; objects of the following type s are allowed in the list creative concode_field_sep PhoneNumber phoneNumber concode_elem_sep Money remainingBudget concode_elem_sep List<Criterion> criteria concode_elem_sep String name concode_elem_sep List<Creative> creatives concode_elem_sep Long id concode_elem_sep String destinationUrl concode_elem_sep Boolean callTrackingEnabled concode_elem_sep List<Long> campaignIds concode_elem_sep Boolean streetAddressVisible concode_elem_sep PromotionStatus status concode_elem_sep Money budget concode_field_sep void setName concode_elem_sep void setBudget concode_elem_sep List<Criterion> getCriteria concode_elem_sep String getName concode_elem_sep Money getRemainingBudget concode_elem_sep void setCallTrackingEnabled concode_elem_sep Long getId concode_elem_sep Money getBudget concode_elem_sep PromotionStatus getStatus concode_elem_sep void setStatus concode_elem_sep void setRemainingBudget concode_elem_sep String getDestinationUrl concode_elem_sep void setPhoneNumber concode_elem_sep List<Long> getCampaignIds concode_elem_sep void setId concode_elem_sep Boolean isCallTrackingEnabled concode_elem_sep void setDestinationUrl concode_elem_sep PhoneNumber getPhoneNumber concode_elem_sep void setStreetAddressVisible concode_elem_sep Boolean isStreetAddressVisible