KickJava   Java API By Example, From Geeks To Geeks.

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


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