/** * Updates a definition in the manager. * * @param objId The object instance identifier of the definition * @param definition The object body of the definition * @return True if successful. False if the object instance identifier does * not exist in the manager, in this case, the definition is not added. */ public synchronized boolean updateDef(Long objId, Element definition) { return (this.deleteDef(objId) == true) ? this.addDef(objId, definition) : false; }