List < ActorReferenceType > function ( ) { if ( actor == null ) { actor = new ArrayList < ActorReferenceType > ( ) ; } return this . actor ; }
gets the value of the actor 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 actor property . for example , to add a new item , do as follows : getactor . add newitem ; objects of the following type s are allowed in the list actorreferencetype concode_field_sep List<ActorReferenceType> actor concode_elem_sep DateTimeType dateTime concode_elem_sep CodedDescriptionType description concode_elem_sep List<String> commentID concode_elem_sep List<String> referenceID concode_field_sep void setDateTime concode_elem_sep DateTimeType getDateTime concode_elem_sep List<String> getCommentID concode_elem_sep void setDescription concode_elem_sep CodedDescriptionType getDescription concode_elem_sep List<String> getReferenceID