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

liquibase.statement.DatabaseFunction Maven / Gradle / Ivy

There is a newer version: 4.30.0
Show newest version
package liquibase.statement;

public class DatabaseFunction {

    private String value;

    public DatabaseFunction(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    @Override
    public String toString() {
        return getValue();
    }

    @Override
    public boolean equals(Object obj) {
        if (obj instanceof DatabaseFunction) {
            return this.toString().equals(obj.toString());
        } else {
            return super.equals(obj);
        }
    }

    @Override
    public int hashCode() {
        return this.toString().hashCode();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy