01: package com.salmonllc.xml;
02:
03: /////////////////////////
04: //$Archive: /JADE/SourceCode/com/salmonllc/xml/XMLDataStore.java $
05: //$Author: Srufle $
06: //$Revision: 8 $
07: //$Modtime: 7/31/02 7:13p $
08: /////////////////////////
09: /**
10: * The XML Datastore is used to store any XML file or data from datastore.
11: * Creation date: (8/7/01 11:58:02 AM)
12: * @author: Deepak Agarwal
13: *
14: */
15: public class XMLDataStore {
16:
17: private ResultSetMetaData rsm = null;
18: private ResultSetData rsData = null;
19:
20: /**
21: * XMLDataStore constructor comment.
22: */
23: public XMLDataStore() {
24: super ();
25: }
26:
27: /**
28: * Gets the ResultSetData for the XML file read
29: * Creation date: (8/7/01 11:59:16 AM)
30: * @return com.salmonllc.xml.ResultSetData
31: */
32: public ResultSetData getRsData() {
33: return rsData;
34: }
35:
36: /**
37: * Gets the ResultSetMetaData (Column definition) for the XML file read
38: * Creation date: (8/7/01 11:59:16 AM)
39: * @return com.salmonllc.xml.ResultSetMetaData
40: */
41: public ResultSetMetaData getRsm() {
42: return rsm;
43: }
44:
45: /**
46: * Creation date: (8/7/01 11:59:16 AM)
47: * @param newRsData com.salmonllc.xml.ResultSetData
48: */
49: public void setRsData(ResultSetData newRsData) {
50: rsData = newRsData;
51: }
52:
53: /**
54: * Creation date: (8/7/01 11:59:16 AM)
55: * @param newRsm com.salmonllc.xml.ResultSetMetaData
56: */
57: public void setRsm(ResultSetMetaData newRsm) {
58: rsm = newRsm;
59: }
60: }
|