KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > document1 > cci > DocumentFolderClassImpl


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:57 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.document1.cci;
14
15 public class DocumentFolderClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements DocumentFolderClass {
18
19   public DocumentFolderClassImpl(
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:document1:DocumentFolder";
28   }
29
30   public DocumentFolder getDocumentFolder(
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         DocumentFolder target = (DocumentFolder)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (DocumentFolder)((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 DocumentFolder createDocumentFolder(
55   ) {
56     DocumentFolder target = (DocumentFolder)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public DocumentFolder createDocumentFolder(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , String JavaDoc description
69     , String JavaDoc name
70   ) {
71     DocumentFolderImpl _object = (DocumentFolderImpl)createDocumentFolder();
72     _object.setAccessLevelBrowse(accessLevelBrowse);
73     _object.setAccessLevelDelete(accessLevelDelete);
74     _object.setAccessLevelUpdate(accessLevelUpdate);
75     _object.setDescription(description);
76     _object.setName(name);
77     return _object;
78   }
79
80 // ----------------------------------------------------------------------------
81
// ClassProxy/ImplInstanceExtenderRequiredAttributes
82
// ----------------------------------------------------------------------------
83
public DocumentFolder extendAuditee(
84       org.opencrx.kernel.base.cci.Auditee _base
85     , short accessLevelBrowse
86     , short accessLevelDelete
87     , short accessLevelUpdate
88     , String JavaDoc description
89     , String JavaDoc name
90   ) {
91     DocumentFolderImpl _object = (DocumentFolderImpl)getDocumentFolder(_base);
92     _object.setAccessLevelBrowse(accessLevelBrowse);
93     _object.setAccessLevelDelete(accessLevelDelete);
94     _object.setAccessLevelUpdate(accessLevelUpdate);
95     _object.setDescription(description);
96     _object.setName(name);
97     return _object;
98   }
99
100 // ----------------------------------------------------------------------------
101
// ClassProxy/ImplInstanceExtenderRequiredAttributes
102
// ----------------------------------------------------------------------------
103
public DocumentFolder extendSecureObject(
104       org.opencrx.kernel.base.cci.SecureObject _base
105     , String JavaDoc description
106     , String JavaDoc name
107   ) {
108     DocumentFolderImpl _object = (DocumentFolderImpl)getDocumentFolder(_base);
109     _object.setDescription(description);
110     _object.setName(name);
111     return _object;
112   }
113
114 // ----------------------------------------------------------------------------
115
// ClassProxy/ImplInstanceExtenderRequiredAttributes
116
// ----------------------------------------------------------------------------
117
public DocumentFolder extendBasicObject(
118       org.openmdx.base.cci.BasicObject _base
119     , short accessLevelBrowse
120     , short accessLevelDelete
121     , short accessLevelUpdate
122     , String JavaDoc description
123     , String JavaDoc name
124   ) {
125     DocumentFolderImpl _object = (DocumentFolderImpl)getDocumentFolder(_base);
126     _object.setAccessLevelBrowse(accessLevelBrowse);
127     _object.setAccessLevelDelete(accessLevelDelete);
128     _object.setAccessLevelUpdate(accessLevelUpdate);
129     _object.setDescription(description);
130     _object.setName(name);
131     return _object;
132   }
133
134 // ----------------------------------------------------------------------------
135
// ClassProxy/ImplInstanceExtenderRequiredAttributes
136
// ----------------------------------------------------------------------------
137
public DocumentFolder extendContextCapable(
138       org.openmdx.base.cci.ContextCapable _base
139     , short accessLevelBrowse
140     , short accessLevelDelete
141     , short accessLevelUpdate
142     , String JavaDoc description
143     , String JavaDoc name
144   ) {
145     DocumentFolderImpl _object = (DocumentFolderImpl)getDocumentFolder(_base);
146     _object.setAccessLevelBrowse(accessLevelBrowse);
147     _object.setAccessLevelDelete(accessLevelDelete);
148     _object.setAccessLevelUpdate(accessLevelUpdate);
149     _object.setDescription(description);
150     _object.setName(name);
151     return _object;
152   }
153
154 // ----------------------------------------------------------------------------
155
// ClassProxy/ImplInstanceExtenderRequiredAttributes
156
// ----------------------------------------------------------------------------
157
public DocumentFolder extendExtentCapable(
158       org.openmdx.base.cci.ExtentCapable _base
159     , short accessLevelBrowse
160     , short accessLevelDelete
161     , short accessLevelUpdate
162     , String JavaDoc description
163     , String JavaDoc name
164   ) {
165     DocumentFolderImpl _object = (DocumentFolderImpl)getDocumentFolder(_base);
166     _object.setAccessLevelBrowse(accessLevelBrowse);
167     _object.setAccessLevelDelete(accessLevelDelete);
168     _object.setAccessLevelUpdate(accessLevelUpdate);
169     _object.setDescription(description);
170     _object.setName(name);
171     return _object;
172   }
173
174 // ----------------------------------------------------------------------------
175
// ClassProxy/ImplInstanceExtenderRequiredAttributes
176
// ----------------------------------------------------------------------------
177
public DocumentFolder extendViewCapable(
178       org.openmdx.compatibility.view1.cci.ViewCapable _base
179     , short accessLevelBrowse
180     , short accessLevelDelete
181     , short accessLevelUpdate
182     , String JavaDoc description
183     , String JavaDoc name
184   ) {
185     DocumentFolderImpl _object = (DocumentFolderImpl)getDocumentFolder(_base);
186     _object.setAccessLevelBrowse(accessLevelBrowse);
187     _object.setAccessLevelDelete(accessLevelDelete);
188     _object.setAccessLevelUpdate(accessLevelUpdate);
189     _object.setDescription(description);
190     _object.setName(name);
191     return _object;
192   }
193
194 // ----------------------------------------------------------------------------
195
// ClassProxy/ImplEnd.vm
196
// ----------------------------------------------------------------------------
197
}
198
Popular Tags