private void createLocationDefMap() {
   if (m_monitoringLocationsConfiguration.getLocations() != null) {
     for (LocationDef def :
         m_monitoringLocationsConfiguration.getLocations().getLocationDefCollection()) {
       m_locationDefs.put(def.getLocationName(), def);
     }
   }
 }
 private OnmsMonitoringLocationDefinition convertDef(final LocationDef def) {
   final OnmsMonitoringLocationDefinition onmsDef = new OnmsMonitoringLocationDefinition();
   onmsDef.setArea(def.getMonitoringArea());
   onmsDef.setName(def.getLocationName());
   onmsDef.setPollingPackageName(def.getPollingPackageName());
   onmsDef.setGeolocation(def.getGeolocation());
   onmsDef.setCoordinates(def.getCoordinates());
   onmsDef.setPriority(def.getPriority());
   if (def.getTags() != null) {
     final Set<String> tags = new HashSet<String>();
     for (final Tag t : def.getTags().getTagCollection()) {
       tags.add(t.getName());
     }
     onmsDef.setTags(tags);
   }
   return onmsDef;
 }