// -----------------------------------------------------------------------
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     ReportingCurrency other = (ReportingCurrency) obj;
     return JodaBeanUtils.equal(type, other.type) && JodaBeanUtils.equal(currency, other.currency);
   }
   return false;
 }
Example #2
0
 // -----------------------------------------------------------------------
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     DummyFraTrade other = (DummyFraTrade) obj;
     return JodaBeanUtils.equal(date, other.date)
         && JodaBeanUtils.equal(fixedRate, other.fixedRate);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     BusinessDayAdjustment other = (BusinessDayAdjustment) obj;
     return JodaBeanUtils.equal(getConvention(), other.getConvention())
         && JodaBeanUtils.equal(getCalendar(), other.getCalendar());
   }
   return false;
 }
Example #4
0
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     AbstractLink<?> other = (AbstractLink<?>) obj;
     return JodaBeanUtils.equal(getObjectId(), other.getObjectId())
         && JodaBeanUtils.equal(getExternalId(), other.getExternalId());
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     RoleSearchResult other = (RoleSearchResult) obj;
     return JodaBeanUtils.equal(getPaging(), other.getPaging())
         && JodaBeanUtils.equal(getRoles(), other.getRoles());
   }
   return false;
 }
Example #6
0
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     ComputeHost other = (ComputeHost) obj;
     return JodaBeanUtils.equal(getId(), other.getId())
         && JodaBeanUtils.equal(getHostName(), other.getHostName());
   }
   return false;
 }
Example #7
0
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     FraTemplate other = (FraTemplate) obj;
     return JodaBeanUtils.equal(periodToStart, other.periodToStart)
         && JodaBeanUtils.equal(periodToEnd, other.periodToEnd)
         && JodaBeanUtils.equal(convention, other.convention);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     NullMarketDataProviderComponentFactory other = (NullMarketDataProviderComponentFactory) obj;
     return JodaBeanUtils.equal(getClassifier(), other.getClassifier())
         && JodaBeanUtils.equal(getFudgeContext(), other.getFudgeContext())
         && super.equals(obj);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     FadeInPayoffStyle other = (FadeInPayoffStyle) obj;
     return JodaBeanUtils.equal(getLowerBound(), other.getLowerBound())
         && JodaBeanUtils.equal(getUpperBound(), other.getUpperBound())
         && super.equals(obj);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     IborFixingDepositCurveNode other = (IborFixingDepositCurveNode) obj;
     return JodaBeanUtils.equal(getTemplate(), other.getTemplate())
         && JodaBeanUtils.equal(getRateKey(), other.getRateKey())
         && JodaBeanUtils.equal(getSpread(), other.getSpread());
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     FxSingleBarrierOption other = (FxSingleBarrierOption) obj;
     return JodaBeanUtils.equal(underlyingOption, other.underlyingOption)
         && JodaBeanUtils.equal(barrier, other.barrier)
         && JodaBeanUtils.equal(rebate, other.rebate);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     ThrowableDetails other = (ThrowableDetails) obj;
     return JodaBeanUtils.equal(getType(), other.getType())
         && JodaBeanUtils.equal(getMessage(), other.getMessage())
         && JodaBeanUtils.equal(getStackTrace(), other.getStackTrace());
   }
   return false;
 }
Example #13
0
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     MarketDataSnapshotSourceFactoryBean other = (MarketDataSnapshotSourceFactoryBean) obj;
     return JodaBeanUtils.equal(getSnapshotMaster(), other.getSnapshotMaster())
         && JodaBeanUtils.equal(getCacheManager(), other.getCacheManager())
         && super.equals(obj);
   }
   return false;
 }
Example #14
0
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     IborCapFloorTrade other = (IborCapFloorTrade) obj;
     return JodaBeanUtils.equal(info, other.info)
         && JodaBeanUtils.equal(product, other.product)
         && JodaBeanUtils.equal(premium, other.premium);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     ManageablePortfolio other = (ManageablePortfolio) obj;
     return JodaBeanUtils.equal(getUniqueId(), other.getUniqueId())
         && JodaBeanUtils.equal(getName(), other.getName())
         && JodaBeanUtils.equal(getRootNode(), other.getRootNode());
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     FixedOvernightSwapCurveNode other = (FixedOvernightSwapCurveNode) obj;
     return JodaBeanUtils.equal(template, other.template)
         && JodaBeanUtils.equal(rateKey, other.rateKey)
         && JodaBeanUtils.equal(additionalSpread, other.additionalSpread);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     OvernightCompoundedRateObservation other = (OvernightCompoundedRateObservation) obj;
     return JodaBeanUtils.equal(getIndex(), other.getIndex())
         && JodaBeanUtils.equal(getStartDate(), other.getStartDate())
         && JodaBeanUtils.equal(getEndDate(), other.getEndDate())
         && (getRateCutOffDays() == other.getRateCutOffDays());
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     NormalIborFutureOptionExpirySimpleMoneynessVolatilities other =
         (NormalIborFutureOptionExpirySimpleMoneynessVolatilities) obj;
     return JodaBeanUtils.equal(index, other.index)
         && JodaBeanUtils.equal(valuationDateTime, other.valuationDateTime)
         && JodaBeanUtils.equal(surface, other.surface);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     XCcyIborIborSwapCurveNode other = (XCcyIborIborSwapCurveNode) obj;
     return JodaBeanUtils.equal(template, other.template)
         && JodaBeanUtils.equal(spreadKey, other.spreadKey)
         && JodaBeanUtils.equal(additionalSpread, other.additionalSpread)
         && JodaBeanUtils.equal(label, other.label);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     CurrencyMatrixSourceComponentFactory other = (CurrencyMatrixSourceComponentFactory) obj;
     return JodaBeanUtils.equal(getClassifier(), other.getClassifier())
         && JodaBeanUtils.equal(isPublishRest(), other.isPublishRest())
         && JodaBeanUtils.equal(getConfigSource(), other.getConfigSource())
         && super.equals(obj);
   }
   return false;
 }
Example #21
0
 // -----------------------------------------------------------------------
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     ImmMinimal other = (ImmMinimal) obj;
     return (number == other.number)
         && JodaBeanUtils.equal(street, other.street)
         && JodaBeanUtils.equal(city, other.city)
         && JodaBeanUtils.equal(owner, other.owner);
   }
   return false;
 }
Example #22
0
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     MarketData other = (MarketData) obj;
     return JodaBeanUtils.equal(getId(), other.getId())
         && JodaBeanUtils.equal(getBaseUidScheme(), other.getBaseUidScheme())
         && JodaBeanUtils.equal(getBaseUidValue(), other.getBaseUidValue())
         && JodaBeanUtils.equal(getBaseUidVersion(), other.getBaseUidVersion());
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     NonVersionedRedisConfigSourceComponentFactory other =
         (NonVersionedRedisConfigSourceComponentFactory) obj;
     return JodaBeanUtils.equal(getUserClassifier(), other.getUserClassifier())
         && JodaBeanUtils.equal(getUserConfigMaster(), other.getUserConfigMaster())
         && super.equals(obj);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     ISDACompliantDateYieldCurve other = (ISDACompliantDateYieldCurve) obj;
     return JodaBeanUtils.equal(getBaseDate(), other.getBaseDate())
         && JodaBeanUtils.equal(getDates(), other.getDates())
         && JodaBeanUtils.equal(getDayCount(), other.getDayCount())
         && super.equals(obj);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     ExposureFunctions other = (ExposureFunctions) obj;
     return JodaBeanUtils.equal(getUniqueId(), other.getUniqueId())
         && JodaBeanUtils.equal(getName(), other.getName())
         && JodaBeanUtils.equal(getExposureFunctions(), other.getExposureFunctions())
         && JodaBeanUtils.equal(getIdsToNames(), other.getIdsToNames());
   }
   return false;
 }
Example #26
0
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     BondFutureTrade other = (BondFutureTrade) obj;
     return JodaBeanUtils.equal(info, other.info)
         && JodaBeanUtils.equal(product, other.product)
         && JodaBeanUtils.equal(quantity, other.quantity)
         && JodaBeanUtils.equal(price, other.price);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     ImmutableTermDepositConvention other = (ImmutableTermDepositConvention) obj;
     return JodaBeanUtils.equal(getCurrency(), other.getCurrency())
         && JodaBeanUtils.equal(name, other.name)
         && JodaBeanUtils.equal(getBusinessDayAdjustment(), other.getBusinessDayAdjustment())
         && JodaBeanUtils.equal(getDayCount(), other.getDayCount())
         && JodaBeanUtils.equal(getSpotDateOffset(), other.getSpotDateOffset());
   }
   return false;
 }
 // -----------------------------------------------------------------------
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     NormalIborCapletFloorletExpiryStrikeVolatilities other =
         (NormalIborCapletFloorletExpiryStrikeVolatilities) obj;
     return JodaBeanUtils.equal(surface, other.surface)
         && JodaBeanUtils.equal(index, other.index)
         && JodaBeanUtils.equal(dayCount, other.dayCount)
         && JodaBeanUtils.equal(valuationDateTime, other.valuationDateTime);
   }
   return false;
 }
 // -----------------------------------------------------------------------
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     FxForwardSensitivity other = (FxForwardSensitivity) obj;
     return JodaBeanUtils.equal(currencyPair, other.currencyPair)
         && JodaBeanUtils.equal(referenceCurrency, other.referenceCurrency)
         && JodaBeanUtils.equal(referenceDate, other.referenceDate)
         && JodaBeanUtils.equal(currency, other.currency)
         && JodaBeanUtils.equal(sensitivity, other.sensitivity);
   }
   return false;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     InterestRateSwapSecurity other = (InterestRateSwapSecurity) obj;
     return JodaBeanUtils.equal(getNotionalExchange(), other.getNotionalExchange())
         && JodaBeanUtils.equal(getEffectiveDate(), other.getEffectiveDate())
         && JodaBeanUtils.equal(getUnadjustedMaturityDate(), other.getUnadjustedMaturityDate())
         && JodaBeanUtils.equal(getLegs(), other.getLegs())
         && super.equals(obj);
   }
   return false;
 }