public RepositoryVersionEntity getRepositoryVersion() {
    return repositoryVersion;
  }
Upgrades will always have a single version being upgraded to and downgrades
will have a single version being downgraded from. This repository
represents that version.
<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.

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