com.onevizion.uitest.api.vo.DashColumn Maven / Gradle / Ivy
package com.onevizion.uitest.api.vo;
public class DashColumn {
private String text;
private DashColumnType type;
public DashColumn(String text, DashColumnType type) {
this.text = text;
this.type = type;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((text == null) ? 0 : text.hashCode());
result = prime * result + ((type == null) ? 0 : type.hashCode());
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
DashColumn other = (DashColumn) obj;
if (text == null) {
if (other.text != null)
return false;
} else if (!text.equals(other.text))
return false;
if (type != other.type)
return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy