KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > base > cci > ChartImpl


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:58 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.base.cci;
14
15 public class ChartImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements Chart {
18
19   public ChartImpl(
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/ImplAttributeGet1_1
28
// ----------------------------------------------------------------------------
29
public byte[] getChart(
30   ) {
31     return getChart(0);
32   }
33
34   protected byte[] getChart(
35     int index
36   ) {
37     return (byte[])this.refGetValue("org:opencrx:kernel:base:Chart:chart", index);
38   }
39
40 // ----------------------------------------------------------------------------
41
// Instance/ImplAttributeSet1_1
42
// ----------------------------------------------------------------------------
43
protected void setChart(
44     byte[] newValue
45   ) {
46     setChart(0, newValue);
47   }
48
49   protected void setChart(
50     int index,
51     byte[] newValue
52   ) {
53     refSetValue("org:opencrx:kernel:base:Chart:chart", index, newValue);
54   }
55 // ----------------------------------------------------------------------------
56
// Instance/ImplAttributeGet1_1
57
// ----------------------------------------------------------------------------
58
public String JavaDoc getChartMimeType(
59   ) {
60     return getChartMimeType(0);
61   }
62
63   protected String JavaDoc getChartMimeType(
64     int index
65   ) {
66     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:base:Chart:chartMimeType", index);
67   }
68
69 // ----------------------------------------------------------------------------
70
// Instance/ImplAttributeSet1_1
71
// ----------------------------------------------------------------------------
72
protected void setChartMimeType(
73     String JavaDoc newValue
74   ) {
75     setChartMimeType(0, newValue);
76   }
77
78   protected void setChartMimeType(
79     int index,
80     String JavaDoc newValue
81   ) {
82     refSetValue("org:opencrx:kernel:base:Chart:chartMimeType", index, newValue);
83   }
84 // ----------------------------------------------------------------------------
85
// Instance/ImplAttributeGet1_1
86
// ----------------------------------------------------------------------------
87
public String JavaDoc getChartName(
88   ) {
89     return getChartName(0);
90   }
91
92   protected String JavaDoc getChartName(
93     int index
94   ) {
95     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:base:Chart:chartName", index);
96   }
97
98 // ----------------------------------------------------------------------------
99
// Instance/ImplAttributeSet1_1
100
// ----------------------------------------------------------------------------
101
protected void setChartName(
102     String JavaDoc newValue
103   ) {
104     setChartName(0, newValue);
105   }
106
107   protected void setChartName(
108     int index,
109     String JavaDoc newValue
110   ) {
111     refSetValue("org:opencrx:kernel:base:Chart:chartName", index, newValue);
112   }
113 // ----------------------------------------------------------------------------
114
// Instance/ImplAttributeGet1_1
115
// ----------------------------------------------------------------------------
116
public String JavaDoc getDescription(
117   ) {
118     return getDescription(0);
119   }
120
121   protected String JavaDoc getDescription(
122     int index
123   ) {
124     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:base:Chart:description", index);
125   }
126
127 // ----------------------------------------------------------------------------
128
// Instance/ImplAttributeSet1_1
129
// ----------------------------------------------------------------------------
130
protected void setDescription(
131     String JavaDoc newValue
132   ) {
133     setDescription(0, newValue);
134   }
135
136   protected void setDescription(
137     int index,
138     String JavaDoc newValue
139   ) {
140     refSetValue("org:opencrx:kernel:base:Chart:description", index, newValue);
141   }
142 // ----------------------------------------------------------------------------
143
// Instance/ImplEnd
144
// ----------------------------------------------------------------------------
145
}
146
Popular Tags