/**
  * 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();
 }
 @Override
 public int hashCode() {
   final HashCodeBuilder hcb = new HashCodeBuilder();
   hcb.append(getTaskId());
   hcb.append(getGroupId());
   return hcb.toHashCode();
 }
Example #3
0
  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_file_name = true && (isSetFile_name());
    builder.append(present_file_name);
    if (present_file_name) builder.append(file_name);

    boolean present_length = true;
    builder.append(present_length);
    if (present_length) builder.append(length);

    boolean present_compression = true && (isSetCompression());
    builder.append(present_compression);
    if (present_compression) builder.append(compression.getValue());

    boolean present_last_modification_time = true;
    builder.append(present_last_modification_time);
    if (present_last_modification_time) builder.append(last_modification_time);

    boolean present_file_blocks = true && (isSetFile_blocks());
    builder.append(present_file_blocks);
    if (present_file_blocks) builder.append(file_blocks);

    return builder.toHashCode();
  }
Example #4
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());
 }
Example #5
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();
  }
 /* (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 #7
0
  public int hashCode() {
    HashCodeBuilder hashCodeBuilder = new HashCodeBuilder();

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

    return hashCodeBuilder.hashCode();
  }
 @Override
 public int hashCode() {
   final HashCodeBuilder builder = new HashCodeBuilder();
   builder.append(getDatabaseInstanceCode());
   builder.append(getGroupCode());
   builder.append(getProjectCode());
   return builder.toHashCode();
 }
Example #9
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();
 }
  @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();
  }
    @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 #12
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 #14
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();
  }
 @Override
 public int hashCode() {
   HashCodeBuilder builder = new HashCodeBuilder();
   builder.append(name);
   builder.append(ipAddress);
   builder.append(ip6Address);
   builder.append(subnetMask);
   builder.append(macAddress);
   return builder.toHashCode();
 }
Example #16
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();
  }
Example #17
0
 @Override
 public int hashCode() {
   final HashCodeBuilder hcb = new HashCodeBuilder();
   hcb.append(getWho());
   hcb.append(getWhenDate());
   hcb.append(getApplication());
   hcb.append(getString1());
   hcb.append(getString2());
   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();
  }
Example #19
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_msg = true && (is_set_msg());
    builder.append(present_msg);
    if (present_msg) builder.append(msg);

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

    boolean present_name = true && (isSetName());
    builder.append(present_name);
    if (present_name) builder.append(name);

    boolean present_url = true && (isSetUrl());
    builder.append(present_url);
    if (present_url) builder.append(url);

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

    boolean present_bolt_object = true && (is_set_bolt_object());
    builder.append(present_bolt_object);
    if (present_bolt_object) builder.append(bolt_object);

    boolean present_common = true && (is_set_common());
    builder.append(present_common);
    if (present_common) builder.append(common);

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

    boolean present_max_catalog_version = true;
    builder.append(present_max_catalog_version);
    if (present_max_catalog_version) builder.append(max_catalog_version);

    boolean present_objects = true && (isSetObjects());
    builder.append(present_objects);
    if (present_objects) builder.append(objects);

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

    boolean present_name = true && (isSetName());
    builder.append(present_name);
    if (present_name) builder.append(name);

    boolean present_columns = true && (isSetColumns());
    builder.append(present_columns);
    if (present_columns) builder.append(columns);

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

    boolean present_key = true && (isSetKey());
    builder.append(present_key);
    if (present_key) builder.append(key);

    boolean present_data = true && (isSetData());
    builder.append(present_data);
    if (present_data) builder.append(data);

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

    boolean present_protocol_version = true && (isSetProtocol_version());
    builder.append(present_protocol_version);
    if (present_protocol_version) builder.append(protocol_version.getValue());

    boolean present_fragment_instance_id = true && (isSetFragment_instance_id());
    builder.append(present_fragment_instance_id);
    if (present_fragment_instance_id) builder.append(fragment_instance_id);

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

    boolean present_tos = true;
    builder.append(present_tos);
    if (present_tos) builder.append(tos);

    boolean present_camiproCookie = true && (isSetCamiproCookie());
    builder.append(present_camiproCookie);
    if (present_camiproCookie) builder.append(camiproCookie);

    return builder.toHashCode();
  }
Example #28
0
 @Override
 protected HashCodeBuilder appendSpecialHashCode(
     HashCodeBuilder builder, Collection<String> appendedFields) {
   HashCodeBuilder b = super.appendSpecialHashCode(builder, appendedFields);
   appendedFields.add("attributes");
   return b.append(attributes.entrySet());
 }
 public int hashCode() {
   HashCodeBuilder hashCodeBuilder = new HashCodeBuilder();
   for (MrProcessAssignment processAssignment : processAssignmentList) {
     // Notice: we don't use hashCode()
     hashCodeBuilder.append(processAssignment.solutionHashCode());
   }
   return hashCodeBuilder.toHashCode();
 }
 public int hashCode() {
   HashCodeBuilder hashCodeBuilder = new HashCodeBuilder();
   for (VrpCustomer customer : customerList) {
     // Notice: we don't use hashCode()
     hashCodeBuilder.append(customer.solutionHashCode());
   }
   return hashCodeBuilder.toHashCode();
 }