Package com.opengamma.financial.analytics.ircurve

Examples of com.opengamma.financial.analytics.ircurve.YieldCurveDefinitionDocument$Meta


  }

  @POST
  @Path("definitions")
  public Response add(@Context UriInfo uriInfo, YieldCurveDefinitionDocument document) {
    YieldCurveDefinitionDocument result = getInterpolatedYieldCurveDefinitionMaster().add(document);
    URI createdUri = (new DataInterpolatedYieldCurveDefinitionResource()).uriVersion(uriInfo.getBaseUri(), result.getUniqueId());
    return responseCreatedFudge(createdUri, result);
  }
View Full Code Here


  }

  @POST
  @Path("definitions/save"// not the best URI
  public Response addOrUpdate(@Context UriInfo uriInfo, YieldCurveDefinitionDocument document) {
    YieldCurveDefinitionDocument result = getInterpolatedYieldCurveDefinitionMaster().addOrUpdate(document);
    URI createdUri = (new DataInterpolatedYieldCurveDefinitionResource()).uriVersion(uriInfo.getBaseUri(), result.getUniqueId());
    return responseCreatedFudge(createdUri, result);
  }
View Full Code Here

TOP

Related Classes of com.opengamma.financial.analytics.ircurve.YieldCurveDefinitionDocument$Meta

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.