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

edu.stanford.protege.webprotege.entity.AutoValue_EntityStatus Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package edu.stanford.protege.webprotege.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.Nonnull;
import javax.annotation.processing.Generated;

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

  private final String status;

  AutoValue_EntityStatus(
      String status) {
    if (status == null) {
      throw new NullPointerException("Null status");
    }
    this.status = status;
  }

  @JsonProperty("status")
  @Nonnull
  @Override
  public String getStatus() {
    return status;
  }

  @Override
  public String toString() {
    return "EntityStatus{"
        + "status=" + status
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof EntityStatus) {
      EntityStatus that = (EntityStatus) o;
      return this.status.equals(that.getStatus());
    }
    return false;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy