List < AdUnitTargeting > function ( ) { if ( targetedAdUnits == null ) { targetedAdUnits = new ArrayList < AdUnitTargeting > ( ) ; } return this . targetedAdUnits ; }
gets the value of the targetedadunits 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 targetedadunits property . for example , to add a new item , do as follows : gettargetedadunits . add newitem ; objects of the following type s are allowed in the list adunittargeting concode_field_sep List<Long> targetedPlacementIds concode_elem_sep List<AdUnitTargeting> targetedAdUnits concode_elem_sep List<AdUnitTargeting> excludedAdUnits concode_field_sep List<AdUnitTargeting> getExcludedAdUnits concode_elem_sep List<Long> getTargetedPlacementIds