KickJava   Java API By Example, From Geeks To Geeks.

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


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:56 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.depot1.cci;
14
15 public class CreateBookingByPositionNameParamsImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefStruct_1
17   implements CreateBookingByPositionNameParams {
18
19   public CreateBookingByPositionNameParamsImpl(
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 CreateBookingByPositionNameParamsImpl(
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:CreateBookingByPositionNameParams";
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:CreateBookingByPositionNameParams:bookingType", index)).shortValue();
64   }
65
66 // ----------------------------------------------------------------------------
67
// StructureType/ImplFieldGet0_1
68
// ----------------------------------------------------------------------------
69
public org.opencrx.kernel.depot1.cci.Depot getDepotCredit (
70   ) {
71     return (org.opencrx.kernel.depot1.cci.Depot)this.refGetValue("depotCredit", 0);
72   }
73 // ----------------------------------------------------------------------------
74
// StructureType/ImplFieldGet0_1
75
// ----------------------------------------------------------------------------
76
public org.opencrx.kernel.depot1.cci.Depot getDepotDebit (
77   ) {
78     return (org.opencrx.kernel.depot1.cci.Depot)this.refGetValue("depotDebit", 0);
79   }
80 // ----------------------------------------------------------------------------
81
// StructureType/ImplFieldGet0_1
82
// ----------------------------------------------------------------------------
83
public String JavaDoc getDepotNumberCredit (
84   ) {
85     return (String JavaDoc)this.refGetValue("depotNumberCredit", 0);
86   }
87 // ----------------------------------------------------------------------------
88
// StructureType/ImplFieldGet0_1
89
// ----------------------------------------------------------------------------
90
public String JavaDoc getDepotNumberDebit (
91   ) {
92     return (String JavaDoc)this.refGetValue("depotNumberDebit", 0);
93   }
94 // ----------------------------------------------------------------------------
95
// StructureType/ImplFieldGet1_1
96
// ----------------------------------------------------------------------------
97
public String JavaDoc getPositionName(
98   ) {
99     return getPositionName(0);
100   }
101
102   private String JavaDoc getPositionName(
103     int index
104   ) {
105     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:depot1:CreateBookingByPositionNameParams:positionName", index);
106   }
107
108 // ----------------------------------------------------------------------------
109
// StructureType/ImplFieldGet1_1
110
// ----------------------------------------------------------------------------
111
public java.math.BigDecimal JavaDoc getQuantity(
112   ) {
113     return getQuantity(0);
114   }
115
116   private java.math.BigDecimal JavaDoc getQuantity(
117     int index
118   ) {
119     return (java.math.BigDecimal JavaDoc)this.refGetValue("org:opencrx:kernel:depot1:CreateBookingByPositionNameParams:quantity", index);
120   }
121
122 // ----------------------------------------------------------------------------
123
// StructureType/ImplFieldGet0_1
124
// ----------------------------------------------------------------------------
125
public org.opencrx.kernel.depot1.cci.CompoundBooking getReversalOf (
126   ) {
127     return (org.opencrx.kernel.depot1.cci.CompoundBooking)this.refGetValue("reversalOf", 0);
128   }
129 // ----------------------------------------------------------------------------
130
// StructureType/ImplFieldGet1_1
131
// ----------------------------------------------------------------------------
132
public java.util.Date JavaDoc getValueDate(
133   ) {
134     return getValueDate(0);
135   }
136
137   private java.util.Date JavaDoc getValueDate(
138     int index
139   ) {
140     return (java.util.Date JavaDoc)this.refGetValue("org:opencrx:kernel:depot1:CreateBookingByPositionNameParams:valueDate", index);
141   }
142
143 // ----------------------------------------------------------------------------
144
// StructureType/ImplEnd
145
// ----------------------------------------------------------------------------
146
}
147
Popular Tags