code: public static RepositoryType newInstance(String name)
      {
          RepositoryType type = new RepositoryType();
          type.setName(name);
          return type;
      }
docs: <p>newInstance.</p>
  
  @param name a {@link java.lang.String} object.
  @return a {@link com.greenpepper.server.domain.RepositoryType} object.