List < Date > function ( ) { if ( dates == null ) { dates = new ArrayList < Date > ( ) ; } return this . dates ; }
gets the value of the dates 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 dates property . for example , to add a new item , do as follows : getdates . add newitem ; objects of the following type s are allowed in the list string concode_field_sep List<Double> doubles concode_elem_sep List<BigDecimal> decimals concode_elem_sep List<Integer> numbers concode_elem_sep List<String> ids concode_elem_sep List<Date> dates concode_elem_sep List<ComplexNode> complexNodes concode_elem_sep long serialVersionUID concode_field_sep List<BigDecimal> getDecimals concode_elem_sep List<Double> getDoubles concode_elem_sep List<String> getIds concode_elem_sep List<ComplexNode> getComplexNodes concode_elem_sep List<Integer> getNumbers