KickJava   Java API By Example, From Geeks To Geeks.

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


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 SalesOrder
16   extends
17  org.opencrx.kernel.contract1.cci.AbstractContract,
18  org.opencrx.kernel.generic.cci.CrxObject {
19 // ----------------------------------------------------------------------------
20
// Instance/IntfOperation
21
// ----------------------------------------------------------------------------
22

23   public org.opencrx.kernel.contract1.cci.SalesOrderCreateInvoiceResult createInvoice(
24       org.openmdx.base.cci.Void params
25   ) throws javax.jmi.reflect.RefException ;
26
27   /**
28    */

29   public org.opencrx.kernel.contract1.cci.SalesOrderCreateInvoiceResult createInvoice(
30   ) throws javax.jmi.reflect.RefException ;
31
32 // ----------------------------------------------------------------------------
33
// Instance/IntfAttributeGet1_1
34
// ----------------------------------------------------------------------------
35
/**
36    * Retrieves the value for the attribute <code>freightTerms</code>.
37    * @return The non-null value for attribute <code>freightTerms</code>.
38    * @exception JmiException If the value cannot be retrieved for some reason.
39    */

40   public short getFreightTerms(
41   );
42
43 // ----------------------------------------------------------------------------
44
// Instance/IntfAttributeSet1_1
45
// ----------------------------------------------------------------------------
46
/**
47    * Sets a new value for the attribute <code>freightTerms</code>.
48    * @param newValue The non-null new value for attribute <code>freightTerms</code>.
49    * @exception JmiException If the value cannot be set for some reason.
50    */

51   public void setFreightTerms(
52     short newValue
53   );
54
55 // ----------------------------------------------------------------------------
56
// Instance/IntfReferenceGet0_1WithQualifier
57
// ----------------------------------------------------------------------------
58
/**
59    * Retrieves the value for the reference <code>invoice</code> for the
60    * specified qualifier attribute value.
61    * @param index The value for the qualifier attribute that qualifies this reference.
62    * @return The possibly null value for this reference.
63    * @exception JmiException If the value cannot be retrieved for some reason.
64    */

65   public org.opencrx.kernel.contract1.cci.Invoice getInvoice(
66     int index
67   );
68
69 // ----------------------------------------------------------------------------
70
// Instance/IntfReferenceGet0_nNoFilter
71
// ----------------------------------------------------------------------------
72
/**
73    * Retrieves the objects referenced by <code>invoice</code>.
74    * @return The collection of referenced objects.
75    * @exception JmiException If the value cannot be retrieved for some reason.
76    */

77   public java.util.Collection JavaDoc getInvoice(
78   );
79
80 // ----------------------------------------------------------------------------
81
// Instance/IntfOperation
82
// ----------------------------------------------------------------------------
83

84   public org.openmdx.base.cci.Void markAsClosed(
85       org.opencrx.kernel.contract1.cci.SalesOrderMarkAsClosedParams params
86   ) throws javax.jmi.reflect.RefException ;
87
88   /**
89    */

90   public org.openmdx.base.cci.Void markAsClosed(
91       short salesOrderState
92   ) throws javax.jmi.reflect.RefException ;
93
94 // ----------------------------------------------------------------------------
95
// Instance/IntfReferenceGet0_1WithQualifier
96
// ----------------------------------------------------------------------------
97
/**
98    * Retrieves the value for the reference <code>position</code> for the
99    * specified qualifier attribute value.
100    * @param id The value for the qualifier attribute that qualifies this reference.
101    * @return The possibly null value for this reference.
102    * @exception JmiException If the value cannot be retrieved for some reason.
103    */

104   public org.opencrx.kernel.contract1.cci.AbstractSalesOrderPosition getPosition(
105     String JavaDoc id
106   );
107
108 // ----------------------------------------------------------------------------
109
// Instance/IntfReferenceGet0_nWithFilter
110
// ----------------------------------------------------------------------------
111
/**
112    * Retrieves a collection containing all the elements for the reference
113    * <code>position</code>.
114    * @return A collection containing all the elements for this reference.
115    * @exception JmiException If the values cannot be retrieved for some reason.
116    */

117   public java.util.Collection JavaDoc getPosition(
118   );
119
120   /**
121    * Retrieves the value for the reference <code>position</code> for the
122    * specified filter.
123    * @param filter filter which is applied to the set of referenced objects.
124    * @return The filtered collection of referenced objects.
125    * @exception JmiException If the value cannot be retrieved for some reason.
126    */

127   public java.util.List JavaDoc getPosition(
128     org.opencrx.kernel.contract1.cci.AbstractSalesOrderPositionFilter filter
129   );
130
131 // ----------------------------------------------------------------------------
132
// Instance/IntfReferenceAddWithQualifier
133
// ----------------------------------------------------------------------------
134
/**
135    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
136    * @param newValue The element to be appended.
137    * @exception JmiException If the value cannot be appended for some reason.
138    */

139   public void addPosition (
140     String JavaDoc id,
141     org.opencrx.kernel.contract1.cci.AbstractSalesOrderPosition newValue
142   );
143
144 // ----------------------------------------------------------------------------
145
// Instance/IntfReferenceAddWithoutQualifier
146
// ----------------------------------------------------------------------------
147
/**
148    * @param newValue The element to be appended.
149    * @exception JmiException If the value cannot be appended for some reason.
150    */

151   public void addPosition (
152     org.opencrx.kernel.contract1.cci.AbstractSalesOrderPosition newValue
153   );
154
155 // ----------------------------------------------------------------------------
156
// Instance/IntfReferenceRemoveWithQualifier
157
// ----------------------------------------------------------------------------
158
/**
159    * @exception JmiException If the value cannot be removed for some reason.
160    */

161   public void removePosition (
162     String JavaDoc id
163   );
164 // ----------------------------------------------------------------------------
165
// Instance/IntfAttributeGet0_1
166
// ----------------------------------------------------------------------------
167
/**
168    * @return The possibly null value for attribute <code>submitDate</code>.
169    * @exception JmiException If the value cannot be retrieved for some reason.
170    */

171   public java.util.Date JavaDoc getSubmitDate(
172   );
173
174 // ----------------------------------------------------------------------------
175
// Instance/IntfAttributeSet0_1
176
// ----------------------------------------------------------------------------
177

178
179   /**
180    * Sets a new value for the attribute <code>submitDate</code>.
181    * @param newValue The possibly null new value for attribute <code>submitDate</code>.
182    * @exception JmiException If the value cannot be set for some reason.
183    */

184   public void setSubmitDate(
185     java.util.Date JavaDoc newValue
186   );
187
188 // ----------------------------------------------------------------------------
189
// Instance/IntfAttributeGet0_1
190
// ----------------------------------------------------------------------------
191
/**
192    * @return The possibly null value for attribute <code>submitStatus</code>.
193    * @exception JmiException If the value cannot be retrieved for some reason.
194    */

195   public Short JavaDoc getSubmitStatus(
196   );
197
198 // ----------------------------------------------------------------------------
199
// Instance/IntfAttributeSet0_1
200
// ----------------------------------------------------------------------------
201

202
203   /**
204    * Sets a new value for the attribute <code>submitStatus</code>.
205    * @param newValue The possibly null new value for attribute <code>submitStatus</code>.
206    * @exception JmiException If the value cannot be set for some reason.
207    */

208   public void setSubmitStatus(
209     Short JavaDoc newValue
210   );
211
212 // ----------------------------------------------------------------------------
213
// Instance/IntfAttributeGet0_1
214
// ----------------------------------------------------------------------------
215
/**
216    * @return The possibly null value for attribute <code>submitStatusDescription</code>.
217    * @exception JmiException If the value cannot be retrieved for some reason.
218    */

219   public String JavaDoc getSubmitStatusDescription(
220   );
221
222 // ----------------------------------------------------------------------------
223
// Instance/IntfAttributeSet0_1
224
// ----------------------------------------------------------------------------
225

226
227   /**
228    * Sets a new value for the attribute <code>submitStatusDescription</code>.
229    * @param newValue The possibly null new value for attribute <code>submitStatusDescription</code>.
230    * @exception JmiException If the value cannot be set for some reason.
231    */

232   public void setSubmitStatusDescription(
233     String JavaDoc newValue
234   );
235
236 // ----------------------------------------------------------------------------
237
// Instance/IntfEnd.vm
238
// ----------------------------------------------------------------------------
239
}
240
Popular Tags