public void setUpgradePackStackId(StackId stackId) {
    upgradePackStack = stackId.toString();
  }
@param stackId
         the stack that owns the upgrade pack
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeEntity.java