List < ActivityReferenceT > function ( ) { if ( multisportActivityRef == null ) { multisportActivityRef = new ArrayList < > ( ) ; } return this . multisportActivityRef ; }
gets the value of the multisportactivityref 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 multisportactivityref property . for example , to add a new item , do as follows : getmultisportactivityref . add newitem ; objects of the following type s are allowed in the list activityreferencet concode_field_sep ExtensionsT extensions concode_elem_sep List<MultiSportFolderT> folder concode_elem_sep List<WeekT> week concode_elem_sep String notes concode_elem_sep String name concode_elem_sep List<ActivityReferenceT> multisportActivityRef concode_field_sep List<MultiSportFolderT> getFolder concode_elem_sep void setName concode_elem_sep void setNotes concode_elem_sep String getName concode_elem_sep String getNotes concode_elem_sep List<WeekT> getWeek concode_elem_sep ExtensionsT getExtensions concode_elem_sep void setExtensions