code: public EntityContainer newEntityContainer(String id) {
          final Entity e = lookupEntity(id);
          if (e == null) {
              return null;
          }
          e.setWeaks(weakEntities(e));
          return new EntityContainer(e);
      }
docs: Create and fill a new Entity Container
  
  @param id Entity id
  @return The container