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

it.uniroma2.art.coda.pearl.parser.validate.ValidateInfo Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package it.uniroma2.art.coda.pearl.parser.validate;

import java.util.HashMap;
import java.util.Map;

public class ValidateInfo {
	Map ruleIdInfoMap;

	public ValidateInfo() {
		this.ruleIdInfoMap = new HashMap();
	}
	
	public void addRuleIdAndInfo(String ruleId, SingleInfo info){
		ruleIdInfoMap.put(ruleId, info);
	}
	
	public Map getRuleIdInfoMap(){
		return ruleIdInfoMap;
	}
	
	public SingleInfo getInfoFromRuleId(String ruleId){
		return ruleIdInfoMap.get(ruleId);
	}
	
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy