KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > account1 > cci > AbstractAccountImpl


1 // ----------------------------------------------------------------------------
2
// Instance/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:54 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.account1.cci;
14
15 public class AbstractAccountImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements AbstractAccount {
18
19   public AbstractAccountImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplAttributeGetList
28
// ----------------------------------------------------------------------------
29
public java.util.List JavaDoc getAccountCategory (
30   ) {
31     return (java.util.List JavaDoc)this.refGetValue("accountCategory");
32   }
33   public short getAccountCategory(
34     int index
35   ) {
36     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:account1:AbstractAccount:accountCategory", index)).shortValue();
37   }
38
39 // ----------------------------------------------------------------------------
40
// Instance/ImplAttributeSetList
41
// ----------------------------------------------------------------------------
42
public void setAccountCategory(
43     java.util.List JavaDoc newValue
44   ) {
45     refSetValue("org:opencrx:kernel:account1:AbstractAccount:accountCategory", newValue);
46   }
47
48   public void setAccountCategory(
49     short[] newValue
50   ) {
51     refSetValue("org:opencrx:kernel:account1:AbstractAccount:accountCategory", newValue);
52   }
53
54 // ----------------------------------------------------------------------------
55
// Instance/ImplAttributeGet1_1
56
// ----------------------------------------------------------------------------
57
public short getAccountRating(
58   ) {
59     return getAccountRating(0);
60   }
61
62   protected short getAccountRating(
63     int index
64   ) {
65     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:account1:AbstractAccount:accountRating", index)).shortValue();
66   }
67
68 // ----------------------------------------------------------------------------
69
// Instance/ImplAttributeSet1_1
70
// ----------------------------------------------------------------------------
71
public void setAccountRating(
72     short newValue
73   ) {
74     setAccountRating(0, newValue);
75   }
76
77   protected void setAccountRating(
78     int index,
79     short newValue
80   ) {
81     refSetValue("org:opencrx:kernel:account1:AbstractAccount:accountRating", index, new Short JavaDoc(newValue));
82   }
83 // ----------------------------------------------------------------------------
84
// Instance/ImplAttributeGet1_1
85
// ----------------------------------------------------------------------------
86
public short getAccountState(
87   ) {
88     return getAccountState(0);
89   }
90
91   protected short getAccountState(
92     int index
93   ) {
94     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:account1:AbstractAccount:accountState", index)).shortValue();
95   }
96
97 // ----------------------------------------------------------------------------
98
// Instance/ImplAttributeSet1_1
99
// ----------------------------------------------------------------------------
100
public void setAccountState(
101     short newValue
102   ) {
103     setAccountState(0, newValue);
104   }
105
106   protected void setAccountState(
107     int index,
108     short newValue
109   ) {
110     refSetValue("org:opencrx:kernel:account1:AbstractAccount:accountState", index, new Short JavaDoc(newValue));
111   }
112 // ----------------------------------------------------------------------------
113
// Instance/ImplAttributeGet1_1
114
// ----------------------------------------------------------------------------
115
public short getAccountType(
116   ) {
117     return getAccountType(0);
118   }
119
120   protected short getAccountType(
121     int index
122   ) {
123     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:account1:AbstractAccount:accountType", index)).shortValue();
124   }
125
126 // ----------------------------------------------------------------------------
127
// Instance/ImplAttributeSet1_1
128
// ----------------------------------------------------------------------------
129
public void setAccountType(
130     short newValue
131   ) {
132     setAccountType(0, newValue);
133   }
134
135   protected void setAccountType(
136     int index,
137     short newValue
138   ) {
139     refSetValue("org:opencrx:kernel:account1:AbstractAccount:accountType", index, new Short JavaDoc(newValue));
140   }
141 // ----------------------------------------------------------------------------
142
// Instance/ImplAttributeGet0_1
143
// ----------------------------------------------------------------------------
144
public String JavaDoc getAliasName (
145   ) {
146     return (String JavaDoc)this.refGetValue("aliasName", 0);
147   }
148 // ----------------------------------------------------------------------------
149
// Instance/ImplAttributeSet0_1
150
// ----------------------------------------------------------------------------
151
public void setAliasName(
152     String JavaDoc newValue
153   ) {
154     refSetValue("org:opencrx:kernel:account1:AbstractAccount:aliasName", 0, newValue);
155   }
156
157 // ----------------------------------------------------------------------------
158
// Instance/ImplAttributeGetList
159
// ----------------------------------------------------------------------------
160
public java.util.List JavaDoc getBusinessType (
161   ) {
162     return (java.util.List JavaDoc)this.refGetValue("businessType");
163   }
164   public short getBusinessType(
165     int index
166   ) {
167     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:account1:AbstractAccount:businessType", index)).shortValue();
168   }
169
170 // ----------------------------------------------------------------------------
171
// Instance/ImplAttributeSetList
172
// ----------------------------------------------------------------------------
173
public void setBusinessType(
174     java.util.List JavaDoc newValue
175   ) {
176     refSetValue("org:opencrx:kernel:account1:AbstractAccount:businessType", newValue);
177   }
178
179   public void setBusinessType(
180     short[] newValue
181   ) {
182     refSetValue("org:opencrx:kernel:account1:AbstractAccount:businessType", newValue);
183   }
184
185 // ----------------------------------------------------------------------------
186
// Instance/ImplAttributeGet0_1
187
// ----------------------------------------------------------------------------
188
public String JavaDoc getDescription (
189   ) {
190     return (String JavaDoc)this.refGetValue("description", 0);
191   }
192 // ----------------------------------------------------------------------------
193
// Instance/ImplAttributeSet0_1
194
// ----------------------------------------------------------------------------
195
public void setDescription(
196     String JavaDoc newValue
197   ) {
198     refSetValue("org:opencrx:kernel:account1:AbstractAccount:description", 0, newValue);
199   }
200
201 // ----------------------------------------------------------------------------
202
// Instance/ImplAttributeGet0_1
203
// ----------------------------------------------------------------------------
204
public String JavaDoc getFullName (
205   ) {
206     return (String JavaDoc)this.refGetValue("fullName", 0);
207   }
208 // ----------------------------------------------------------------------------
209
// Instance/ImplAttributeSet0_1
210
// ----------------------------------------------------------------------------
211
protected void setFullName(
212     String JavaDoc newValue
213   ) {
214     refSetValue("org:opencrx:kernel:account1:AbstractAccount:fullName", 0, newValue);
215   }
216
217 // ----------------------------------------------------------------------------
218
// Instance/ImplEnd
219
// ----------------------------------------------------------------------------
220
}
221
Popular Tags