private void createLocationDefMap() {
   if (m_monitoringLocationsConfiguration.getLocations() != null) {
     for (LocationDef def :
         m_monitoringLocationsConfiguration.getLocations().getLocationDefCollection()) {
       m_locationDefs.put(def.getLocationName(), def);
     }
   }
 }
 /**
  * findAllLocationDefinitions
  *
  * @return a {@link java.util.Collection} object.
  */
 public Collection<OnmsMonitoringLocationDefinition> findAllLocationDefinitions() {
   final List<OnmsMonitoringLocationDefinition> eDefs =
       new LinkedList<OnmsMonitoringLocationDefinition>();
   for (final LocationDef def :
       m_monitoringLocationsConfiguration.getLocations().getLocationDefCollection()) {
     eDefs.add(convertDef(def));
   }
   return eDefs;
 }
 /**
  * findAllMonitoringLocationDefinitions
  *
  * @return a {@link java.util.List} object.
  */
 public List<OnmsMonitoringLocationDefinition> findAllMonitoringLocationDefinitions() {
   final Locations locations = m_monitoringLocationsConfiguration.getLocations();
   if (locations != null) {
     final List<LocationDef> locationDefCollection = locations.getLocationDefCollection();
     if (locationDefCollection != null) {
       return convertDefs(locationDefCollection);
     }
   }
   return new ArrayList<OnmsMonitoringLocationDefinition>();
 }