List < InStreamAdSpecInStreamType > function ( ) { if ( inStreamTypes == null ) { inStreamTypes = new ArrayList < InStreamAdSpecInStreamType > ( ) ; } return this . inStreamTypes ; }
gets the value of the instreamtypes 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 instreamtypes property . for example , to add a new item , do as follows : getinstreamtypes . add newitem ; objects of the following type s are allowed in the list instreamadspecinstreamtype concode_field_sep List<InStreamAdSpecInStreamType> inStreamTypes concode_elem_sep List<Long> durations concode_field_sep List<Long> getDurations