List < Component > function ( ) { if ( component == null ) { component = new ArrayList < Component > ( ) ; } return this . component ; }
gets the value of the component 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 component property . for example , to add a new item , do as follows : getcomponent . add newitem ; objects of the following type s are allowed in the list component concode_field_sep List<Component> component concode_elem_sep String applicationName concode_field_sep String getApplicationName concode_elem_sep void setApplicationName