List < Element > function ( ) { if ( any == null ) { any = new ArrayList < Element > ( ) ; } return this . any ; }
gets the value of the any 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 any property . for example , to add a new item , do as follows : getany . add newitem ; objects of the following type s are allowed in the list element concode_field_sep Principal principal concode_elem_sep Collection collection concode_elem_sep List<Element> any concode_field_sep Collection getCollection concode_elem_sep Principal getPrincipal concode_elem_sep void setPrincipal concode_elem_sep void setCollection