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

com.github.thake.avro4k.maven.RenamedClass Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
package com.github.thake.avro4k.maven;

import java.util.Objects;

public class RenamedClass {
    private String regex;
    private String replacement;

    public String getRegex() {
        return regex;
    }

    public void setRegex(String regex) {
        this.regex = regex;
    }

    public String getReplacement() {
        return replacement;
    }

    public void setReplacement(String replacement) {
        this.replacement = replacement;
    }

    @Override public boolean equals(Object o) {
        if (this == o)
            return true;
        if (o == null || getClass() != o.getClass())
            return false;
        RenamedClass that = (RenamedClass) o;
        return Objects.equals(regex, that.regex) && Objects.equals(replacement, that.replacement);
    }

    @Override public int hashCode() {
        return Objects.hash(regex, replacement);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy