public String getVersion() {
    return version;
  }
Sets the repository version's stack.

@param stack
         the stack to set for the repo version (not {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryVersionEntity.java