List < Option > function ( ) { if ( option == null ) { option = new ArrayList < Option > ( ) ; } return this . option ; }
gets the value of the option 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 option property . for example , to add a new item , do as follows : getoption . add newitem ; objects of the following type s are allowed in the list option concode_field_sep String _default concode_elem_sep Link link concode_elem_sep Map<QName,String> otherAttributes concode_elem_sep QName type concode_elem_sep List<Object> any concode_elem_sep Boolean required concode_elem_sep String path concode_elem_sep Boolean repeating concode_elem_sep String name concode_elem_sep List<Doc> doc concode_elem_sep ParamStyle style concode_elem_sep String fixed concode_elem_sep String href concode_elem_sep String id concode_elem_sep List<Option> option concode_field_sep void setName concode_elem_sep void setRequired concode_elem_sep String getName concode_elem_sep void setFixed concode_elem_sep List<Doc> getDoc concode_elem_sep String getId concode_elem_sep String getFixed concode_elem_sep ParamStyle getStyle concode_elem_sep void setRepeating concode_elem_sep String getPath concode_elem_sep void setStyle concode_elem_sep void setId concode_elem_sep String getHref concode_elem_sep boolean isRequired concode_elem_sep void setHref concode_elem_sep void setPath concode_elem_sep String getDefault concode_elem_sep void setType concode_elem_sep void setDefault concode_elem_sep void setLink concode_elem_sep Link getLink concode_elem_sep boolean isRepeating concode_elem_sep QName getType concode_elem_sep Map<QName,String> getOtherAttributes concode_elem_sep List<Object> getAny