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

edu.stanford.protege.webprotege.renderer.AutoValue_GetEntityRenderingResult Maven / Gradle / Ivy

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

import edu.stanford.protege.webprotege.entity.OWLEntityData;
import javax.annotation.Nonnull;
import javax.annotation.processing.Generated;

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

  private final OWLEntityData entityData;

  AutoValue_GetEntityRenderingResult(
      OWLEntityData entityData) {
    if (entityData == null) {
      throw new NullPointerException("Null entityData");
    }
    this.entityData = entityData;
  }

  @Nonnull
  @Override
  public OWLEntityData getEntityData() {
    return entityData;
  }

  @Override
  public String toString() {
    return "GetEntityRenderingResult{"
        + "entityData=" + entityData
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof GetEntityRenderingResult) {
      GetEntityRenderingResult that = (GetEntityRenderingResult) o;
      return this.entityData.equals(that.getEntityData());
    }
    return false;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy