List < XMLAttributeContent > function ( ) { if ( attribute == null ) { attribute = new ArrayList < XMLAttributeContent > ( ) ; } return this . attribute ; }
gets the value of the attribute 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 attribute property . for example , to add a new item , do as follows : getattribute . add newitem ; objects of the following type s are allowed in the list xmlattributecontent concode_field_sep XMLModeType mode concode_elem_sep String start concode_elem_sep String end concode_elem_sep String endopen concode_elem_sep List<XMLAttributeContent> attribute concode_elem_sep XMLClassType clazz concode_elem_sep String startopen concode_field_sep XMLClassType getClazz concode_elem_sep String getEndopen concode_elem_sep String getStart concode_elem_sep void setStart concode_elem_sep void setClazz concode_elem_sep void setMode concode_elem_sep void setStartopen concode_elem_sep String getStartopen concode_elem_sep XMLModeType getMode concode_elem_sep void setEnd concode_elem_sep String getEnd concode_elem_sep void setEndopen