Examples of SwapTypeProvider


Examples of com.opengamma.financial.security.lookup.swap.SwapTypeProvider

   * Creates mappings for {@link SwapSecurity}
   * @param mapper the mapper instance to use
   */
  private static void mapSwap(SecurityAttributeMapper mapper) {
    // ------------------- Swap
    mapper.mapColumn(TYPE, SwapSecurity.class, new SwapTypeProvider());
    mapper.mapColumn(PRODUCT, SwapSecurity.class, new SwapProductProvider());
    mapper.mapColumn(START, SwapSecurity.meta().effectiveDate());
    mapper.mapColumn(MATURITY, SwapSecurity.meta().maturityDate());
    mapper.mapColumn(FREQUENCY, SwapSecurity.class, new SwapFrequencyProvider());
    mapper.mapColumn(FLOAT_FREQUENCY, SwapSecurity.class, new SwapFloatFrequencyProvider());
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.