net.sf.okapi.steps.scopingreport.ScopingReportAnnotation Maven / Gradle / Ivy
package net.sf.okapi.steps.scopingreport;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import net.sf.okapi.common.Util;
import net.sf.okapi.common.annotation.IAnnotation;
public class ScopingReportAnnotation implements IAnnotation, Serializable {
private static final long serialVersionUID = -1566108918173044555L;
private Map fields = new HashMap<>();
public void put(String fieldName, String fieldValue) {
if (Util.isEmpty(fieldValue)) fieldValue = "0";
fields.put(fieldName, fieldValue);
}
public Map getFields() {
return fields;
}
public void setFields(Map fields) {
this.fields = fields;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy