List < Events . Event > function ( ) { if ( event == null ) { event = new ArrayList < Events . Event > ( ) ; } return this . event ; }
gets the value of the event 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 event property . for example , to add a new item , do as follows : getevent . add newitem ; objects of the following type s are allowed in the list events.event concode_field_sep XMLGregorianCalendar date concode_elem_sep XMLGregorianCalendar dateValidFrom concode_elem_sep DataQualityTypeList dataQualityType concode_elem_sep Map<QName,String> otherAttributes concode_elem_sep XMLGregorianCalendar dateValidTo concode_elem_sep XMLGregorianCalendar validFrom concode_elem_sep List<Events.Event> event concode_elem_sep String type concode_elem_sep String value concode_elem_sep XMLGregorianCalendar validTo concode_field_sep DataQualityTypeList getDataQualityType concode_elem_sep XMLGregorianCalendar getDateValidTo concode_elem_sep void setValidFrom concode_elem_sep XMLGregorianCalendar getValidFrom concode_elem_sep void setType concode_elem_sep String getValue concode_elem_sep void setValidTo concode_elem_sep XMLGregorianCalendar getValidTo concode_elem_sep String getType concode_elem_sep void setValue concode_elem_sep void setDateValidFrom concode_elem_sep void setDateValidTo concode_elem_sep void setDate concode_elem_sep XMLGregorianCalendar getDate concode_elem_sep XMLGregorianCalendar getDateValidFrom concode_elem_sep void setDataQualityType concode_elem_sep Map<QName,String> getOtherAttributes concode_elem_sep Map<QName,String> getOtherAttributes