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

net.intelie.liverig.witsml.server.Wellbore Maven / Gradle / Ivy

The newest version!
package net.intelie.liverig.witsml.server;

import java.util.Objects;

public class Wellbore {
    private final Well well;
    private String uid;
    private String name;

    public Wellbore(Well well) {
        this.well = well;
    }

    public Well getWell() {
        return well;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Wellbore wellbore = (Wellbore) o;
        return Objects.equals(well, wellbore.well) &&
                Objects.equals(uid, wellbore.uid) &&
                Objects.equals(name, wellbore.name);
    }

    @Override
    public int hashCode() {
        return Objects.hash(well, uid, name);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy