List < ExtensionType > function ( ) { if ( extension == null ) { extension = new ArrayList < ExtensionType > ( ) ; } return this . extension ; }
gets the value of the extension 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 extension property . for example , to add a new item , do as follows : getextension . add newitem ; objects of the following type s are allowed in the list extensiontype concode_field_sep List<ExtensionType> extension concode_elem_sep String keyValidation concode_field_sep void setKeyValidation concode_elem_sep String getKeyValidation