gets the value of the step 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 step property . for example , to add a new item , do as follows : getstep . add newitem ; objects of the following type s are allowed in the list abstractstept concode_field_sep List<XMLGregorianCalendar> scheduledOn concode_elem_sep AbstractSourceT creator concode_elem_sep ExtensionsT extensions concode_elem_sep String notes concode_elem_sep String name concode_elem_sep List<AbstractStepT> step concode_elem_sep SportT sport concode_field_sep void setName concode_elem_sep void setNotes concode_elem_sep List<XMLGregorianCalendar> getScheduledOn concode_elem_sep String getName concode_elem_sep String getNotes concode_elem_sep void setSport concode_elem_sep void setCreator concode_elem_sep SportT getSport concode_elem_sep AbstractSourceT getCreator concode_elem_sep ExtensionsT getExtensions concode_elem_sep void setExtensions
List < AbstractStepT > function ( ) { if ( step == null ) { step = new ArrayList < > ( ) ; } return this . step ; }