Package com.opengamma.financial.currency

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


  @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

  @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

Related Classes of com.opengamma.financial.currency.CurrencyMatrix

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.