001: package org.sakaibrary.xserver.session;
002:
003: public class MetasearchSession implements java.io.Serializable {
004:
005: private static final long serialVersionUID = 1L;
006:
007: private String guid;
008:
009: private String username;
010: private String password;
011: private boolean isLoggedIn;
012: private String sessionId;
013: private String baseUrl;
014:
015: private org.osid.shared.Id repositoryId;
016: private String repositoryDisplayName;
017:
018: private org.osid.shared.Properties searchProperties;
019: private java.util.Properties searchStatusProperties;
020: private boolean singleSearchSource;
021: private boolean gotMergeError;
022:
023: private String foundGroupNumber;
024: private String mergedGroupNumber;
025: private String recordsSetNumber;
026:
027: private Integer numRecordsFound;
028: private Integer numRecordsFetched;
029: private Integer numRecordsMerged;
030:
031: public MetasearchSession(String guid) {
032: this .guid = guid;
033: }
034:
035: public String getGuid() {
036: return guid;
037: }
038:
039: public String getFoundGroupNumber() {
040: return foundGroupNumber;
041: }
042:
043: public void setFoundGroupNumber(String foundGroupNumber) {
044: this .foundGroupNumber = foundGroupNumber;
045: }
046:
047: public boolean isLoggedIn() {
048: return isLoggedIn;
049: }
050:
051: public void setLoggedIn(boolean isLoggedIn) {
052: this .isLoggedIn = isLoggedIn;
053: }
054:
055: public String getRecordsSetNumber() {
056: return recordsSetNumber;
057: }
058:
059: public void setRecordsSetNumber(String recordsSetNumber) {
060: this .recordsSetNumber = recordsSetNumber;
061: }
062:
063: public String getSessionId() {
064: return sessionId;
065: }
066:
067: public void setSessionId(String sessionId) {
068: this .sessionId = sessionId;
069: }
070:
071: public Integer getNumRecordsFound() {
072: return numRecordsFound;
073: }
074:
075: public void setNumRecordsFound(Integer numRecordsFound) {
076: this .numRecordsFound = numRecordsFound;
077: }
078:
079: public Integer getNumRecordsFetched() {
080: return numRecordsFetched;
081: }
082:
083: public void setNumRecordsFetched(Integer numRecordsFetched) {
084: this .numRecordsFetched = numRecordsFetched;
085: }
086:
087: public String getMergedGroupNumber() {
088: return mergedGroupNumber;
089: }
090:
091: public void setMergedGroupNumber(String mergedGroupNumber) {
092: this .mergedGroupNumber = mergedGroupNumber;
093: }
094:
095: public org.osid.shared.Properties getSearchProperties() {
096: return searchProperties;
097: }
098:
099: public void setSearchProperties(
100: org.osid.shared.Properties searchProperties) {
101: this .searchProperties = searchProperties;
102: }
103:
104: public org.osid.shared.Id getRepositoryId() {
105: return repositoryId;
106: }
107:
108: public void setRepositoryId(org.osid.shared.Id repositoryId) {
109: this .repositoryId = repositoryId;
110: }
111:
112: public String getRepositoryDisplayName() {
113: return repositoryDisplayName;
114: }
115:
116: public void setRepositoryDisplayName(String repositoryDisplayName) {
117: this .repositoryDisplayName = repositoryDisplayName;
118: }
119:
120: public Integer getNumRecordsMerged() {
121: return numRecordsMerged;
122: }
123:
124: public void setNumRecordsMerged(Integer numRecordsMerged) {
125: this .numRecordsMerged = numRecordsMerged;
126: }
127:
128: public boolean isSingleSearchSource() {
129: return singleSearchSource;
130: }
131:
132: public void setSingleSearchSource(boolean singleSearchSource) {
133: this .singleSearchSource = singleSearchSource;
134: }
135:
136: public boolean isGotMergeError() {
137: return gotMergeError;
138: }
139:
140: public void setGotMergeError(boolean gotMergeError) {
141: this .gotMergeError = gotMergeError;
142: }
143:
144: public java.util.Properties getSearchStatusProperties() {
145: return searchStatusProperties;
146: }
147:
148: public void setSearchStatusProperties(
149: java.util.Properties searchStatusProperties) {
150: this .searchStatusProperties = searchStatusProperties;
151: }
152:
153: public String getBaseUrl() {
154: return baseUrl;
155: }
156:
157: public void setBaseUrl(String baseUrl) {
158: this .baseUrl = baseUrl;
159: }
160:
161: public String getPassword() {
162: return password;
163: }
164:
165: public void setPassword(String password) {
166: this .password = password;
167: }
168:
169: public String getUsername() {
170: return username;
171: }
172:
173: public void setUsername(String username) {
174: this.username = username;
175: }
176: }
|