Esempio n. 1
0
 /**
  * This method adds the given Definition to whatever storage is implemented underneath.
  *
  * @param d is the Definition that is ready to be stored.
  * @return true, if new version was stored and database modified
  */
 public boolean store(VDL d) {
   if (d instanceof Definition) {
     this.m_memory = (Definition) d;
     Logging.instance().log("chunk", 0, "found " + m_memory.shortID());
     return true;
   } else {
     Logging.instance().log("chunk", 0, "not a definition: " + d.toString());
     return false;
   }
 }