public void setStackVersion(String stackVersion) {
    this.stackVersion = stackVersion;
  }
Sets the version of the stack, such as "2.2".

@param stackVersion
         the stack version (not {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/StackEntity.java