All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.protege.webprotege.projectsettings.AutoValue_GetProjectSettingsResult Maven / Gradle / Ivy

The newest version!
package edu.stanford.protege.webprotege.projectsettings;

import javax.annotation.processing.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_GetProjectSettingsResult extends GetProjectSettingsResult {

  private final ProjectSettings settings;

  AutoValue_GetProjectSettingsResult(
      ProjectSettings settings) {
    if (settings == null) {
      throw new NullPointerException("Null settings");
    }
    this.settings = settings;
  }

  @Override
  public ProjectSettings getSettings() {
    return settings;
  }

  @Override
  public String toString() {
    return "GetProjectSettingsResult{"
        + "settings=" + settings
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof GetProjectSettingsResult) {
      GetProjectSettingsResult that = (GetProjectSettingsResult) o;
      return this.settings.equals(that.getSettings());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= settings.hashCode();
    return h$;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy