KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > base > cci > ObjectModificationAuditEntryClassImpl


1 // ----------------------------------------------------------------------------
2
// ClassProxy/ImplBegin
3
// ----------------------------------------------------------------------------
4
//////////////////////////////////////////////////////////////////////////////
5
//
6
// Name: $Id: JMIAbstractMapper.java,v 1.11 2006/01/21 23:09:07 wfro Exp $
7
// Generated by: openMDX JMI Mapper
8
// Date: Mon Apr 03 11:38:58 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.base.cci;
14
15 public class ObjectModificationAuditEntryClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements ObjectModificationAuditEntryClass {
18
19   public ObjectModificationAuditEntryClassImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage
21   ) {
22     super(refPackage);
23   }
24
25   public String JavaDoc refMofId(
26   ) {
27     return "org:opencrx:kernel:base:ObjectModificationAuditEntry";
28   }
29
30   public ObjectModificationAuditEntry getObjectModificationAuditEntry(
31     Object JavaDoc object
32   ) {
33     try {
34       if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) {
35         java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
36         args.add(object);
37         ObjectModificationAuditEntry target = (ObjectModificationAuditEntry)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (ObjectModificationAuditEntry)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject(
43           object instanceof org.openmdx.compatibility.base.naming.Path
44             ? ((org.openmdx.compatibility.base.naming.Path)object).toXri()
45             : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri()
46         );
47       }
48     }
49     catch(org.openmdx.base.exception.ServiceException e) {
50         throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e);
51     }
52   }
53
54   public ObjectModificationAuditEntry createObjectModificationAuditEntry(
55   ) {
56     ObjectModificationAuditEntry target = (ObjectModificationAuditEntry)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public ObjectModificationAuditEntry createObjectModificationAuditEntry(
65       String JavaDoc auditee
66     , String JavaDoc beforeImage
67     , String JavaDoc modifiedFeatures
68     , short accessLevelBrowse
69     , short accessLevelDelete
70     , short accessLevelUpdate
71   ) {
72     ObjectModificationAuditEntryImpl _object = (ObjectModificationAuditEntryImpl)createObjectModificationAuditEntry();
73     _object.setAuditee(auditee);
74     _object.setBeforeImage(beforeImage);
75     _object.setModifiedFeatures(modifiedFeatures);
76     _object.setAccessLevelBrowse(accessLevelBrowse);
77     _object.setAccessLevelDelete(accessLevelDelete);
78     _object.setAccessLevelUpdate(accessLevelUpdate);
79     return _object;
80   }
81
82 // ----------------------------------------------------------------------------
83
// ClassProxy/ImplInstanceExtenderRequiredAttributes
84
// ----------------------------------------------------------------------------
85
public ObjectModificationAuditEntry extendAuditEntry(
86       org.opencrx.kernel.base.cci.AuditEntry _base
87     , String JavaDoc beforeImage
88     , String JavaDoc modifiedFeatures
89   ) {
90     ObjectModificationAuditEntryImpl _object = (ObjectModificationAuditEntryImpl)getObjectModificationAuditEntry(_base);
91     _object.setBeforeImage(beforeImage);
92     _object.setModifiedFeatures(modifiedFeatures);
93     return _object;
94   }
95
96 // ----------------------------------------------------------------------------
97
// ClassProxy/ImplInstanceExtenderRequiredAttributes
98
// ----------------------------------------------------------------------------
99
public ObjectModificationAuditEntry extendSecureObject(
100       org.opencrx.kernel.base.cci.SecureObject _base
101     , String JavaDoc auditee
102     , String JavaDoc beforeImage
103     , String JavaDoc modifiedFeatures
104   ) {
105     ObjectModificationAuditEntryImpl _object = (ObjectModificationAuditEntryImpl)getObjectModificationAuditEntry(_base);
106     _object.setAuditee(auditee);
107     _object.setBeforeImage(beforeImage);
108     _object.setModifiedFeatures(modifiedFeatures);
109     return _object;
110   }
111
112 // ----------------------------------------------------------------------------
113
// ClassProxy/ImplInstanceExtenderRequiredAttributes
114
// ----------------------------------------------------------------------------
115
public ObjectModificationAuditEntry extendBasicObject(
116       org.openmdx.base.cci.BasicObject _base
117     , String JavaDoc auditee
118     , String JavaDoc beforeImage
119     , String JavaDoc modifiedFeatures
120     , short accessLevelBrowse
121     , short accessLevelDelete
122     , short accessLevelUpdate
123   ) {
124     ObjectModificationAuditEntryImpl _object = (ObjectModificationAuditEntryImpl)getObjectModificationAuditEntry(_base);
125     _object.setAuditee(auditee);
126     _object.setBeforeImage(beforeImage);
127     _object.setModifiedFeatures(modifiedFeatures);
128     _object.setAccessLevelBrowse(accessLevelBrowse);
129     _object.setAccessLevelDelete(accessLevelDelete);
130     _object.setAccessLevelUpdate(accessLevelUpdate);
131     return _object;
132   }
133
134 // ----------------------------------------------------------------------------
135
// ClassProxy/ImplInstanceExtenderRequiredAttributes
136
// ----------------------------------------------------------------------------
137
public ObjectModificationAuditEntry extendContextCapable(
138       org.openmdx.base.cci.ContextCapable _base
139     , String JavaDoc auditee
140     , String JavaDoc beforeImage
141     , String JavaDoc modifiedFeatures
142     , short accessLevelBrowse
143     , short accessLevelDelete
144     , short accessLevelUpdate
145   ) {
146     ObjectModificationAuditEntryImpl _object = (ObjectModificationAuditEntryImpl)getObjectModificationAuditEntry(_base);
147     _object.setAuditee(auditee);
148     _object.setBeforeImage(beforeImage);
149     _object.setModifiedFeatures(modifiedFeatures);
150     _object.setAccessLevelBrowse(accessLevelBrowse);
151     _object.setAccessLevelDelete(accessLevelDelete);
152     _object.setAccessLevelUpdate(accessLevelUpdate);
153     return _object;
154   }
155
156 // ----------------------------------------------------------------------------
157
// ClassProxy/ImplInstanceExtenderRequiredAttributes
158
// ----------------------------------------------------------------------------
159
public ObjectModificationAuditEntry extendExtentCapable(
160       org.openmdx.base.cci.ExtentCapable _base
161     , String JavaDoc auditee
162     , String JavaDoc beforeImage
163     , String JavaDoc modifiedFeatures
164     , short accessLevelBrowse
165     , short accessLevelDelete
166     , short accessLevelUpdate
167   ) {
168     ObjectModificationAuditEntryImpl _object = (ObjectModificationAuditEntryImpl)getObjectModificationAuditEntry(_base);
169     _object.setAuditee(auditee);
170     _object.setBeforeImage(beforeImage);
171     _object.setModifiedFeatures(modifiedFeatures);
172     _object.setAccessLevelBrowse(accessLevelBrowse);
173     _object.setAccessLevelDelete(accessLevelDelete);
174     _object.setAccessLevelUpdate(accessLevelUpdate);
175     return _object;
176   }
177
178 // ----------------------------------------------------------------------------
179
// ClassProxy/ImplInstanceExtenderRequiredAttributes
180
// ----------------------------------------------------------------------------
181
public ObjectModificationAuditEntry extendViewCapable(
182       org.openmdx.compatibility.view1.cci.ViewCapable _base
183     , String JavaDoc auditee
184     , String JavaDoc beforeImage
185     , String JavaDoc modifiedFeatures
186     , short accessLevelBrowse
187     , short accessLevelDelete
188     , short accessLevelUpdate
189   ) {
190     ObjectModificationAuditEntryImpl _object = (ObjectModificationAuditEntryImpl)getObjectModificationAuditEntry(_base);
191     _object.setAuditee(auditee);
192     _object.setBeforeImage(beforeImage);
193     _object.setModifiedFeatures(modifiedFeatures);
194     _object.setAccessLevelBrowse(accessLevelBrowse);
195     _object.setAccessLevelDelete(accessLevelDelete);
196     _object.setAccessLevelUpdate(accessLevelUpdate);
197     return _object;
198   }
199
200 // ----------------------------------------------------------------------------
201
// ClassProxy/ImplEnd.vm
202
// ----------------------------------------------------------------------------
203
}
204
Popular Tags