List < Long > function ( ) { if ( categoryIds == null ) { categoryIds = new ArrayList < Long > ( ) ; } return this . categoryIds ; }
gets the value of the categoryids 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 categoryids property . for example , to add a new item , do as follows : getcategoryids . add newitem ; objects of the following type s are allowed in the list long concode_field_sep List<Long> categoryIds concode_elem_sep Long size concode_elem_sep String name concode_elem_sep String description concode_elem_sep Long id concode_elem_sep AudienceSegmentDataProvider dataProvider concode_elem_sep AudienceSegmentAudienceSegmentType type concode_elem_sep AudienceSegmentStatus status concode_elem_sep String audienceSegmentType concode_field_sep void setName concode_elem_sep String getName concode_elem_sep AudienceSegmentDataProvider getDataProvider concode_elem_sep String getAudienceSegmentType concode_elem_sep void setDataProvider concode_elem_sep Long getId concode_elem_sep void setDescription concode_elem_sep AudienceSegmentStatus getStatus concode_elem_sep void setType concode_elem_sep String getDescription concode_elem_sep void setStatus concode_elem_sep Long getSize concode_elem_sep void setSize concode_elem_sep AudienceSegmentAudienceSegmentType getType concode_elem_sep void setId concode_elem_sep void setAudienceSegmentType