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

hydra.langs.cypher.openCypher.Delete Maven / Gradle / Ivy

package hydra.langs.cypher.openCypher;

import java.io.Serializable;

public class Delete implements Serializable {
  public static final hydra.core.Name NAME = new hydra.core.Name("hydra/langs/cypher/openCypher.Delete");
  
  public final Boolean detach;
  
  public final java.util.List expressions;
  
  public Delete (Boolean detach, java.util.List expressions) {
    this.detach = detach;
    this.expressions = expressions;
  }
  
  @Override
  public boolean equals(Object other) {
    if (!(other instanceof Delete)) {
      return false;
    }
    Delete o = (Delete) (other);
    return detach.equals(o.detach) && expressions.equals(o.expressions);
  }
  
  @Override
  public int hashCode() {
    return 2 * detach.hashCode() + 3 * expressions.hashCode();
  }
  
  public Delete withDetach(Boolean detach) {
    return new Delete(detach, expressions);
  }
  
  public Delete withExpressions(java.util.List expressions) {
    return new Delete(detach, expressions);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy