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 ExtensionOnlyType deactivationCallCenter concode_elem_sep List<ExtensionType> extension concode_elem_sep SecurityAuditType securityAudit concode_field_sep SecurityAuditType getSecurityAudit concode_elem_sep void setDeactivationCallCenter concode_elem_sep ExtensionOnlyType getDeactivationCallCenter concode_elem_sep void setSecurityAudit
List < ExtensionType > function ( ) { if ( extension == null ) { extension = new ArrayList < ExtensionType > ( ) ; } return this . extension ; }