in server/catgenome/src/main/java/com/epam/catgenome/manager/gene/writer/Gff3BaseData.java [65:98]
public boolean equals(Object other) {
if (other == this) {
return true;
}
if(!other.getClass().equals(Gff3BaseData.class)) {
return false;
}
final Gff3BaseData otherBaseData = (Gff3BaseData) other;
boolean ret = otherBaseData.getContig().equals(getContig()) &&
otherBaseData.getSource().equals(getSource()) &&
otherBaseData.getType().equals(getType()) &&
otherBaseData.getStart() == getStart() &&
otherBaseData.getEnd() == getEnd() &&
otherBaseData.getScore().equals(score) &&
otherBaseData.getPhase().equals(getPhase()) &&
otherBaseData.getStrand().equals(getStrand()) &&
otherBaseData.getAttributes().equals(getAttributes());
if (getId() == null) {
ret = ret && otherBaseData.getId() == null;
} else {
ret = ret && otherBaseData.getId() != null && otherBaseData.getId().equals(getId());
}
if (getName() == null) {
ret = ret && otherBaseData.getName() == null;
} else {
ret = ret && otherBaseData.getName() != null && otherBaseData.getName().equals(getName());
}
ret = ret && otherBaseData.getAliases().equals(getAliases());
return ret;
}