List < String > function ( ) { if ( dynamicImportPackage == null ) { dynamicImportPackage = new ArrayList < String > ( ) ; } return this . dynamicImportPackage ; }
gets the value of the dynamicimportpackage 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 dynamicimportpackage property . for example , to add a new item , do as follows : getdynamicimportpackage . add newitem ; objects of the following type s are allowed in the list string concode_field_sep EmptyType inverseClassloading concode_elem_sep List<String> requireBundle concode_elem_sep ClassFilterType hiddenClasses concode_elem_sep List<String> bundleClassPath concode_elem_sep List<String> importPackage concode_elem_sep ClassFilterType nonOverridableClasses concode_elem_sep EmptyType suppressDefaultEnvironment concode_elem_sep ClassFilterType privateClasses concode_elem_sep List<String> exportPackage concode_elem_sep DependenciesType dependencies concode_elem_sep String bundleActivator concode_elem_sep List<String> dynamicImportPackage concode_elem_sep ArtifactType moduleId concode_field_sep List<String> getExportPackage concode_elem_sep List<String> getBundleClassPath concode_elem_sep DependenciesType getDependencies concode_elem_sep void setModuleId concode_elem_sep void setDependencies concode_elem_sep void setBundleActivator concode_elem_sep ArtifactType getModuleId concode_elem_sep List<String> getImportPackage concode_elem_sep void setSuppressDefaultEnvironment concode_elem_sep List<String> getRequireBundle concode_elem_sep boolean isInverseClassloading concode_elem_sep void setHiddenClasses concode_elem_sep void setPrivateClasses concode_elem_sep void setInverseClassloading concode_elem_sep String getBundleActivator concode_elem_sep void setNonOverridableClasses concode_elem_sep boolean isSuppressDefaultEnvironment concode_elem_sep ClassFilterType getHiddenClasses concode_elem_sep ClassFilterType getNonOverridableClasses concode_elem_sep ClassFilterType getPrivateClasses