KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openmdx > security > authentication1 > cci > SendPasscodeClassImpl


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.openmdx.security.authentication1.cci;
14
15 public class SendPasscodeClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements SendPasscodeClass {
18
19   public SendPasscodeClassImpl(
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:openmdx:security:authentication1:SendPasscode";
28   }
29
30   public SendPasscode getSendPasscode(
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         SendPasscode target = (SendPasscode)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (SendPasscode)((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 SendPasscode createSendPasscode(
55   ) {
56     SendPasscode target = (SendPasscode)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public SendPasscode createSendPasscode(
65       String JavaDoc address
66     , short template
67     , boolean locked
68     , org.openmdx.security.realm1.cci.Subject subject
69   ) {
70     SendPasscodeImpl _object = (SendPasscodeImpl)createSendPasscode();
71     _object.setAddress(address);
72     _object.setTemplate(template);
73     _object.setLocked(locked);
74     _object.setSubject(subject);
75     return _object;
76   }
77
78 // ----------------------------------------------------------------------------
79
// ClassProxy/ImplInstanceExtenderRequiredAttributes
80
// ----------------------------------------------------------------------------
81
public SendPasscode extendBasicObject(
82       org.openmdx.base.cci.BasicObject _base
83     , String JavaDoc address
84     , short template
85     , boolean locked
86     , org.openmdx.security.realm1.cci.Subject subject
87   ) {
88     SendPasscodeImpl _object = (SendPasscodeImpl)getSendPasscode(_base);
89     _object.setAddress(address);
90     _object.setTemplate(template);
91     _object.setLocked(locked);
92     _object.setSubject(subject);
93     return _object;
94   }
95
96 // ----------------------------------------------------------------------------
97
// ClassProxy/ImplInstanceExtenderRequiredAttributes
98
// ----------------------------------------------------------------------------
99
public SendPasscode extendContextCapable(
100       org.openmdx.base.cci.ContextCapable _base
101     , String JavaDoc address
102     , short template
103     , boolean locked
104     , org.openmdx.security.realm1.cci.Subject subject
105   ) {
106     SendPasscodeImpl _object = (SendPasscodeImpl)getSendPasscode(_base);
107     _object.setAddress(address);
108     _object.setTemplate(template);
109     _object.setLocked(locked);
110     _object.setSubject(subject);
111     return _object;
112   }
113
114 // ----------------------------------------------------------------------------
115
// ClassProxy/ImplInstanceExtenderRequiredAttributes
116
// ----------------------------------------------------------------------------
117
public SendPasscode extendExtentCapable(
118       org.openmdx.base.cci.ExtentCapable _base
119     , String JavaDoc address
120     , short template
121     , boolean locked
122     , org.openmdx.security.realm1.cci.Subject subject
123   ) {
124     SendPasscodeImpl _object = (SendPasscodeImpl)getSendPasscode(_base);
125     _object.setAddress(address);
126     _object.setTemplate(template);
127     _object.setLocked(locked);
128     _object.setSubject(subject);
129     return _object;
130   }
131
132 // ----------------------------------------------------------------------------
133
// ClassProxy/ImplInstanceExtenderRequiredAttributes
134
// ----------------------------------------------------------------------------
135
public SendPasscode extendViewCapable(
136       org.openmdx.compatibility.view1.cci.ViewCapable _base
137     , String JavaDoc address
138     , short template
139     , boolean locked
140     , org.openmdx.security.realm1.cci.Subject subject
141   ) {
142     SendPasscodeImpl _object = (SendPasscodeImpl)getSendPasscode(_base);
143     _object.setAddress(address);
144     _object.setTemplate(template);
145     _object.setLocked(locked);
146     _object.setSubject(subject);
147     return _object;
148   }
149
150 // ----------------------------------------------------------------------------
151
// ClassProxy/ImplInstanceExtenderRequiredAttributes
152
// ----------------------------------------------------------------------------
153
public SendPasscode extendCredential(
154       org.openmdx.security.authentication1.cci.Credential _base
155     , String JavaDoc address
156     , short template
157   ) {
158     SendPasscodeImpl _object = (SendPasscodeImpl)getSendPasscode(_base);
159     _object.setAddress(address);
160     _object.setTemplate(template);
161     return _object;
162   }
163
164 // ----------------------------------------------------------------------------
165
// ClassProxy/ImplInstanceExtenderRequiredAttributes
166
// ----------------------------------------------------------------------------
167
public SendPasscode extendPasscode(
168       org.openmdx.security.authentication1.cci.Passcode _base
169     , String JavaDoc address
170     , short template
171   ) {
172     SendPasscodeImpl _object = (SendPasscodeImpl)getSendPasscode(_base);
173     _object.setAddress(address);
174     _object.setTemplate(template);
175     return _object;
176   }
177
178 // ----------------------------------------------------------------------------
179
// ClassProxy/ImplInstanceExtenderRequiredAttributes
180
// ----------------------------------------------------------------------------
181
public SendPasscode extendCredential(
182       org.openmdx.security.realm1.cci.Credential _base
183     , String JavaDoc address
184     , short template
185   ) {
186     SendPasscodeImpl _object = (SendPasscodeImpl)getSendPasscode(_base);
187     _object.setAddress(address);
188     _object.setTemplate(template);
189     return _object;
190   }
191
192 // ----------------------------------------------------------------------------
193
// ClassProxy/ImplEnd.vm
194
// ----------------------------------------------------------------------------
195
}
196
Popular Tags