/** * Remove an existing type. * Deletes the type from the state. * @param type The object type. * @return True, if could be removed. */ public boolean removeType(OAVObjectType type) { boolean ret = types.remove(type.getName())!=null; for(int i=0; !ret && tmodels!=null && i<tmodels.length; i++) ret = tmodels[i].removeType(type); return ret; }
/** * Remove an existing type. * Deletes the type from the state. * @param type The object type. * @return True, if could be removed. */ public boolean removeType(OAVObjectType type) { boolean ret = types.remove(type.getName())!=null; for(int i=0; !ret && tmodels!=null && i<tmodels.length; i++) ret = tmodels[i].removeType(type); return ret; }