nl: we currently have to ensure , that the names of the resources are updated as well - therefore we have to iterate through all of them and change their name . as soon as all queries are adapted , this is not required anymore and can be removed . we execute this logic in the prepersist state because we need to ensure that we could load the resources lazy if required . concode_field_sep String ALLRESOURCESBYTYPE_QUERY concode_elem_sep Set<FavoriteResourceEntity> favorites concode_elem_sep String fcExternalKey concode_elem_sep Set<ResourceActivationEntity> resourceActivationEntities concode_elem_sep long serialVersionUID concode_elem_sep ReleaseEntity outOfServiceRelease concode_elem_sep Set<ResourceEntity> resources concode_elem_sep Set<TemplateDescriptorEntity> runtimeTemplateDescriptors concode_elem_sep long v concode_elem_sep String fcExternalLink concode_elem_sep String name concode_elem_sep Integer id concode_elem_sep ResourceTypeEntity resourceType concode_field_sep ReleaseEntity getNewestRelease concode_elem_sep void setFcExternalLink concode_elem_sep ReleaseEntity getFirstRelease concode_elem_sep String getFcExternalLink concode_elem_sep String getFcExternalKey concode_elem_sep void setResourceType concode_elem_sep void setFcExternalKey concode_elem_sep String toString concode_elem_sep int compareTo concode_elem_sep SortedSet<ReleaseEntity> getReleases concode_elem_sep boolean isAppServerContainer
code: void function ( String arg0 ) { for ( ResourceEntity loc0 : getResources ( ) ) { loc0 . updateName ( arg0 ) ; } this . name = arg0 ; }