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

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

There is a newer version: 11.25.1
Show newest version
package com.regnosys.rosetta.translate;

import com.regnosys.rosetta.common.translation.Path;

class MatchResult {
	private final MatchType matchType;
	private final Path fullMatch;
	// this algorithm is only going to work if this is singular
	// if there are multiple or fullMatches and partial matches then the data structure used to create the handler is wrong

	MatchResult(MatchType matchType, Path fullMatch) {
		this.matchType = matchType;
		this.fullMatch = fullMatch;
	}

	MatchType matchType() {
		return matchType;
	}
	
	public Path fullMatch() {
		return fullMatch;
	}

	@Override
	public String toString() {
		return "MatchResult [matchType=" + matchType + ", fullMatch=" + fullMatch + "]";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy