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

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

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

import java.util.Map;
import java.util.Objects;

public class Log {
    private final Wellbore wellbore;
    private String uid;
    private String name;

    private String indexType;
    private String indexCurve;
    private Map curves;

    public Log(Wellbore wellbore) {
        this.wellbore = wellbore;
    }

    public Wellbore getWellbore() {
        return wellbore;
    }

    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;
    }

    public String getIndexType() {
        return indexType;
    }

    public void setIndexType(String indexType) {
        this.indexType = indexType;
    }

    public String getIndexCurve() {
        return indexCurve;
    }

    public void setIndexCurve(String indexCurve) {
        this.indexCurve = indexCurve;
    }

    public Map getCurves() {
        return curves;
    }

    public void setCurves(Map curves) {
        this.curves = curves;
    }

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

    @Override
    public int hashCode() {
        return Objects.hash(wellbore, uid, name, indexType, indexCurve, curves);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy