@Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     ForwardSwapCurveInstrumentProvider other = (ForwardSwapCurveInstrumentProvider) obj;
     return JodaBeanUtils.equal(getUniqueId(), other.getUniqueId());
   }
   return false;
 }
 @Override
 protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
   switch (propertyName.hashCode()) {
     case -294460212: // uniqueId
       ((ForwardSwapCurveInstrumentProvider) bean).setUniqueId((UniqueId) newValue);
       return;
   }
   super.propertySet(bean, propertyName, newValue, quiet);
 }