KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > activity1 > cci > MeetingPartyClassImpl


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