Examples of CurrencyMatrix


Examples of com.opengamma.financial.currency.CurrencyMatrix

  @GET
  @Path("currencyMatricesByName/{versionCorrection}/{name}")
  public Response getMatrixByName(@PathParam("name") String name, @PathParam("versionCorrection") String versionCorrectionStr) {
    final VersionCorrection versionCorrection = VersionCorrection.parse(versionCorrectionStr);
    CurrencyMatrix result = getCurrencyMatrixSource().getCurrencyMatrix(name, versionCorrection);
    return responseOkFudge(result);
  }
View Full Code Here

Examples of com.opengamma.financial.currency.CurrencyMatrix

  @GET
  @Path("currencyMatrices/{uniqueId}")
  public Response getMatrixByUniqueId(@PathParam("uniqueId") String uniqueIdStr) {
    final UniqueId uniqueId = UniqueId.parse(uniqueIdStr);
    final CurrencyMatrix result = getCurrencyMatrixSource().get(uniqueId);
    return responseOkFudge(result);
  }
View Full Code Here

Examples of com.opengamma.financial.currency.CurrencyMatrix

  @GET
  @Path("currencyMatrices/{objectId}/{versionCorrection}")
  public Response getMatrixByObjectIdentifier(@PathParam("objectId") String objectIdStr, @PathParam("versionCorrection") String versionCorrectionStr) {
    final ObjectId objectId = ObjectId.parse(objectIdStr);
    final VersionCorrection versionCorrection = VersionCorrection.parse(versionCorrectionStr);
    final CurrencyMatrix result = getCurrencyMatrixSource().get(objectId, versionCorrection);
    return responseOkFudge(result);
  }
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.