public RepositoryVersion getRepositoryVersion() {
    return new RepositoryVersion(getId(), getStackName(), getStackVersion(),
        getStackId().getStackId(), getVersion(), getType());
  }
Builds a {@link RepositoryVersion} instance type from this entity.

@return a single POJO to represent this entity.
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryVersionEntity.java