public void equals(Object object, EqualsBuilder equalsBuilder) {
   if (!(object instanceof ConditionType)) {
     equalsBuilder.appendSuper(false);
     return;
   }
   if (this == object) {
     return;
   }
   final ConditionType that = ((ConditionType) object);
   equalsBuilder.append(this.getExpression(), that.getExpression());
 }
Exemple #2
0
 public void equals(Object object, EqualsBuilder equalsBuilder) {
   if (!(object instanceof Document)) {
     equalsBuilder.appendSuper(false);
     return;
   }
   if (this == object) {
     return;
   }
   final Document that = ((Document) object);
   equalsBuilder.append(this.getStatementOrBundle(), that.getStatementOrBundle());
 }
 public void equals(Object object, EqualsBuilder equalsBuilder) {
   if (!(object instanceof DictionaryMembership)) {
     equalsBuilder.appendSuper(false);
     return;
   }
   if (this == object) {
     return;
   }
   final DictionaryMembership that = ((DictionaryMembership) object);
   equalsBuilder.append(this.getDictionary(), that.getDictionary());
   equalsBuilder.append(this.getKeyEntityPair(), that.getKeyEntityPair());
 }
Exemple #4
0
 public void equals(Object object, EqualsBuilder equalsBuilder) {
   if (!(object instanceof Prior)) {
     equalsBuilder.appendSuper(false);
     return;
   }
   if (this == object) {
     return;
   }
   final Prior that = ((Prior) object);
   equalsBuilder.append(this.getHint(), that.getHint());
   equalsBuilder.append(this.getInitialVal(), that.getInitialVal());
   equalsBuilder.append(this.getId(), that.getId());
 }
  @Override
  public boolean equals(Object obj) {
    EqualsBuilder builder = new EqualsBuilder();

    if (obj instanceof MarkupBuilder) {
      MarkupBuilder other = (MarkupBuilder) obj;
      builder.append(buffer, other.buffer);
    } else {
      builder.appendSuper(false);
    }

    return builder.isEquals();
  }
Exemple #6
0
 public void equals(Object object, EqualsBuilder equalsBuilder) {
   if (!(object instanceof BaseMqttMessage)) {
     equalsBuilder.appendSuper(false);
     return;
   }
   if (this == object) {
     return;
   }
   final BaseMqttMessage that = ((BaseMqttMessage) object);
   equalsBuilder.append(this.getValue(), that.getValue());
   equalsBuilder.append(this.getTopic(), that.getTopic());
   equalsBuilder.append(this.getQos(), that.getQos());
   equalsBuilder.append(this.isRetained(), that.isRetained());
 }
Exemple #7
0
 public void equals(Object object, EqualsBuilder equalsBuilder) {
   if (!(object instanceof RuleType)) {
     equalsBuilder.appendSuper(false);
     return;
   }
   if (this == object) {
     return;
   }
   super.equals(object, equalsBuilder);
   final RuleType that = ((RuleType) object);
   equalsBuilder.append(this.getDataHandlingPolicy(), that.getDataHandlingPolicy());
   equalsBuilder.append(this.getDataHandlingPreferences(), that.getDataHandlingPreferences());
   equalsBuilder.append(this.getStickyPolicy(), that.getStickyPolicy());
   equalsBuilder.append(this.getCredentialRequirements(), that.getCredentialRequirements());
   equalsBuilder.append(this.getProvisionalActions(), that.getProvisionalActions());
 }
 public void equals(Object object, EqualsBuilder equalsBuilder) {
   if (!(object instanceof WasAssociatedWith)) {
     equalsBuilder.appendSuper(false);
     return;
   }
   if (this == object) {
     return;
   }
   final WasAssociatedWith that = ((WasAssociatedWith) object);
   equalsBuilder.append(this.getActivity(), that.getActivity());
   equalsBuilder.append(this.getAgent(), that.getAgent());
   equalsBuilder.append(this.getPlan(), that.getPlan());
   equalsBuilder.append(this.getLabel(), that.getLabel());
   equalsBuilder.append(this.getRole(), that.getRole());
   equalsBuilder.append(this.getType(), that.getType());
   equalsBuilder.append(this.getOther(), that.getOther());
   equalsBuilder.append(this.getId(), that.getId());
 }
Exemple #9
0
 @Override
 public boolean equals(Object other) {
   if (other instanceof MGG) {
     MGG cother = (MGG) other;
     EqualsBuilder eb = new EqualsBuilder();
     // Call super method
     eb.appendSuper(super.equals(other));
     // Mu
     eb.append(mu, cother.mu);
     // Lambda
     eb.append(lambda, cother.lambda);
     // Recombinator
     eb.append(recombinator, cother.recombinator);
     // Return test result
     return eb.isEquals();
   } else {
     return false;
   }
 }