package at.gv.egovernment.moa.spss.api.impl; import org.w3c.dom.NodeList; import at.gv.egovernment.moa.spss.api.common.CheckResult; /** * Default implementation of CheckResult. * * @author Fatemeh Philippi * @version $Id$ */ public class CheckResultImpl implements CheckResult { /** The result code. */ private int code; /** Additional information. */ private NodeList info; /** * Sets a result code. * * @param code The result code. */ public void setCode(int code) { this.code = code; } /** * @see at.gv.egovernment.moa.spss.api.CheckResult#getCode() */ public int getCode() { return code; } /** * Sets a descriptive information. * * @param info The descriptive information. */ public void setInfo(NodeList info) { this.info = info; } /** * @see at.gv.egovernment.moa.spss.api.CheckResult#getInfo() */ public NodeList getInfo() { return info; } }