gets the value of the header 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 header property . for example , to add a new item , do as follows : getheader . add newitem ; objects of the following type s are allowed in the list headertype concode_field_sep ResumptionTokenType resumptionToken concode_elem_sep List<HeaderType> header concode_field_sep ResumptionTokenType getResumptionToken concode_elem_sep void setResumptionToken
List < HeaderType > function ( ) { if ( header == null ) { header = new ArrayList < HeaderType > ( ) ; } return header ; }