List < Object > function ( ) { if ( namedStyleOrUserStyle == null ) { namedStyleOrUserStyle = new ArrayList < Object > ( ) ; } return this . namedStyleOrUserStyle ; }
gets the value of the namedstyleoruserstyle 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 namedstyleoruserstyle property . for example , to add a new item , do as follows : getnamedstyleoruserstyle . add newitem ; objects of the following type s are allowed in the list userstyle namedstyle concode_field_sep String name concode_elem_sep LayerFeatureConstraints layerFeatureConstraints concode_elem_sep List<Object> namedStyleOrUserStyle concode_field_sep void setName concode_elem_sep LayerFeatureConstraints getLayerFeatureConstraints concode_elem_sep String getName concode_elem_sep void setLayerFeatureConstraints