01: /*
02: * The contents of this file are subject to the
03: * Mozilla Public License Version 1.1 (the "License");
04: * you may not use this file except in compliance with the License.
05: * You may obtain a copy of the License at http://www.mozilla.org/MPL/
06: *
07: * Software distributed under the License is distributed on an "AS IS"
08: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
09: * See the License for the specific language governing rights and
10: * limitations under the License.
11: *
12: * The Initial Developer of the Original Code is Simulacra Media Ltd.
13: * Portions created by Simulacra Media Ltd are Copyright (C) Simulacra Media Ltd, 2004.
14: *
15: * All Rights Reserved.
16: *
17: * Contributor(s):
18: */
19: package org.openharmonise.rm.resources.audit;
20:
21: import org.openharmonise.commons.dsi.*;
22: import org.openharmonise.rm.resources.xml.*;
23:
24: /**
25: * The <code>XMLAuditResource</code> class represents an XML resource which
26: * has XML contents which are associated with the auditing of logged events,
27: * i.e. queries or reports.
28: *
29: * @author Michael Bell
30: * @version $Revision: 1.2 $
31: *
32: */
33: public class XMLAuditResource extends XMLResource {
34:
35: /**
36: *
37: */
38: public XMLAuditResource() {
39: super ();
40: }
41:
42: /**
43: * @param dbintrf
44: */
45: public XMLAuditResource(AbstractDataStoreInterface dbintrf) {
46: super (dbintrf);
47: }
48:
49: /**
50: * @param dbintrf
51: * @param nId
52: * @param nKey
53: * @param bIsHist
54: */
55: public XMLAuditResource(AbstractDataStoreInterface dbintrf,
56: int nId, int nKey, boolean bIsHist) {
57: super (dbintrf, nId, nKey, bIsHist);
58: }
59:
60: /**
61: * @param dbintrf
62: * @param nId
63: */
64: public XMLAuditResource(AbstractDataStoreInterface dbintrf, int nId) {
65: super (dbintrf, nId);
66: }
67:
68: /* (non-Javadoc)
69: * @see org.openharmonise.rm.resources.AbstractChildObject#getParentObjectClassName()
70: */
71: public String getParentObjectClassName() {
72: return XMLAuditResourceGroup.class.getName();
73: }
74:
75: }
|