Package com.opengamma.engine.target.resolver

Examples of com.opengamma.engine.target.resolver.PositionSourceResolver.position()


    _positionSource = positionSource;
    if (positionSource != null) {
      final PositionSourceResolver resolver = new PositionSourceResolver(positionSource);
      addResolver(ComputationTargetType.PORTFOLIO, new LazyResolver.LazyPortfolioResolver(this, resolver.portfolio()));
      addResolver(ComputationTargetType.PORTFOLIO_NODE, new LazyResolver.LazyPortfolioNodeResolver(this, resolver.portfolioNode()));
      addResolver(ComputationTargetType.POSITION, new LazyResolver.LazyPositionResolver(this, resolver.position()));
      addResolver(ComputationTargetType.TRADE, new LazyResolver.LazyTradeResolver(this, resolver.trade()));
    }
    addResolver(ComputationTargetType.CURRENCY);
    addResolver(ComputationTargetType.PRIMITIVE);
    addResolver(ComputationTargetType.UNORDERED_CURRENCY_PAIR);
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.