Package com.opengamma.financial.analytics.ircurve.strips

Examples of com.opengamma.financial.analytics.ircurve.strips.CurveNodeWithIdentifier


  public CurveNodeWithIdentifier visitRateFutureNode(final RateFutureNode node) {
    final Tenor startTenor = node.getStartTenor();
    final ExternalId identifier = _nodeIdMapper.getRateFutureNodeId(_curveDate, startTenor, node.getFutureTenor(), node.getFutureNumber());
    final String dataField = _nodeIdMapper.getRateFutureNodeDataField(startTenor);
    final DataFieldType fieldType = _nodeIdMapper.getRateFutureNodeDataFieldType(startTenor);
    return new CurveNodeWithIdentifier(node, identifier, dataField, fieldType);
  }
View Full Code Here


  public CurveNodeWithIdentifier visitSwapNode(final SwapNode node) {
    final Tenor tenor = node.getMaturityTenor();
    final ExternalId identifier = _nodeIdMapper.getSwapNodeId(_curveDate, tenor);
    final String dataField = _nodeIdMapper.getSwapNodeDataField(tenor);
    final DataFieldType fieldType = _nodeIdMapper.getSwapNodeDataFieldType(tenor);
    return new CurveNodeWithIdentifier(node, identifier, dataField, fieldType);
  }
View Full Code Here

  public CurveNodeWithIdentifier visitZeroCouponInflationNode(final ZeroCouponInflationNode node) {
    final Tenor tenor = node.getTenor();
    final ExternalId identifier = _nodeIdMapper.getZeroCouponInflationNodeId(_curveDate, tenor);
    final String dataField = _nodeIdMapper.getZeroCouponInflationNodeDataField(tenor);
    final DataFieldType fieldType = _nodeIdMapper.getZeroCouponInflationNodeDataFieldType(tenor);
    return new CurveNodeWithIdentifier(node, identifier, dataField, fieldType);
  }
View Full Code Here

TOP

Related Classes of com.opengamma.financial.analytics.ircurve.strips.CurveNodeWithIdentifier

Copyright © 2018 www.massapicom. 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.