From: <th...@us...> - 2004-01-12 18:18:58
|
Update of /cvsroot/jaxme/JaxMe/src/runtime/de/ispsoft/jaxme In directory sc8-pr-cvs1:/tmp/cvs-serv6940/src/runtime/de/ispsoft/jaxme Modified Files: ResultInfo.java Log Message: tamino session handling added Index: ResultInfo.java =================================================================== RCS file: /cvsroot/jaxme/JaxMe/src/runtime/de/ispsoft/jaxme/ResultInfo.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ResultInfo.java 7 Jan 2004 10:58:57 -0000 1.1 +++ ResultInfo.java 12 Jan 2004 18:18:55 -0000 1.2 @@ -4,27 +4,26 @@ */ package de.ispsoft.jaxme; +import java.util.HashMap; +import java.util.Map; + /** * @author Thomas Haenel, ATC GmbH * @version $Id$ */ public class ResultInfo { - // the count of elements found - private int cursorCount = -1; - - /** - * @return - */ - public int getCursorCount() { - return cursorCount; + private Map infoMap; + + public ResultInfo() { + infoMap = new HashMap(); } - /** - * @param i - */ - public void setCursorCount(int i) { - cursorCount = i; + public void putResultInfo(String key, String value) { + infoMap.put(key, value); + } + + public String getResultInfo(String key) { + return infoMap.get(key).toString(); } - } |