List < Object > function ( ) { if ( resourceNameOrJndiNameOrResUrl == null ) { resourceNameOrJndiNameOrResUrl = new ArrayList < Object > ( ) ; } return this . resourceNameOrJndiNameOrResUrl ; }
gets the value of the resourcenameorjndinameorresurl 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 resourcenameorjndinameorresurl property . for example , to add a new item , do as follows : getresourcenameorjndinameorresurl . add newitem ; objects of the following type s are allowed in the list resourcename jndiname resurl concode_field_sep String resRefName concode_elem_sep List<Object> resourceNameOrJndiNameOrResUrl concode_field_sep String getResRefName concode_elem_sep void setResRefName