class BindingType {

    private final String type;

    /**
     * Set the binding type.
     *
     * @param type The binding type to set.
     */
    public BindingType(String type) {
        this.type = type;
    }

    /**
     * Get the binding type.
     *
     * @return The binding type.
     */
    public String getType() {
        return type;
    }

    /**
     * String representation of {@link BindingType}
     *
     * @return String representation of {@link BindingType}
     */
    @Override
    public String toString() {
        return type;
    }

    @Override
    public boolean equals(Object o) {<FILL_FUNCTION_BODY>}

    @Override
    public int hashCode() {
        return type != null ? type.hashCode() : 0;
    }
}

        if (this == o) {
            return true;
        } else if (o == null || getClass() != o.getClass()) {
            return false;
        }

        BindingType that = (BindingType) o;

        return type != null ? type.equals(that.type) : that.type == null;
    
<no_super_class>