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

com.regnosys.rosetta.translate.MergeSynonymValue Maven / Gradle / Ivy

There is a newer version: 11.25.1
Show newest version
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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy