Examples of CurrencyBean


Examples of com.opengamma.masterdb.security.hibernate.CurrencyBean

    super(CashFlowSecurity.SECURITY_TYPE, CashFlowSecurity.class, CashFlowSecurityBean.class);
  }

  @Override
  public CashFlowSecurityBean createBean(final OperationContext context, HibernateSecurityMasterDao secMasterSession, CashFlowSecurity security) {
    CurrencyBean currencyBean = secMasterSession.getOrCreateCurrencyBean(security.getCurrency().getCode());
    ZonedDateTimeBean settlementBean = dateTimeWithZoneToZonedDateTimeBean(security.getSettlement());
    final CashFlowSecurityBean bean = new CashFlowSecurityBean();
    bean.setCurrency(currencyBean);
    bean.setSettlement(settlementBean);
    bean.setAmount(security.getAmount());
View Full Code Here

Examples of com.opengamma.masterdb.security.hibernate.CurrencyBean

    super(CashSecurity.SECURITY_TYPE, CashSecurity.class, CashSecurityBean.class);
  }

  @Override
  public CashSecurityBean createBean(final OperationContext context, HibernateSecurityMasterDao secMasterSession, CashSecurity security) {
    CurrencyBean currencyBean = secMasterSession.getOrCreateCurrencyBean(security.getCurrency().getCode());
    ExternalIdBean regionIdentifier = externalIdToExternalIdBean(security.getRegionId());
    ZonedDateTimeBean startBean = dateTimeWithZoneToZonedDateTimeBean(security.getStart());
    ZonedDateTimeBean maturityBean = dateTimeWithZoneToZonedDateTimeBean(security.getMaturity());
    DayCountBean dayCountBean = secMasterSession.getOrCreateDayCountBean(security.getDayCount().getConventionName());
    final CashSecurityBean bean = new CashSecurityBean();
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.