List < WptType > function ( ) { if ( rtept == null ) { rtept = new ArrayList < WptType > ( ) ; } return this . rtept ; }
gets the value of the rtept 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 rtept property . for example , to add a new item , do as follows : getrtept . add newitem ; objects of the following type s are allowed in the list wpttype concode_field_sep int number concode_elem_sep ExtensionsType extensions concode_elem_sep String src concode_elem_sep String name concode_elem_sep List<LinkType> link concode_elem_sep String cmt concode_elem_sep List<WptType> rtept concode_elem_sep String type concode_elem_sep String desc concode_field_sep void setName concode_elem_sep void setSrc concode_elem_sep String getName concode_elem_sep String getSrc concode_elem_sep void setCmt concode_elem_sep void setType concode_elem_sep ExtensionsType getExtensions concode_elem_sep void setNumber concode_elem_sep int getNumber concode_elem_sep List<LinkType> getLink concode_elem_sep String getType concode_elem_sep String getDesc concode_elem_sep void setDesc concode_elem_sep String getCmt concode_elem_sep void setExtensions