List < String > function ( ) { if ( usage == null ) { usage = new ArrayList < String > ( ) ; } return this . usage ; }
gets the value of the usage 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 usage property . for example , to add a new item , do as follows : getusage . add newitem ; objects of the following type s are allowed in the list string concode_field_sep List<String> usage concode_elem_sep Map<QName,String> otherAttributes concode_elem_sep String id concode_elem_sep List<Object> any concode_field_sep void setId concode_elem_sep String getId concode_elem_sep Map<QName,String> getOtherAttributes concode_elem_sep List<Object> getAny