List < ControlFieldType > function ( ) { if ( controlfield == null ) { controlfield = new ArrayList < > ( ) ; } return this . controlfield ; }
gets the value of the controlfield 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 controlfield property . for example , to add a new item , do as follows : getcontrolfield . add newitem ; objects of the following type s are allowed in the list controlfieldtype concode_field_sep LeaderFieldType leader concode_elem_sep List<DataFieldType> datafield concode_elem_sep String id concode_elem_sep List<ControlFieldType> controlfield concode_elem_sep RecordTypeType type concode_field_sep LeaderFieldType getLeader concode_elem_sep RecordTypeType getType concode_elem_sep List<DataFieldType> getDatafield concode_elem_sep void setDatafield concode_elem_sep void setId concode_elem_sep String getId concode_elem_sep void setType concode_elem_sep void setLeader