@Override protected Object propertyGet(Bean bean, String propertyName, boolean quiet) { switch (propertyName.hashCode()) { case 3237038: // info return ((IborFutureOptionSecurity) bean).getInfo(); case 575402001: // currency return ((IborFutureOptionSecurity) bean).getCurrency(); case -219971059: // putCall return ((IborFutureOptionSecurity) bean).getPutCall(); case 50946231: // strikePrice return ((IborFutureOptionSecurity) bean).getStrikePrice(); case -816738431: // expiryDate return ((IborFutureOptionSecurity) bean).getExpiryDate(); case -816254304: // expiryTime return ((IborFutureOptionSecurity) bean).getExpiryTime(); case -816069761: // expiryZone return ((IborFutureOptionSecurity) bean).getExpiryZone(); case -1257652838: // premiumStyle return ((IborFutureOptionSecurity) bean).getPremiumStyle(); case -142444: // rounding return ((IborFutureOptionSecurity) bean).getRounding(); case -109104965: // underlyingFutureId return ((IborFutureOptionSecurity) bean).getUnderlyingFutureId(); } return super.propertyGet(bean, propertyName, quiet); }
/** * Restricted copy constructor. * @param beanToCopy the bean to copy from, not null */ private Builder(IborFutureOptionSecurity beanToCopy) { this.info = beanToCopy.getInfo(); this.currency = beanToCopy.getCurrency(); this.putCall = beanToCopy.getPutCall(); this.strikePrice = beanToCopy.getStrikePrice(); this.expiryDate = beanToCopy.getExpiryDate(); this.expiryTime = beanToCopy.getExpiryTime(); this.expiryZone = beanToCopy.getExpiryZone(); this.premiumStyle = beanToCopy.getPremiumStyle(); this.rounding = beanToCopy.getRounding(); this.underlyingFutureId = beanToCopy.getUnderlyingFutureId(); }