KickJava   Java API By Example, From Geeks To Geeks.

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


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:00 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.contract1.cci;
14
15 public interface Opportunity
16   extends
17  org.opencrx.kernel.contract1.cci.AbstractContract,
18  org.opencrx.kernel.generic.cci.CrxObject {
19 // ----------------------------------------------------------------------------
20
// Instance/IntfAttributeGet0_1
21
// ----------------------------------------------------------------------------
22
/**
23    * @return The possibly null value for attribute <code>closeProbability</code>.
24    * @exception JmiException If the value cannot be retrieved for some reason.
25    */

26   public Short JavaDoc getCloseProbability(
27   );
28
29 // ----------------------------------------------------------------------------
30
// Instance/IntfAttributeSet0_1
31
// ----------------------------------------------------------------------------
32

33
34   /**
35    * Sets a new value for the attribute <code>closeProbability</code>.
36    * @param newValue The possibly null new value for attribute <code>closeProbability</code>.
37    * @exception JmiException If the value cannot be set for some reason.
38    */

39   public void setCloseProbability(
40     Short JavaDoc newValue
41   );
42
43 // ----------------------------------------------------------------------------
44
// Instance/IntfOperation
45
// ----------------------------------------------------------------------------
46

47   public org.opencrx.kernel.contract1.cci.OpportunityCreateQuoteResult createQuote(
48       org.openmdx.base.cci.Void params
49   ) throws javax.jmi.reflect.RefException ;
50
51   /**
52    */

53   public org.opencrx.kernel.contract1.cci.OpportunityCreateQuoteResult createQuote(
54   ) throws javax.jmi.reflect.RefException ;
55
56 // ----------------------------------------------------------------------------
57
// Instance/IntfAttributeGet0_1
58
// ----------------------------------------------------------------------------
59
/**
60    * @return The possibly null value for attribute <code>estimatedCloseDate</code>.
61    * @exception JmiException If the value cannot be retrieved for some reason.
62    */

63   public java.util.Date JavaDoc getEstimatedCloseDate(
64   );
65
66 // ----------------------------------------------------------------------------
67
// Instance/IntfAttributeSet0_1
68
// ----------------------------------------------------------------------------
69

70
71   /**
72    * Sets a new value for the attribute <code>estimatedCloseDate</code>.
73    * @param newValue The possibly null new value for attribute <code>estimatedCloseDate</code>.
74    * @exception JmiException If the value cannot be set for some reason.
75    */

76   public void setEstimatedCloseDate(
77     java.util.Date JavaDoc newValue
78   );
79
80 // ----------------------------------------------------------------------------
81
// Instance/IntfAttributeGet0_1
82
// ----------------------------------------------------------------------------
83
/**
84    * @return The possibly null value for attribute <code>estimatedValue</code>.
85    * @exception JmiException If the value cannot be retrieved for some reason.
86    */

87   public java.math.BigDecimal JavaDoc getEstimatedValue(
88   );
89
90 // ----------------------------------------------------------------------------
91
// Instance/IntfAttributeSet0_1
92
// ----------------------------------------------------------------------------
93

94
95   /**
96    * Sets a new value for the attribute <code>estimatedValue</code>.
97    * @param newValue The possibly null new value for attribute <code>estimatedValue</code>.
98    * @exception JmiException If the value cannot be set for some reason.
99    */

100   public void setEstimatedValue(
101     java.math.BigDecimal JavaDoc newValue
102   );
103
104 // ----------------------------------------------------------------------------
105
// Instance/IntfOperation
106
// ----------------------------------------------------------------------------
107

108   public org.openmdx.base.cci.Void markAsClosed(
109       org.opencrx.kernel.contract1.cci.OpportunityMarkAsClosedParams params
110   ) throws javax.jmi.reflect.RefException ;
111
112   /**
113    */

114   public org.openmdx.base.cci.Void markAsClosed(
115       short opportunityState
116   ) throws javax.jmi.reflect.RefException ;
117
118 // ----------------------------------------------------------------------------
119
// Instance/IntfAttributeGet0_1
120
// ----------------------------------------------------------------------------
121
/**
122    * @return The possibly null value for attribute <code>nextStep</code>.
123    * @exception JmiException If the value cannot be retrieved for some reason.
124    */

125   public String JavaDoc getNextStep(
126   );
127
128 // ----------------------------------------------------------------------------
129
// Instance/IntfAttributeSet0_1
130
// ----------------------------------------------------------------------------
131

132
133   /**
134    * Sets a new value for the attribute <code>nextStep</code>.
135    * @param newValue The possibly null new value for attribute <code>nextStep</code>.
136    * @exception JmiException If the value cannot be set for some reason.
137    */

138   public void setNextStep(
139     String JavaDoc newValue
140   );
141
142 // ----------------------------------------------------------------------------
143
// Instance/IntfAttributeGet1_1
144
// ----------------------------------------------------------------------------
145
/**
146    * Retrieves the value for the attribute <code>opportunityRating</code>.
147    * @return The non-null value for attribute <code>opportunityRating</code>.
148    * @exception JmiException If the value cannot be retrieved for some reason.
149    */

150   public short getOpportunityRating(
151   );
152
153 // ----------------------------------------------------------------------------
154
// Instance/IntfAttributeSet1_1
155
// ----------------------------------------------------------------------------
156
/**
157    * Sets a new value for the attribute <code>opportunityRating</code>.
158    * @param newValue The non-null new value for attribute <code>opportunityRating</code>.
159    * @exception JmiException If the value cannot be set for some reason.
160    */

161   public void setOpportunityRating(
162     short newValue
163   );
164
165 // ----------------------------------------------------------------------------
166
// Instance/IntfAttributeGet1_1
167
// ----------------------------------------------------------------------------
168
/**
169    * Retrieves the value for the attribute <code>opportunitySource</code>.
170    * @return The non-null value for attribute <code>opportunitySource</code>.
171    * @exception JmiException If the value cannot be retrieved for some reason.
172    */

173   public short getOpportunitySource(
174   );
175
176 // ----------------------------------------------------------------------------
177
// Instance/IntfAttributeSet1_1
178
// ----------------------------------------------------------------------------
179
/**
180    * Sets a new value for the attribute <code>opportunitySource</code>.
181    * @param newValue The non-null new value for attribute <code>opportunitySource</code>.
182    * @exception JmiException If the value cannot be set for some reason.
183    */

184   public void setOpportunitySource(
185     short newValue
186   );
187
188 // ----------------------------------------------------------------------------
189
// Instance/IntfReferenceGet0_1WithQualifier
190
// ----------------------------------------------------------------------------
191
/**
192    * Retrieves the value for the reference <code>position</code> for the
193    * specified qualifier attribute value.
194    * @param id The value for the qualifier attribute that qualifies this reference.
195    * @return The possibly null value for this reference.
196    * @exception JmiException If the value cannot be retrieved for some reason.
197    */

198   public org.opencrx.kernel.contract1.cci.AbstractOpportunityPosition getPosition(
199     String JavaDoc id
200   );
201
202 // ----------------------------------------------------------------------------
203
// Instance/IntfReferenceGet0_nWithFilter
204
// ----------------------------------------------------------------------------
205
/**
206    * Retrieves a collection containing all the elements for the reference
207    * <code>position</code>.
208    * @return A collection containing all the elements for this reference.
209    * @exception JmiException If the values cannot be retrieved for some reason.
210    */

211   public java.util.Collection JavaDoc getPosition(
212   );
213
214   /**
215    * Retrieves the value for the reference <code>position</code> for the
216    * specified filter.
217    * @param filter filter which is applied to the set of referenced objects.
218    * @return The filtered collection of referenced objects.
219    * @exception JmiException If the value cannot be retrieved for some reason.
220    */

221   public java.util.List JavaDoc getPosition(
222     org.opencrx.kernel.contract1.cci.AbstractOpportunityPositionFilter filter
223   );
224
225 // ----------------------------------------------------------------------------
226
// Instance/IntfReferenceAddWithQualifier
227
// ----------------------------------------------------------------------------
228
/**
229    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
230    * @param newValue The element to be appended.
231    * @exception JmiException If the value cannot be appended for some reason.
232    */

233   public void addPosition (
234     String JavaDoc id,
235     org.opencrx.kernel.contract1.cci.AbstractOpportunityPosition newValue
236   );
237
238 // ----------------------------------------------------------------------------
239
// Instance/IntfReferenceAddWithoutQualifier
240
// ----------------------------------------------------------------------------
241
/**
242    * @param newValue The element to be appended.
243    * @exception JmiException If the value cannot be appended for some reason.
244    */

245   public void addPosition (
246     org.opencrx.kernel.contract1.cci.AbstractOpportunityPosition newValue
247   );
248
249 // ----------------------------------------------------------------------------
250
// Instance/IntfReferenceRemoveWithQualifier
251
// ----------------------------------------------------------------------------
252
/**
253    * @exception JmiException If the value cannot be removed for some reason.
254    */

255   public void removePosition (
256     String JavaDoc id
257   );
258 // ----------------------------------------------------------------------------
259
// Instance/IntfReferenceGet0_1WithQualifier
260
// ----------------------------------------------------------------------------
261
/**
262    * Retrieves the value for the reference <code>quote</code> for the
263    * specified qualifier attribute value.
264    * @param index The value for the qualifier attribute that qualifies this reference.
265    * @return The possibly null value for this reference.
266    * @exception JmiException If the value cannot be retrieved for some reason.
267    */

268   public org.opencrx.kernel.contract1.cci.Quote getQuote(
269     int index
270   );
271
272 // ----------------------------------------------------------------------------
273
// Instance/IntfReferenceGet0_nNoFilter
274
// ----------------------------------------------------------------------------
275
/**
276    * Retrieves the objects referenced by <code>quote</code>.
277    * @return The collection of referenced objects.
278    * @exception JmiException If the value cannot be retrieved for some reason.
279    */

280   public java.util.Collection JavaDoc getQuote(
281   );
282
283 // ----------------------------------------------------------------------------
284
// Instance/IntfEnd.vm
285
// ----------------------------------------------------------------------------
286
}
287
Popular Tags