List < Object > function ( ) { if ( modsGroup == null ) { modsGroup = new ArrayList < Object > ( ) ; } return this . modsGroup ; }
gets the value of the modsgroup 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 modsgroup property . for example , to add a new item , do as follows : getmodsgroup . add newitem ; objects of the following type s are allowed in the list parttype languagetype notetype identifiertype classificationtype titleinfotype extensiontype accessconditiontype typeofresourcetype physicaldescriptiontype tableofcontentstype subjecttype relateditemtype genretype recordinfotype origininfotype locationtype nametype abstracttype targetaudiencetype concode_field_sep String id concode_elem_sep String version concode_elem_sep List<Object> modsGroup concode_field_sep String getVersion concode_elem_sep void setVersion concode_elem_sep void setID concode_elem_sep String getID