List < HostInternetScsiHbaSendTarget > function ( ) { if ( targets == null ) { targets = new ArrayList < HostInternetScsiHbaSendTarget > ( ) ; } return this . targets ; }
gets the value of the targets 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 targets property . for example , to add a new item , do as follows : gettargets . add newitem ; objects of the following type s are allowed in the list hostinternetscsihbasendtarget concode_field_sep ManagedObjectReference _this concode_elem_sep List<HostInternetScsiHbaSendTarget> targets concode_elem_sep String iScsiHbaDevice concode_field_sep void setThis concode_elem_sep ManagedObjectReference getThis concode_elem_sep String getIScsiHbaDevice concode_elem_sep void setIScsiHbaDevice