code: private Map<Integer, String> getManagedSchemaVersions(String tableName,
        String entityName) {
  
      ManagedSchema managedSchema = getManagedSchema(tableName, entityName);
      Map<Integer, String> returnMap = new HashMap<Integer, String>();
      for (Map.Entry<String, String> versionsEntry : managedSchema
          .getEntitySchemas().entrySet()) {
        returnMap.put(Integer.parseInt(versionsEntry.getKey()),
            versionsEntry.getValue());
      }
      return returnMap;
    }
docs: Get a map of schema versions for a managed schemas.
  
  @param tableName
  The table name of the managed schema.
  @param entityName
  The entity name of the managed schema.
  @return The managed schema version map.
  @throws SchemaNotFoundException
  Thrown if a managed schema can't be found for the table name
  entity name.