gets the value of the displaytypes 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 displaytypes property . for example , to add a new item , do as follows : getdisplaytypes . add newitem ; objects of the following type s are allowed in the list displaytype concode_field_sep List<DisplayAdSpecActivationOption> activationOptions concode_elem_sep List<DisplayType> displayTypes concode_elem_sep List<DisplayAdSpecAdSizeSpec> adSizeSpecs concode_field_sep List<DisplayAdSpecActivationOption> getActivationOptions concode_elem_sep List<DisplayAdSpecAdSizeSpec> getAdSizeSpecs
List < DisplayType > function ( ) { if ( displayTypes == null ) { displayTypes = new ArrayList < DisplayType > ( ) ; } return this . displayTypes ; }