Revision 2595
Added by Jing Tao about 19 years ago
src/edu/ucsb/nceas/metacat/DocumentImpl.java | ||
---|---|---|
103 | 103 |
static final int ALL = 1; |
104 | 104 |
static final int WRITE = 2; |
105 | 105 |
static final int READ = 4; |
106 |
private static final AbstractDatabase dbAdapter = MetaCatUtil.dbAdapter;
|
|
107 |
private DBConnection connection = null;
|
|
108 |
private String docid = null;
|
|
109 |
private String updatedVersion = null;
|
|
110 |
private String docname = null;
|
|
111 |
private String doctype = null;
|
|
106 |
protected static final AbstractDatabase dbAdapter = MetaCatUtil.dbAdapter;
|
|
107 |
protected DBConnection connection = null;
|
|
108 |
protected String docid = null;
|
|
109 |
protected String updatedVersion = null;
|
|
110 |
protected String docname = null;
|
|
111 |
protected String doctype = null;
|
|
112 | 112 |
private String validateType = null; //base on dtd or schema |
113 | 113 |
private String createdate = null; |
114 | 114 |
private String updatedate = null; |
... | ... | |
119 | 119 |
private int serverlocation; |
120 | 120 |
private String docHomeServer; |
121 | 121 |
private String publicaccess; |
122 |
private long rootnodeid;
|
|
122 |
protected long rootnodeid;
|
|
123 | 123 |
private ElementNode rootNode = null; |
124 | 124 |
private TreeSet nodeRecordList = null; |
125 |
|
|
126 |
/** |
|
127 |
* Default constructor |
|
128 |
* |
|
129 |
*/ |
|
130 |
public DocumentImpl() |
|
131 |
{ |
|
132 |
|
|
133 |
} |
|
125 | 134 |
|
126 | 135 |
/** |
127 | 136 |
* Constructor used to create a document and read the document information |
Also available in: Unified diff
Add default constructor and change some viriable to protected.