code: public static Repository newInstance(String uid)
      {
          Repository repository = new Repository();
          repository.setUid(uid);
          return repository;
      }
docs: <p>newInstance.</p>
  
  @param uid a {@link java.lang.String} object.
  @return a {@link com.greenpepper.server.domain.Repository} object.