List < String > function ( ) { if ( testType == null ) { testType = new ArrayList < String > ( ) ; } return this . testType ; }
gets the value of the testtype 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 testtype property . for example , to add a new item , do as follows : gettesttype . add newitem ; objects of the following type s are allowed in the list string concode_field_sep ManagedObjectReference vm concode_elem_sep List<String> testType concode_elem_sep ManagedObjectReference _this concode_elem_sep VirtualMachineRelocateSpec spec concode_field_sep void setThis concode_elem_sep ManagedObjectReference getThis concode_elem_sep VirtualMachineRelocateSpec getSpec concode_elem_sep ManagedObjectReference getVm concode_elem_sep void setVm concode_elem_sep void setSpec