code: public static String generateEntityQualifiedName(SQLiteDaoDefinition dao, SQLiteEntity entity) {
  		String entityName;
  		if (entity == null) {
  			M2MEntity m2mEntity = M2MEntity.extractEntityManagedByDAO(dao.getElement());
  			entityName = m2mEntity.getQualifiedName();
  		} else {
  			entityName = entity.getName().toString();
  		}
  		return entityName;
  	}
docs: Generate entity qualified name.
  
  @param dao
  the dao
  @param entity
  the entity
  @return the string