List < IconType > function ( ) { if ( icon == null ) { icon = new ArrayList < IconType > ( ) ; } return this . icon ; }
gets the value of the icon 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 icon property . for example , to add a new item , do as follows : geticon . add newitem ; objects of the following type s are allowed in the list icontype concode_field_sep com.wavemaker.tools.webapp.schema.String messageDestinationName concode_elem_sep List<DisplayNameType> displayName concode_elem_sep List<IconType> icon concode_elem_sep List<DescriptionType> description concode_elem_sep java.lang.String id concode_elem_sep XsdStringType mappedName concode_field_sep void setMessageDestinationName concode_elem_sep List<DisplayNameType> getDisplayName concode_elem_sep XsdStringType getMappedName concode_elem_sep void setMappedName concode_elem_sep com.wavemaker.tools.webapp.schema.String getMessageDestinationName concode_elem_sep void setId concode_elem_sep java.lang.String getId concode_elem_sep List<DescriptionType> getDescription