com.regnosys.rosetta.translate.MergeSynonymValue Maven / Gradle / Ivy
package com.regnosys.rosetta.translate;
import java.util.Objects;
public class MergeSynonymValue {
private final String mergeSynonym;
private final String excludePath;
public MergeSynonymValue(String mergeSynonym, String excludePath) {
this.mergeSynonym = mergeSynonym;
this.excludePath = excludePath;
}
public String getMergeSynonym() {
return mergeSynonym;
}
public String getExcludePath() {
return excludePath;
}
@Override
public int hashCode() {
return Objects.hash(excludePath, mergeSynonym);
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
MergeSynonymValue other = (MergeSynonymValue) obj;
return Objects.equals(excludePath, other.excludePath) && Objects.equals(mergeSynonym, other.mergeSynonym);
}
}