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);
 }
 public T put(String uuid, String id, T item) {
   item.uuid = uuid;
   if (!containsKey(uuid)) {
     get(uuid, "0");
   }
   return get(uuid).put(id, item);
 }
 public void mark(String uuid, int property, Object value) {
   HashMap<String, T> m = get(uuid);
   if (m != null) {
     for (T i : m.values()) {
       switch (property) {
         case ACTIVE:
           i.setActive((boolean) value);
           break;
         case RENEW:
           i.renew = (boolean) value;
           break;
         case CONTROLS:
           i.controls = (int) value;
           break;
         default:
           break;
       }
     }
   }
 }