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

delombok.io.github.qsy7.encryption.model.EncryptionConfiguration Maven / Gradle / Ivy

The newest version!
// Generated by delombok at Sat Jan 13 17:02:54 EST 2024
package io.github.qsy7.encryption.model;

import io.github.qsy7.datastore.api.model.entity.AbstractNamedEntity;
import io.github.qsy7.encryption.enumeration.EncryptionDataType;
import javax.jdo.annotations.PersistenceCapable;

@PersistenceCapable
public class EncryptionConfiguration extends AbstractNamedEntity {
  protected EncryptionDataType encryptionDataType;

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public java.lang.String toString() {
    return "EncryptionConfiguration(encryptionDataType=" + this.encryptionDataType + ")";
  }

  @java.lang.SuppressWarnings("all")
  public EncryptionDataType getEncryptionDataType() {
    return this.encryptionDataType;
  }

  @java.lang.SuppressWarnings("all")
  public void setEncryptionDataType(final EncryptionDataType encryptionDataType) {
    this.encryptionDataType = encryptionDataType;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public boolean equals(final java.lang.Object o) {
    if (o == this) return true;
    if (!(o instanceof EncryptionConfiguration)) return false;
    final EncryptionConfiguration other = (EncryptionConfiguration) o;
    if (!other.canEqual((java.lang.Object) this)) return false;
    final java.lang.Object this$encryptionDataType = this.getEncryptionDataType();
    final java.lang.Object other$encryptionDataType = other.getEncryptionDataType();
    if (this$encryptionDataType == null ? other$encryptionDataType != null : !this$encryptionDataType.equals(other$encryptionDataType)) return false;
    return true;
  }

  @java.lang.SuppressWarnings("all")
  protected boolean canEqual(final java.lang.Object other) {
    return other instanceof EncryptionConfiguration;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public int hashCode() {
    final int PRIME = 59;
    int result = 1;
    final java.lang.Object $encryptionDataType = this.getEncryptionDataType();
    result = result * PRIME + ($encryptionDataType == null ? 43 : $encryptionDataType.hashCode());
    return result;
  }

  @java.lang.SuppressWarnings("all")
  public EncryptionConfiguration(final EncryptionDataType encryptionDataType) {
    this.encryptionDataType = encryptionDataType;
  }

  @java.lang.SuppressWarnings("all")
  public EncryptionConfiguration() {
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy