List < String > function ( ) { if ( this . recordTypeIds == null ) { this . recordTypeIds = new ArrayList < String > ( ) ; } return this . recordTypeIds ; }
gets the value of the recordtypeids 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 recordtypeids property . for example , to add a new item , do as follows : getrecordtypeids . add newitem ; objects of the following type s are allowed in the list string concode_field_sep String sObjectType concode_elem_sep List<String> recordTypeIds concode_field_sep void setRecordTypeIds concode_elem_sep void setSObjectType concode_elem_sep String getSObjectType