Examples of VersionedPortfolioHandler


Examples of com.opengamma.integration.tool.portfolio.xml.VersionedPortfolioHandler

     */
    @Override
    public VersionedPortfolioHandler apply(final Portfolio portfolio) {
      try {
        Iterable<PortfolioPosition> positions = new PortfolioConverter(portfolio, _xmlExternalIdValidator).getPositions();
        return new VersionedPortfolioHandler(
            portfolio.getName(),
            positions);

      } catch (PortfolioParsingException e) {
        s_logger.error("Unable to parse portfolio [" + portfolio.getName() + "] - it will be skipped", e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.