public void alert() {
   if (isUpnpDevice(uuid)
       && (monitor == null || !monitor.isAlive())
       && !"STOPPED".equals(data.get("TransportState"))) {
     monitor();
   }
   for (ActionListener l : listeners) {
     l.actionPerformed(event);
   }
 }
 public T get(String uuid, String id) {
   if (!containsKey(uuid)) {
     put(uuid, new HashMap<String, T>());
   }
   HashMap<String, T> m = get(uuid);
   if (!m.containsKey(id)) {
     try {
       T newitem = TClass.newInstance();
       newitem.uuid = uuid;
       m.put(id, newitem);
     } catch (Exception e) {
       LOGGER.debug("Error instantiating item " + uuid + "[" + id + "]: " + e);
     }
   }
   return m.get(id);
 }