@Override
 public int hashCode() {
   final HashCodeBuilder hcb = new HashCodeBuilder();
   hcb.append(getTaskId());
   hcb.append(getGroupId());
   return hcb.toHashCode();
 }
 /**
  * Returns the hash code.
  *
  * @return the hash code.
  */
 @Override
 public int hashCode() {
   HashCodeBuilder hash = new HashCodeBuilder(1237, 37);
   hash.append(loginId);
   hash.append(instanceId);
   return hash.toHashCode();
 }
Example #3
0
 @Override
 protected HashCodeBuilder appendSpecialHashCode(
     HashCodeBuilder builder, Collection<String> appendedFields) {
   HashCodeBuilder b = super.appendSpecialHashCode(builder, appendedFields);
   appendedFields.add("attributes");
   return b.append(attributes.entrySet());
 }
Example #4
0
  /**
   * {@inheritDoc}
   *
   * @see edu.hm.basic.object.AbstractBasicObject#hashCode()
   */
  @Override
  public int hashCode() {
    HashCodeBuilder hcb = new HashCodeBuilder(17, 37);
    hcb.append(getLoginName());
    hcb.append(getDisplayName());

    return hcb.toHashCode();
  }
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    builder.append(getClass()).append(buffer);

    return builder.toHashCode();
  }
 @Override
 public int hashCode() {
   final HashCodeBuilder builder = new HashCodeBuilder();
   builder.append(getDatabaseInstanceCode());
   builder.append(getGroupCode());
   builder.append(getProjectCode());
   return builder.toHashCode();
 }
Example #7
0
 public void hashCode(HashCodeBuilder hashCodeBuilder) {
   super.hashCode(hashCodeBuilder);
   hashCodeBuilder.append(this.getDataHandlingPolicy());
   hashCodeBuilder.append(this.getDataHandlingPreferences());
   hashCodeBuilder.append(this.getStickyPolicy());
   hashCodeBuilder.append(this.getCredentialRequirements());
   hashCodeBuilder.append(this.getProvisionalActions());
 }
 public int hashCode() {
   HashCodeBuilder hashCodeBuilder = new HashCodeBuilder();
   for (MrProcessAssignment processAssignment : processAssignmentList) {
     // Notice: we don't use hashCode()
     hashCodeBuilder.append(processAssignment.solutionHashCode());
   }
   return hashCodeBuilder.toHashCode();
 }
 /* (non-Javadoc)
  * @see java.lang.Object#hashCode()
  */
 @Override
 public int hashCode() {
   HashCodeBuilder hash = new HashCodeBuilder(197, 1343);
   hash.append(contextId);
   hash.append(context);
   hash.append(timeSince);
   return hash.toHashCode();
 }
Example #10
0
  public int hashCode() {
    HashCodeBuilder hashCodeBuilder = new HashCodeBuilder();

    hashCodeBuilder.append(getModuleId());
    hashCodeBuilder.append(getRepositoryURL());

    return hashCodeBuilder.hashCode();
  }
 public int hashCode() {
   HashCodeBuilder hashCodeBuilder = new HashCodeBuilder();
   for (VrpCustomer customer : customerList) {
     // Notice: we don't use hashCode()
     hashCodeBuilder.append(customer.solutionHashCode());
   }
   return hashCodeBuilder.toHashCode();
 }
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_credentials = true && (isSetCredentials());
    builder.append(present_credentials);
    if (present_credentials) builder.append(credentials);

    return builder.toHashCode();
  }
Example #13
0
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_property = true && (isSetProperty());
    builder.append(present_property);
    if (present_property) builder.append(property);

    return builder.toHashCode();
  }
    @Override
    public int hashCode() {
      HashCodeBuilder builder = new HashCodeBuilder();

      boolean present_req = true && (isSetReq());
      builder.append(present_req);
      if (present_req) builder.append(req);

      return builder.toHashCode();
    }
Example #15
0
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_is_not_in = true;
    builder.append(present_is_not_in);
    if (present_is_not_in) builder.append(is_not_in);

    return builder.toHashCode();
  }
Example #16
0
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_error_message = true && (is_set_error_message());
    builder.append(present_error_message);
    if (present_error_message) builder.append(error_message);

    return builder.toHashCode();
  }
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_wait_secs = true && (is_set_wait_secs());
    builder.append(present_wait_secs);
    if (present_wait_secs) builder.append(wait_secs);

    return builder.toHashCode();
  }
Example #18
0
  /* (non-Javadoc)
   * @see java.lang.Object#hashCode()
   */
  @Override
  public int hashCode() {
    HashCodeBuilder hcb = new HashCodeBuilder();

    for (Capability cap : getRequiredCapabilities()) hcb.append(cap).append(false);

    for (Capability cap : getOptionalCapabilities()) hcb.append(cap).append(true);

    return hcb.toHashCode();
  }
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_status = true && (isSetStatus());
    builder.append(present_status);
    if (present_status) builder.append(status);

    return builder.toHashCode();
  }
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_msg = true && (is_set_msg());
    builder.append(present_msg);
    if (present_msg) builder.append(msg);

    return builder.toHashCode();
  }
Example #21
0
 /* (non-Javadoc)
  * @see java.lang.Object#hashCode()
  */
 @Override
 public int hashCode() {
   HashCodeBuilder builder = new HashCodeBuilder();
   return builder
       .append(this.pathData)
       .append(displayFormat)
       .append(client)
       .append(ipAddress)
       .append(overrideBreakRecurrence)
       .append(overrideConvertClass)
       .toHashCode();
 }
Example #22
0
  public final Integer getId() {
    if (id == null) {
      HashCodeBuilder hcb =
          new HashCodeBuilder(17, 37).append(this.getClass()).append(getQuery().getQid().getId());

      for (Object part : getIdParts()) {
        hcb.append(part);
      }

      for (Map.Entry<QueryParameter, Object> e : getParameters().entrySet()) {
        hcb.append(e.getKey().getName());
        hcb.append(e.getValue());
      }

      this.id = hcb.toHashCode();
    }
    return id;
  }
 /**
  * {@inheritDoc}
  *
  * @see edu.hm.basic.object.AbstractBasicObject#hashCode()
  */
 @Override
 public int hashCode() {
   return HashCodeBuilder.reflectionHashCode(
       INITIAL_NON_ZERO_ODD_NUMBER,
       MULTIPLIER_NON_ZERO_ODD_NUMBER,
       this,
       true,
       this.getClass(),
       new String[] {"order"});
 }
Example #24
0
 /** {@inheritDoc} */
 public int hashCode() {
   HashCodeBuilder eb = new HashCodeBuilder();
   eb.append(this.getAdvisory());
   eb.append(this.getAdvisoryName());
   eb.append(this.getAdvisoryRel());
   eb.append(this.getAdvisorySynopsis());
   eb.append(this.getOrg());
   return eb.toHashCode();
 }
 public void hashCode(HashCodeBuilder hashCodeBuilder) {
   hashCodeBuilder.append(this.getActivity());
   hashCodeBuilder.append(this.getAgent());
   hashCodeBuilder.append(this.getPlan());
   hashCodeBuilder.append(this.getLabel());
   hashCodeBuilder.append(this.getRole());
   hashCodeBuilder.append(this.getType());
   hashCodeBuilder.append(this.getOther());
   hashCodeBuilder.append(this.getId());
 }
Example #26
0
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_start = true && (isSetStart());
    builder.append(present_start);
    if (present_start) builder.append(start);

    boolean present_finish = true && (isSetFinish());
    builder.append(present_finish);
    if (present_finish) builder.append(finish);

    boolean present_reversed = true;
    builder.append(present_reversed);
    if (present_reversed) builder.append(reversed);

    boolean present_count = true;
    builder.append(present_count);
    if (present_count) builder.append(count);

    return builder.toHashCode();
  }
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_menuItemId = true;
    builder.append(present_menuItemId);
    if (present_menuItemId) builder.append(menuItemId);

    boolean present_singleChoiceOptions = true && (isSetSingleChoiceOptions());
    builder.append(present_singleChoiceOptions);
    if (present_singleChoiceOptions) builder.append(singleChoiceOptions);

    boolean present_multiChoiceOptions = true && (isSetMultiChoiceOptions());
    builder.append(present_multiChoiceOptions);
    if (present_multiChoiceOptions) builder.append(multiChoiceOptions);

    boolean present_comments = true && (isSetComments());
    builder.append(present_comments);
    if (present_comments) builder.append(comments);

    return builder.toHashCode();
  }
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_lowValue = true && (isSetLowValue());
    builder.append(present_lowValue);
    if (present_lowValue) builder.append(lowValue);

    boolean present_highValue = true && (isSetHighValue());
    builder.append(present_highValue);
    if (present_highValue) builder.append(highValue);

    boolean present_numNulls = true;
    builder.append(present_numNulls);
    if (present_numNulls) builder.append(numNulls);

    boolean present_numDVs = true;
    builder.append(present_numDVs);
    if (present_numDVs) builder.append(numDVs);

    return builder.toHashCode();
  }
Example #29
0
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_itemId = true;
    builder.append(present_itemId);
    if (present_itemId) builder.append(itemId);

    boolean present_count = true;
    builder.append(present_count);
    if (present_count) builder.append(count);

    boolean present_variable_types = true && (isSetVariable_types());
    builder.append(present_variable_types);
    if (present_variable_types) builder.append(variable_types);

    boolean present_variable_names = true && (isSetVariable_names());
    builder.append(present_variable_names);
    if (present_variable_names) builder.append(variable_names);

    return builder.toHashCode();
  }
Example #30
0
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_operationId = true && (isSetOperationId());
    builder.append(present_operationId);
    if (present_operationId) builder.append(operationId);

    boolean present_operationType = true && (isSetOperationType());
    builder.append(present_operationType);
    if (present_operationType) builder.append(operationType.getValue());

    boolean present_hasResultSet = true;
    builder.append(present_hasResultSet);
    if (present_hasResultSet) builder.append(hasResultSet);

    boolean present_modifiedRowCount = true && (isSetModifiedRowCount());
    builder.append(present_modifiedRowCount);
    if (present_modifiedRowCount) builder.append(modifiedRowCount);

    return builder.toHashCode();
  }