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

org.openprovenance.prov.template.expander.deprecated.BindingsBean Maven / Gradle / Ivy

The newest version!
package org.openprovenance.prov.template.expander.deprecated;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;

import java.util.List;
import java.util.Map;

@Deprecated
public class BindingsBean {
    public Map> var;
    public Map> vargen;
    public Map context;
    public String template;
    public Map linked;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;

        if (o == null || getClass() != o.getClass()) return false;

        BindingsBean that = (BindingsBean) o;

        return new EqualsBuilder().append(var, that.var).append(vargen, that.vargen).append(context, that.context).append(template, that.template).append(linked, that.linked).isEquals();
    }

    @Override
    public int hashCode() {
        return new HashCodeBuilder(17, 37).append(var).append(vargen).append(context).append(template).append(linked).toHashCode();
    }

    @Override
    public String toString() {
        return "BindingsBean{" +
                "var=" + var +
                ", vargen=" + vargen +
                ", context=" + context +
                ", template='" + template + '\'' +
                ", linked=" + linked +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy