KickJava   Java API By Example, From Geeks To Geeks.

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


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 Invoice
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.openmdx.base.cci.Void markAsClosed(
24       org.opencrx.kernel.contract1.cci.InvoiceMarkAsClosedParams params
25   ) throws javax.jmi.reflect.RefException ;
26
27   /**
28    */

29   public org.openmdx.base.cci.Void markAsClosed(
30       short invoiceState
31   ) throws javax.jmi.reflect.RefException ;
32
33 // ----------------------------------------------------------------------------
34
// Instance/IntfReferenceGet0_1WithQualifier
35
// ----------------------------------------------------------------------------
36
/**
37    * Retrieves the value for the reference <code>position</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.AbstractInvoicePosition getPosition(
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>position</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 getPosition(
57   );
58
59   /**
60    * Retrieves the value for the reference <code>position</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 getPosition(
67     org.opencrx.kernel.contract1.cci.AbstractInvoicePositionFilter 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 addPosition (
79     String JavaDoc id,
80     org.opencrx.kernel.contract1.cci.AbstractInvoicePosition 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 addPosition (
91     org.opencrx.kernel.contract1.cci.AbstractInvoicePosition 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 removePosition (
101     String JavaDoc id
102   );
103 // ----------------------------------------------------------------------------
104
// Instance/IntfEnd.vm
105
// ----------------------------------------------------------------------------
106
}
107
Popular Tags