/* Copyright (c) 2008, Centre for Educational Technology, Tallinn University Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ package ee.tlu.htk.waramu.fire; import java.util.Map; /** * * @author vahur */ public class SQISession { private String key = null; private String resultFormat = null; private String queryLanguage = null; private Map results = null; private String sourceLocation = null; private Integer maxResults = null; private Integer maxDuration = null; private Integer resultsSetSize = null; /** Creates a new instance of SQISession */ public SQISession() { } @Override public String toString() { return ""+ ""+getKey()+""+ ""+getResultFormat()+""+ ""+getQueryLanguage()+""+ ""; } public String getKey() { return key; } public void setKey(String key) { this.key = key; } public String getResultFormat() { return resultFormat; } public void setResultFormat(String resultFormat) { this.resultFormat = resultFormat; } public String getQueryLanguage() { return queryLanguage; } public void setQueryLanguage(String queryLanguage) { this.queryLanguage = queryLanguage; } public Map getResults() { return results; } public void setResults(Map results) { this.results = results; } public String getSourceLocation() { return sourceLocation; } public void setSourceLocation(String sourceLocation) { this.sourceLocation = sourceLocation; } public Integer getMaxResults() { return maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public Integer getMaxDuration() { return maxDuration; } public void setMaxDuration(Integer maxDuration) { this.maxDuration = maxDuration; } public Integer getResultsSetSize() { return resultsSetSize; } public void setResultsSetSize(Integer resultsSetSize) { this.resultsSetSize = resultsSetSize; } }