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

io.virtdata.templates.BindPoint Maven / Gradle / Ivy

There is a newer version: 2.12.15
Show newest version
package io.virtdata.templates;

import java.util.Objects;

public class BindPoint {
    private String anchor;
    private String bindspec;

    public BindPoint(String anchor, String bindspec) {
        this.anchor = anchor;
        this.bindspec = bindspec;
    }

    public String getAnchor() {
        return anchor;
    }

    public String getBindspec() {
        return bindspec;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        BindPoint bindPoint = (BindPoint) o;

        if (!Objects.equals(anchor, bindPoint.anchor)) return false;
        return Objects.equals(bindspec, bindPoint.bindspec);
    }

    @Override
    public String toString() {
        return "BindPoint{" +
                "anchor='" + anchor + '\'' +
                ", bindspec='" + bindspec + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy