KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > account1 > cci > AbstractOrganizationalUnitImpl


1 // ----------------------------------------------------------------------------
2
// Instance/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:55 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.account1.cci;
14
15 public class AbstractOrganizationalUnitImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements AbstractOrganizationalUnit {
18
19   public AbstractOrganizationalUnitImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplReferenceSetWithQualifier
28
// ----------------------------------------------------------------------------
29
public void setContactMembership(
30     java.util.List JavaDoc newValue
31   ) {
32     refSetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership", newValue);
33   }
34
35   public void setContactMembership(
36     org.opencrx.kernel.account1.cci.ContactMembership[] newValue
37   ) {
38     refSetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership", newValue);
39   }
40
41 // ----------------------------------------------------------------------------
42
// Instance/ImplReferenceGet0_1WithQualifier
43
// ----------------------------------------------------------------------------
44
public org.opencrx.kernel.account1.cci.ContactMembership getContactMembership(
45     String JavaDoc id
46   ) {
47     return (org.opencrx.kernel.account1.cci.ContactMembership)refGetValue(
48       "org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership",
49       id
50     );
51   }
52
53 // ----------------------------------------------------------------------------
54
// Instance/ImplReferenceGet0_nWithFilter
55
// ----------------------------------------------------------------------------
56
public java.util.Collection JavaDoc getContactMembership(
57   ) {
58     return (java.util.Collection JavaDoc)refGetValue(
59       "org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership"
60     );
61   }
62
63   public java.util.List JavaDoc getContactMembership(
64     org.opencrx.kernel.account1.cci.ContactMembershipFilter filter
65   ) {
66     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
67       "org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership"
68     )).toList(filter);
69   }
70
71 // ----------------------------------------------------------------------------
72
// Instance/ImplReferenceAddWithQualifier
73
// ----------------------------------------------------------------------------
74
public void addContactMembership (
75     String JavaDoc id,
76     org.opencrx.kernel.account1.cci.ContactMembership newValue
77   ) {
78     refAddValue(
79       "org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership",
80       id,
81       newValue
82     );
83   }
84
85 // ----------------------------------------------------------------------------
86
// Instance/ImplReferenceAddWithoutQualifier
87
// ----------------------------------------------------------------------------
88
public void addContactMembership (
89     org.opencrx.kernel.account1.cci.ContactMembership newValue
90   ) {
91     refAddValue(
92       "org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership",
93       newValue
94     );
95   }
96
97 // ----------------------------------------------------------------------------
98
// Instance/ImplReferenceRemoveWithQualifier
99
// ----------------------------------------------------------------------------
100
public void removeContactMembership (
101     String JavaDoc id
102   ) {
103     refRemoveValue(
104       "org:opencrx:kernel:account1:AbstractOrganizationalUnit:contactMembership",
105       id
106     );
107   }
108
109 // ----------------------------------------------------------------------------
110
// Instance/ImplReferenceSetWithQualifier
111
// ----------------------------------------------------------------------------
112
public void setCreditLimit(
113     java.util.List JavaDoc newValue
114   ) {
115     refSetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit", newValue);
116   }
117
118   public void setCreditLimit(
119     org.opencrx.kernel.account1.cci.CreditLimit[] newValue
120   ) {
121     refSetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit", newValue);
122   }
123
124 // ----------------------------------------------------------------------------
125
// Instance/ImplReferenceGet0_1WithQualifier
126
// ----------------------------------------------------------------------------
127
public org.opencrx.kernel.account1.cci.CreditLimit getCreditLimit(
128     String JavaDoc id
129   ) {
130     return (org.opencrx.kernel.account1.cci.CreditLimit)refGetValue(
131       "org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit",
132       id
133     );
134   }
135
136 // ----------------------------------------------------------------------------
137
// Instance/ImplReferenceGet0_nWithFilter
138
// ----------------------------------------------------------------------------
139
public java.util.Collection JavaDoc getCreditLimit(
140   ) {
141     return (java.util.Collection JavaDoc)refGetValue(
142       "org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit"
143     );
144   }
145
146   public java.util.List JavaDoc getCreditLimit(
147     org.opencrx.kernel.account1.cci.CreditLimitFilter filter
148   ) {
149     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
150       "org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit"
151     )).toList(filter);
152   }
153
154 // ----------------------------------------------------------------------------
155
// Instance/ImplReferenceAddWithQualifier
156
// ----------------------------------------------------------------------------
157
public void addCreditLimit (
158     String JavaDoc id,
159     org.opencrx.kernel.account1.cci.CreditLimit newValue
160   ) {
161     refAddValue(
162       "org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit",
163       id,
164       newValue
165     );
166   }
167
168 // ----------------------------------------------------------------------------
169
// Instance/ImplReferenceAddWithoutQualifier
170
// ----------------------------------------------------------------------------
171
public void addCreditLimit (
172     org.opencrx.kernel.account1.cci.CreditLimit newValue
173   ) {
174     refAddValue(
175       "org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit",
176       newValue
177     );
178   }
179
180 // ----------------------------------------------------------------------------
181
// Instance/ImplReferenceRemoveWithQualifier
182
// ----------------------------------------------------------------------------
183
public void removeCreditLimit (
184     String JavaDoc id
185   ) {
186     refRemoveValue(
187       "org:opencrx:kernel:account1:AbstractOrganizationalUnit:creditLimit",
188       id
189     );
190   }
191
192 // ----------------------------------------------------------------------------
193
// Instance/ImplAttributeGet0_1
194
// ----------------------------------------------------------------------------
195
public String JavaDoc getDescription (
196   ) {
197     return (String JavaDoc)this.refGetValue("description", 0);
198   }
199 // ----------------------------------------------------------------------------
200
// Instance/ImplAttributeSet0_1
201
// ----------------------------------------------------------------------------
202
public void setDescription(
203     String JavaDoc newValue
204   ) {
205     refSetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:description", 0, newValue);
206   }
207
208 // ----------------------------------------------------------------------------
209
// Instance/ImplAttributeGet1_1
210
// ----------------------------------------------------------------------------
211
public String JavaDoc getName(
212   ) {
213     return getName(0);
214   }
215
216   protected String JavaDoc getName(
217     int index
218   ) {
219     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:name", index);
220   }
221
222 // ----------------------------------------------------------------------------
223
// Instance/ImplAttributeSet1_1
224
// ----------------------------------------------------------------------------
225
public void setName(
226     String JavaDoc newValue
227   ) {
228     setName(0, newValue);
229   }
230
231   protected void setName(
232     int index,
233     String JavaDoc newValue
234   ) {
235     refSetValue("org:opencrx:kernel:account1:AbstractOrganizationalUnit:name", index, newValue);
236   }
237 // ----------------------------------------------------------------------------
238
// Instance/ImplEnd
239
// ----------------------------------------------------------------------------
240
}
241
Popular Tags