public void setRepositoryVersion(RepositoryVersionEntity repositoryVersion) {
    this.repositoryVersion = repositoryVersion;
  }
Sets the repository version for this upgrade. This value will change
depending on the direction of the upgrade.
<p/>
When the direction is {@link Direction#UPGRADE}, this represents the target
repository. <br/>
When the direction is {@link Direction#DOWNGRADE}, this represents the
repository being downgraded from.

@param repositoryVersion
         the repository version being upgraded to or downgraded from (not
         {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeEntity.java