![JAR search and dependency download from the Maven repository](/logo.png)
net.intelie.liverig.witsml.objects.LogRange Maven / Gradle / Ivy
The newest version!
package net.intelie.liverig.witsml.objects;
import com.google.common.base.Strings;
import java.util.Objects;
public abstract class LogRange {
private Double stepIncrement;
private String stepIncrementUom;
public Double getStepIncrement() {
return stepIncrement;
}
public void setStepIncrement(Double stepIncrement) {
this.stepIncrement = stepIncrement;
}
public String getStepIncrementUom() {
return stepIncrementUom;
}
public void setStepIncrementUom(String stepIncrementUom) {
this.stepIncrementUom = stepIncrementUom;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
LogRange logRange = (LogRange) o;
return Objects.equals(stepIncrement, logRange.stepIncrement) &&
Objects.equals(stepIncrementUom, logRange.stepIncrementUom);
}
@Override
public int hashCode() {
return Objects.hash(stepIncrement, stepIncrementUom);
}
public boolean isEmpty() {
return stepIncrement == null && Strings.isNullOrEmpty(stepIncrementUom);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy