gets the value of the method 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 method property . for example , to add a new item , do as follows : getmethod . add newitem ; objects of the following type s are allowed in the list method concode_field_sep List<Method> method concode_elem_sep BigInteger retryCount concode_elem_sep Description description concode_elem_sep String id concode_field_sep void setId concode_elem_sep String getId concode_elem_sep void setDescription concode_elem_sep Description getDescription concode_elem_sep BigInteger getRetryCount concode_elem_sep void setRetryCount
List < Method > function ( ) { if ( method == null ) { method = new ArrayList < Method > ( ) ; } return this . method ; }