KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > depot1 > cci > CreateBookingByPositionParamsImpl


1 // ----------------------------------------------------------------------------
2
// StructureType/ImplBegin
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:57 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.depot1.cci;
14
15 public class CreateBookingByPositionParamsImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefStruct_1
17   implements CreateBookingByPositionParams {
18
19   public CreateBookingByPositionParamsImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage,
21     java.util.List JavaDoc args
22   ) {
23     super(refPackage, args);
24   }
25
26   public CreateBookingByPositionParamsImpl(
27     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage,
28     java.lang.Object JavaDoc arg
29   ) {
30     super(refPackage, arg);
31   }
32
33   public String JavaDoc refQualifiedTypeName(
34   ) {
35     return "org:opencrx:kernel:depot1:CreateBookingByPositionParams";
36   }
37
38 // ----------------------------------------------------------------------------
39
// StructureType/ImplFieldGet0_1
40
// ----------------------------------------------------------------------------
41
public org.opencrx.kernel.depot1.cci.BookingText getBookingText (
42   ) {
43     return (org.opencrx.kernel.depot1.cci.BookingText)this.refGetValue("bookingText", 0);
44   }
45 // ----------------------------------------------------------------------------
46
// StructureType/ImplFieldGet0_1
47
// ----------------------------------------------------------------------------
48
public String JavaDoc getBookingTextName (
49   ) {
50     return (String JavaDoc)this.refGetValue("bookingTextName", 0);
51   }
52 // ----------------------------------------------------------------------------
53
// StructureType/ImplFieldGet1_1
54
// ----------------------------------------------------------------------------
55
public short getBookingType(
56   ) {
57     return getBookingType(0);
58   }
59
60   private short getBookingType(
61     int index
62   ) {
63     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:depot1:CreateBookingByPositionParams:bookingType", index)).shortValue();
64   }
65
66 // ----------------------------------------------------------------------------
67
// StructureType/ImplFieldGet1_1
68
// ----------------------------------------------------------------------------
69
public org.opencrx.kernel.depot1.cci.DepotPosition getPositionCredit(
70   ) {
71     return getPositionCredit(0);
72   }
73
74   private org.opencrx.kernel.depot1.cci.DepotPosition getPositionCredit(
75     int index
76   ) {
77     return (org.opencrx.kernel.depot1.cci.DepotPosition)this.refGetValue("org:opencrx:kernel:depot1:CreateBookingByPositionParams:positionCredit", index);
78   }
79
80 // ----------------------------------------------------------------------------
81
// StructureType/ImplFieldGet1_1
82
// ----------------------------------------------------------------------------
83
public org.opencrx.kernel.depot1.cci.DepotPosition getPositionDebit(
84   ) {
85     return getPositionDebit(0);
86   }
87
88   private org.opencrx.kernel.depot1.cci.DepotPosition getPositionDebit(
89     int index
90   ) {
91     return (org.opencrx.kernel.depot1.cci.DepotPosition)this.refGetValue("org:opencrx:kernel:depot1:CreateBookingByPositionParams:positionDebit", index);
92   }
93
94 // ----------------------------------------------------------------------------
95
// StructureType/ImplFieldGet1_1
96
// ----------------------------------------------------------------------------
97
public java.math.BigDecimal JavaDoc getQuantity(
98   ) {
99     return getQuantity(0);
100   }
101
102   private java.math.BigDecimal JavaDoc getQuantity(
103     int index
104   ) {
105     return (java.math.BigDecimal JavaDoc)this.refGetValue("org:opencrx:kernel:depot1:CreateBookingByPositionParams:quantity", index);
106   }
107
108 // ----------------------------------------------------------------------------
109
// StructureType/ImplFieldGet0_1
110
// ----------------------------------------------------------------------------
111
public org.opencrx.kernel.depot1.cci.CompoundBooking getReversalOf (
112   ) {
113     return (org.opencrx.kernel.depot1.cci.CompoundBooking)this.refGetValue("reversalOf", 0);
114   }
115 // ----------------------------------------------------------------------------
116
// StructureType/ImplFieldGet1_1
117
// ----------------------------------------------------------------------------
118
public java.util.Date JavaDoc getValueDate(
119   ) {
120     return getValueDate(0);
121   }
122
123   private java.util.Date JavaDoc getValueDate(
124     int index
125   ) {
126     return (java.util.Date JavaDoc)this.refGetValue("org:opencrx:kernel:depot1:CreateBookingByPositionParams:valueDate", index);
127   }
128
129 // ----------------------------------------------------------------------------
130
// StructureType/ImplEnd
131
// ----------------------------------------------------------------------------
132
}
133
Popular Tags