question: 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 PasswordType password concode_elem_sep List<ExtensionType> extension concode_elem_sep BigInteger preauth concode_elem_sep RestrictedPasswordType restrictedPassword concode_elem_sep ActivationPinType activationPin concode_elem_sep ExtensionOnlyType smartcard concode_elem_sep TokenType token concode_field_sep void setPassword concode_elem_sep ExtensionOnlyType getSmartcard concode_elem_sep void setSmartcard concode_elem_sep PasswordType getPassword concode_elem_sep RestrictedPasswordType getRestrictedPassword concode_elem_sep void setToken concode_elem_sep void setActivationPin concode_elem_sep TokenType getToken concode_elem_sep void setPreauth concode_elem_sep BigInteger getPreauth concode_elem_sep void setRestrictedPassword concode_elem_sep ActivationPinType getActivationPin
target: List < ExtensionType > function ( ) { if ( extension == null ) { extension = new ArrayList < ExtensionType > ( ) ; } return this . extension ; }