@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();
bean.setCurrency(currencyBean);
bean.setRegion(regionIdentifier);
bean.setStart(startBean);