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