KickJava   Java API By Example, From Geeks To Geeks.

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


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:38:59 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.contract1.cci;
14
15 public interface Quote
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.QuoteCreateSalesOrderResult createSalesOrder(
48       org.openmdx.base.cci.Void params
49   ) throws javax.jmi.reflect.RefException ;
50
51   /**
52    */

53   public org.opencrx.kernel.contract1.cci.QuoteCreateSalesOrderResult createSalesOrder(
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/IntfAttributeGet1_1
82
// ----------------------------------------------------------------------------
83
/**
84    * Retrieves the value for the attribute <code>freightTerms</code>.
85    * @return The non-null value for attribute <code>freightTerms</code>.
86    * @exception JmiException If the value cannot be retrieved for some reason.
87    */

88   public short getFreightTerms(
89   );
90
91 // ----------------------------------------------------------------------------
92
// Instance/IntfAttributeSet1_1
93
// ----------------------------------------------------------------------------
94
/**
95    * Sets a new value for the attribute <code>freightTerms</code>.
96    * @param newValue The non-null new value for attribute <code>freightTerms</code>.
97    * @exception JmiException If the value cannot be set for some reason.
98    */

99   public void setFreightTerms(
100     short newValue
101   );
102
103 // ----------------------------------------------------------------------------
104
// Instance/IntfOperation
105
// ----------------------------------------------------------------------------
106

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

113   public org.openmdx.base.cci.Void markAsClosed(
114       short quoteState
115   ) throws javax.jmi.reflect.RefException ;
116
117 // ----------------------------------------------------------------------------
118
// Instance/IntfReferenceGet0_1WithQualifier
119
// ----------------------------------------------------------------------------
120
/**
121    * Retrieves the value for the reference <code>position</code> for the
122    * specified qualifier attribute value.
123    * @param id The value for the qualifier attribute that qualifies this reference.
124    * @return The possibly null value for this reference.
125    * @exception JmiException If the value cannot be retrieved for some reason.
126    */

127   public org.opencrx.kernel.contract1.cci.AbstractQuotePosition getPosition(
128     String JavaDoc id
129   );
130
131 // ----------------------------------------------------------------------------
132
// Instance/IntfReferenceGet0_nWithFilter
133
// ----------------------------------------------------------------------------
134
/**
135    * Retrieves a collection containing all the elements for the reference
136    * <code>position</code>.
137    * @return A collection containing all the elements for this reference.
138    * @exception JmiException If the values cannot be retrieved for some reason.
139    */

140   public java.util.Collection JavaDoc getPosition(
141   );
142
143   /**
144    * Retrieves the value for the reference <code>position</code> for the
145    * specified filter.
146    * @param filter filter which is applied to the set of referenced objects.
147    * @return The filtered collection of referenced objects.
148    * @exception JmiException If the value cannot be retrieved for some reason.
149    */

150   public java.util.List JavaDoc getPosition(
151     org.opencrx.kernel.contract1.cci.AbstractQuotePositionFilter filter
152   );
153
154 // ----------------------------------------------------------------------------
155
// Instance/IntfReferenceAddWithQualifier
156
// ----------------------------------------------------------------------------
157
/**
158    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
159    * @param newValue The element to be appended.
160    * @exception JmiException If the value cannot be appended for some reason.
161    */

162   public void addPosition (
163     String JavaDoc id,
164     org.opencrx.kernel.contract1.cci.AbstractQuotePosition newValue
165   );
166
167 // ----------------------------------------------------------------------------
168
// Instance/IntfReferenceAddWithoutQualifier
169
// ----------------------------------------------------------------------------
170
/**
171    * @param newValue The element to be appended.
172    * @exception JmiException If the value cannot be appended for some reason.
173    */

174   public void addPosition (
175     org.opencrx.kernel.contract1.cci.AbstractQuotePosition newValue
176   );
177
178 // ----------------------------------------------------------------------------
179
// Instance/IntfReferenceRemoveWithQualifier
180
// ----------------------------------------------------------------------------
181
/**
182    * @exception JmiException If the value cannot be removed for some reason.
183    */

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

197   public org.opencrx.kernel.contract1.cci.SalesOrder getSalesOrder(
198     int index
199   );
200
201 // ----------------------------------------------------------------------------
202
// Instance/IntfReferenceGet0_nNoFilter
203
// ----------------------------------------------------------------------------
204
/**
205    * Retrieves the objects referenced by <code>salesOrder</code>.
206    * @return The collection of referenced objects.
207    * @exception JmiException If the value cannot be retrieved for some reason.
208    */

209   public java.util.Collection JavaDoc getSalesOrder(
210   );
211
212 // ----------------------------------------------------------------------------
213
// Instance/IntfEnd.vm
214
// ----------------------------------------------------------------------------
215
}
216
Popular Tags