it.uniroma2.art.coda.pearl.parser.validate.ValidateInfo Maven / Gradle / Ivy
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);
}
}