KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > contract1 > cci > Segment


1 // ----------------------------------------------------------------------------
2
// Instance/IntfBegin
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:01 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.contract1.cci;
14
15 public interface Segment
16   extends
17  org.opencrx.kernel.base.cci.Auditee,
18  org.opencrx.kernel.base.cci.Importer,
19  org.opencrx.kernel.base.cci.SecureObject,
20  org.opencrx.kernel.base.cci.XmlExporter,
21  org.openmdx.base.cci.Segment {
22 // ----------------------------------------------------------------------------
23
// Instance/IntfAttributeGet1_1
24
// ----------------------------------------------------------------------------
25
/**
26    * Retrieves the value for the attribute <code>currentPositionNumber</code>.
27    * @return The non-null value for attribute <code>currentPositionNumber</code>.
28    * @exception JmiException If the value cannot be retrieved for some reason.
29    */

30   public long getCurrentPositionNumber(
31   );
32
33 // ----------------------------------------------------------------------------
34
// Instance/IntfReferenceGet0_1WithQualifier
35
// ----------------------------------------------------------------------------
36
/**
37    * Retrieves the value for the reference <code>invoice</code> for the
38    * specified qualifier attribute value.
39    * @param id The value for the qualifier attribute that qualifies this reference.
40    * @return The possibly null value for this reference.
41    * @exception JmiException If the value cannot be retrieved for some reason.
42    */

43   public org.opencrx.kernel.contract1.cci.Invoice getInvoice(
44     String JavaDoc id
45   );
46
47 // ----------------------------------------------------------------------------
48
// Instance/IntfReferenceGet0_nWithFilter
49
// ----------------------------------------------------------------------------
50
/**
51    * Retrieves a collection containing all the elements for the reference
52    * <code>invoice</code>.
53    * @return A collection containing all the elements for this reference.
54    * @exception JmiException If the values cannot be retrieved for some reason.
55    */

56   public java.util.Collection JavaDoc getInvoice(
57   );
58
59   /**
60    * Retrieves the value for the reference <code>invoice</code> for the
61    * specified filter.
62    * @param filter filter which is applied to the set of referenced objects.
63    * @return The filtered collection of referenced objects.
64    * @exception JmiException If the value cannot be retrieved for some reason.
65    */

66   public java.util.List JavaDoc getInvoice(
67     org.opencrx.kernel.contract1.cci.InvoiceFilter filter
68   );
69
70 // ----------------------------------------------------------------------------
71
// Instance/IntfReferenceAddWithQualifier
72
// ----------------------------------------------------------------------------
73
/**
74    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
75    * @param newValue The element to be appended.
76    * @exception JmiException If the value cannot be appended for some reason.
77    */

78   public void addInvoice (
79     String JavaDoc id,
80     org.opencrx.kernel.contract1.cci.Invoice newValue
81   );
82
83 // ----------------------------------------------------------------------------
84
// Instance/IntfReferenceAddWithoutQualifier
85
// ----------------------------------------------------------------------------
86
/**
87    * @param newValue The element to be appended.
88    * @exception JmiException If the value cannot be appended for some reason.
89    */

90   public void addInvoice (
91     org.opencrx.kernel.contract1.cci.Invoice newValue
92   );
93
94 // ----------------------------------------------------------------------------
95
// Instance/IntfReferenceRemoveWithQualifier
96
// ----------------------------------------------------------------------------
97
/**
98    * @exception JmiException If the value cannot be removed for some reason.
99    */

100   public void removeInvoice (
101     String JavaDoc id
102   );
103 // ----------------------------------------------------------------------------
104
// Instance/IntfReferenceGet0_1WithQualifier
105
// ----------------------------------------------------------------------------
106
/**
107    * Retrieves the value for the reference <code>lead</code> for the
108    * specified qualifier attribute value.
109    * @param id The value for the qualifier attribute that qualifies this reference.
110    * @return The possibly null value for this reference.
111    * @exception JmiException If the value cannot be retrieved for some reason.
112    */

113   public org.opencrx.kernel.contract1.cci.Lead getLead(
114     String JavaDoc id
115   );
116
117 // ----------------------------------------------------------------------------
118
// Instance/IntfReferenceGet0_nWithFilter
119
// ----------------------------------------------------------------------------
120
/**
121    * Retrieves a collection containing all the elements for the reference
122    * <code>lead</code>.
123    * @return A collection containing all the elements for this reference.
124    * @exception JmiException If the values cannot be retrieved for some reason.
125    */

126   public java.util.Collection JavaDoc getLead(
127   );
128
129   /**
130    * Retrieves the value for the reference <code>lead</code> for the
131    * specified filter.
132    * @param filter filter which is applied to the set of referenced objects.
133    * @return The filtered collection of referenced objects.
134    * @exception JmiException If the value cannot be retrieved for some reason.
135    */

136   public java.util.List JavaDoc getLead(
137     org.opencrx.kernel.contract1.cci.LeadFilter filter
138   );
139
140 // ----------------------------------------------------------------------------
141
// Instance/IntfReferenceAddWithQualifier
142
// ----------------------------------------------------------------------------
143
/**
144    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
145    * @param newValue The element to be appended.
146    * @exception JmiException If the value cannot be appended for some reason.
147    */

148   public void addLead (
149     String JavaDoc id,
150     org.opencrx.kernel.contract1.cci.Lead newValue
151   );
152
153 // ----------------------------------------------------------------------------
154
// Instance/IntfReferenceAddWithoutQualifier
155
// ----------------------------------------------------------------------------
156
/**
157    * @param newValue The element to be appended.
158    * @exception JmiException If the value cannot be appended for some reason.
159    */

160   public void addLead (
161     org.opencrx.kernel.contract1.cci.Lead newValue
162   );
163
164 // ----------------------------------------------------------------------------
165
// Instance/IntfReferenceRemoveWithQualifier
166
// ----------------------------------------------------------------------------
167
/**
168    * @exception JmiException If the value cannot be removed for some reason.
169    */

170   public void removeLead (
171     String JavaDoc id
172   );
173 // ----------------------------------------------------------------------------
174
// Instance/IntfReferenceGet0_1WithQualifier
175
// ----------------------------------------------------------------------------
176
/**
177    * Retrieves the value for the reference <code>opportunity</code> for the
178    * specified qualifier attribute value.
179    * @param id The value for the qualifier attribute that qualifies this reference.
180    * @return The possibly null value for this reference.
181    * @exception JmiException If the value cannot be retrieved for some reason.
182    */

183   public org.opencrx.kernel.contract1.cci.Opportunity getOpportunity(
184     String JavaDoc id
185   );
186
187 // ----------------------------------------------------------------------------
188
// Instance/IntfReferenceGet0_nWithFilter
189
// ----------------------------------------------------------------------------
190
/**
191    * Retrieves a collection containing all the elements for the reference
192    * <code>opportunity</code>.
193    * @return A collection containing all the elements for this reference.
194    * @exception JmiException If the values cannot be retrieved for some reason.
195    */

196   public java.util.Collection JavaDoc getOpportunity(
197   );
198
199   /**
200    * Retrieves the value for the reference <code>opportunity</code> for the
201    * specified filter.
202    * @param filter filter which is applied to the set of referenced objects.
203    * @return The filtered collection of referenced objects.
204    * @exception JmiException If the value cannot be retrieved for some reason.
205    */

206   public java.util.List JavaDoc getOpportunity(
207     org.opencrx.kernel.contract1.cci.OpportunityFilter filter
208   );
209
210 // ----------------------------------------------------------------------------
211
// Instance/IntfReferenceAddWithQualifier
212
// ----------------------------------------------------------------------------
213
/**
214    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
215    * @param newValue The element to be appended.
216    * @exception JmiException If the value cannot be appended for some reason.
217    */

218   public void addOpportunity (
219     String JavaDoc id,
220     org.opencrx.kernel.contract1.cci.Opportunity newValue
221   );
222
223 // ----------------------------------------------------------------------------
224
// Instance/IntfReferenceAddWithoutQualifier
225
// ----------------------------------------------------------------------------
226
/**
227    * @param newValue The element to be appended.
228    * @exception JmiException If the value cannot be appended for some reason.
229    */

230   public void addOpportunity (
231     org.opencrx.kernel.contract1.cci.Opportunity newValue
232   );
233
234 // ----------------------------------------------------------------------------
235
// Instance/IntfReferenceRemoveWithQualifier
236
// ----------------------------------------------------------------------------
237
/**
238    * @exception JmiException If the value cannot be removed for some reason.
239    */

240   public void removeOpportunity (
241     String JavaDoc id
242   );
243 // ----------------------------------------------------------------------------
244
// Instance/IntfReferenceGet0_1WithQualifier
245
// ----------------------------------------------------------------------------
246
/**
247    * Retrieves the value for the reference <code>quote</code> for the
248    * specified qualifier attribute value.
249    * @param id The value for the qualifier attribute that qualifies this reference.
250    * @return The possibly null value for this reference.
251    * @exception JmiException If the value cannot be retrieved for some reason.
252    */

253   public org.opencrx.kernel.contract1.cci.Quote getQuote(
254     String JavaDoc id
255   );
256
257 // ----------------------------------------------------------------------------
258
// Instance/IntfReferenceGet0_nWithFilter
259
// ----------------------------------------------------------------------------
260
/**
261    * Retrieves a collection containing all the elements for the reference
262    * <code>quote</code>.
263    * @return A collection containing all the elements for this reference.
264    * @exception JmiException If the values cannot be retrieved for some reason.
265    */

266   public java.util.Collection JavaDoc getQuote(
267   );
268
269   /**
270    * Retrieves the value for the reference <code>quote</code> for the
271    * specified filter.
272    * @param filter filter which is applied to the set of referenced objects.
273    * @return The filtered collection of referenced objects.
274    * @exception JmiException If the value cannot be retrieved for some reason.
275    */

276   public java.util.List JavaDoc getQuote(
277     org.opencrx.kernel.contract1.cci.QuoteFilter filter
278   );
279
280 // ----------------------------------------------------------------------------
281
// Instance/IntfReferenceAddWithQualifier
282
// ----------------------------------------------------------------------------
283
/**
284    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
285    * @param newValue The element to be appended.
286    * @exception JmiException If the value cannot be appended for some reason.
287    */

288   public void addQuote (
289     String JavaDoc id,
290     org.opencrx.kernel.contract1.cci.Quote newValue
291   );
292
293 // ----------------------------------------------------------------------------
294
// Instance/IntfReferenceAddWithoutQualifier
295
// ----------------------------------------------------------------------------
296
/**
297    * @param newValue The element to be appended.
298    * @exception JmiException If the value cannot be appended for some reason.
299    */

300   public void addQuote (
301     org.opencrx.kernel.contract1.cci.Quote newValue
302   );
303
304 // ----------------------------------------------------------------------------
305
// Instance/IntfReferenceRemoveWithQualifier
306
// ----------------------------------------------------------------------------
307
/**
308    * @exception JmiException If the value cannot be removed for some reason.
309    */

310   public void removeQuote (
311     String JavaDoc id
312   );
313 // ----------------------------------------------------------------------------
314
// Instance/IntfReferenceGet0_1WithQualifier
315
// ----------------------------------------------------------------------------
316
/**
317    * Retrieves the value for the reference <code>salesOrder</code> for the
318    * specified qualifier attribute value.
319    * @param id The value for the qualifier attribute that qualifies this reference.
320    * @return The possibly null value for this reference.
321    * @exception JmiException If the value cannot be retrieved for some reason.
322    */

323   public org.opencrx.kernel.contract1.cci.SalesOrder getSalesOrder(
324     String JavaDoc id
325   );
326
327 // ----------------------------------------------------------------------------
328
// Instance/IntfReferenceGet0_nWithFilter
329
// ----------------------------------------------------------------------------
330
/**
331    * Retrieves a collection containing all the elements for the reference
332    * <code>salesOrder</code>.
333    * @return A collection containing all the elements for this reference.
334    * @exception JmiException If the values cannot be retrieved for some reason.
335    */

336   public java.util.Collection JavaDoc getSalesOrder(
337   );
338
339   /**
340    * Retrieves the value for the reference <code>salesOrder</code> for the
341    * specified filter.
342    * @param filter filter which is applied to the set of referenced objects.
343    * @return The filtered collection of referenced objects.
344    * @exception JmiException If the value cannot be retrieved for some reason.
345    */

346   public java.util.List JavaDoc getSalesOrder(
347     org.opencrx.kernel.contract1.cci.SalesOrderFilter filter
348   );
349
350 // ----------------------------------------------------------------------------
351
// Instance/IntfReferenceAddWithQualifier
352
// ----------------------------------------------------------------------------
353
/**
354    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
355    * @param newValue The element to be appended.
356    * @exception JmiException If the value cannot be appended for some reason.
357    */

358   public void addSalesOrder (
359     String JavaDoc id,
360     org.opencrx.kernel.contract1.cci.SalesOrder newValue
361   );
362
363 // ----------------------------------------------------------------------------
364
// Instance/IntfReferenceAddWithoutQualifier
365
// ----------------------------------------------------------------------------
366
/**
367    * @param newValue The element to be appended.
368    * @exception JmiException If the value cannot be appended for some reason.
369    */

370   public void addSalesOrder (
371     org.opencrx.kernel.contract1.cci.SalesOrder newValue
372   );
373
374 // ----------------------------------------------------------------------------
375
// Instance/IntfReferenceRemoveWithQualifier
376
// ----------------------------------------------------------------------------
377
/**
378    * @exception JmiException If the value cannot be removed for some reason.
379    */

380   public void removeSalesOrder (
381     String JavaDoc id
382   );
383 // ----------------------------------------------------------------------------
384
// Instance/IntfEnd.vm
385
// ----------------------------------------------------------------------------
386
}
387
Popular Tags