コード例 #1
0
 public synchronized boolean equals(java.lang.Object obj) {
   if (!(obj instanceof AdGroup)) return false;
   AdGroup other = (AdGroup) obj;
   if (obj == null) return false;
   if (this == obj) return true;
   if (__equalsCalc != null) {
     return (__equalsCalc == obj);
   }
   __equalsCalc = obj;
   boolean _equals;
   _equals =
       true
           && ((this.id == null && other.getId() == null)
               || (this.id != null && this.id.equals(other.getId())))
           && ((this.campaignId == null && other.getCampaignId() == null)
               || (this.campaignId != null && this.campaignId.equals(other.getCampaignId())))
           && ((this.campaignName == null && other.getCampaignName() == null)
               || (this.campaignName != null && this.campaignName.equals(other.getCampaignName())))
           && ((this.name == null && other.getName() == null)
               || (this.name != null && this.name.equals(other.getName())))
           && ((this.status == null && other.getStatus() == null)
               || (this.status != null && this.status.equals(other.getStatus())))
           && ((this.settings == null && other.getSettings() == null)
               || (this.settings != null
                   && java.util.Arrays.equals(this.settings, other.getSettings())))
           && ((this.experimentData == null && other.getExperimentData() == null)
               || (this.experimentData != null
                   && this.experimentData.equals(other.getExperimentData())))
           && ((this.labels == null && other.getLabels() == null)
               || (this.labels != null && java.util.Arrays.equals(this.labels, other.getLabels())))
           && ((this.forwardCompatibilityMap == null && other.getForwardCompatibilityMap() == null)
               || (this.forwardCompatibilityMap != null
                   && java.util.Arrays.equals(
                       this.forwardCompatibilityMap, other.getForwardCompatibilityMap())))
           && ((this.biddingStrategyConfiguration == null
                   && other.getBiddingStrategyConfiguration() == null)
               || (this.biddingStrategyConfiguration != null
                   && this.biddingStrategyConfiguration.equals(
                       other.getBiddingStrategyConfiguration())))
           && ((this.contentBidCriterionTypeGroup == null
                   && other.getContentBidCriterionTypeGroup() == null)
               || (this.contentBidCriterionTypeGroup != null
                   && this.contentBidCriterionTypeGroup.equals(
                       other.getContentBidCriterionTypeGroup())))
           && ((this.trackingUrlTemplate == null && other.getTrackingUrlTemplate() == null)
               || (this.trackingUrlTemplate != null
                   && this.trackingUrlTemplate.equals(other.getTrackingUrlTemplate())))
           && ((this.urlCustomParameters == null && other.getUrlCustomParameters() == null)
               || (this.urlCustomParameters != null
                   && this.urlCustomParameters.equals(other.getUrlCustomParameters())));
   __equalsCalc = null;
   return _equals;
 }