class DynamicDelegatingPortfolioMaster implements PortfolioMaster {

  @Override
  public PortfolioDocument get(UniqueId uniqueId) {
    ArgumentChecker.notNull(uniqueId, "uniqueId");
    return chooseDelegate(uniqueId.getScheme()).get(uniqueId);
  }

  public  DynamicDelegatingPortfolioMaster();

}