KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openmdx > filter1 > cci > DecimalPropertyImpl


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:39:05 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.openmdx.filter1.cci;
14
15 public class DecimalPropertyImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements DecimalProperty {
18
19   public DecimalPropertyImpl(
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/ImplAttributeGetSet
28
// ----------------------------------------------------------------------------
29
public java.util.Set JavaDoc getValue (
30   ) {
31     return (java.util.Set JavaDoc)this.refGetValue("value");
32   }
33 // ----------------------------------------------------------------------------
34
// Instance/ImplAttributeSetSet
35
// ----------------------------------------------------------------------------
36
public void setValue(
37     java.util.Set JavaDoc newValue
38   ) {
39     refSetValue("org:openmdx:filter1:DecimalProperty:value", newValue);
40   }
41
42   public void setValue(
43     java.math.BigDecimal JavaDoc[] newValue
44   ) {
45     refSetValue("org:openmdx:filter1:DecimalProperty:value", newValue);
46   }
47
48 // ----------------------------------------------------------------------------
49
// Instance/ImplAttributeGet1_1
50
// ----------------------------------------------------------------------------
51
public String JavaDoc getName(
52   ) {
53     return getName(0);
54   }
55
56   protected String JavaDoc getName(
57     int index
58   ) {
59     return (String JavaDoc)this.refGetValue("org:openmdx:filter1:Property:name", index);
60   }
61
62 // ----------------------------------------------------------------------------
63
// Instance/ImplAttributeSet1_1
64
// ----------------------------------------------------------------------------
65
protected void setName(
66     String JavaDoc newValue
67   ) {
68     setName(0, newValue);
69   }
70
71   protected void setName(
72     int index,
73     String JavaDoc newValue
74   ) {
75     refSetValue("org:openmdx:filter1:Property:name", index, newValue);
76   }
77 // ----------------------------------------------------------------------------
78
// Instance/ImplAttributeGet1_1
79
// ----------------------------------------------------------------------------
80
public short getOperator(
81   ) {
82     return getOperator(0);
83   }
84
85   protected short getOperator(
86     int index
87   ) {
88     return ((java.lang.Number JavaDoc)this.refGetValue("org:openmdx:filter1:Property:operator", index)).shortValue();
89   }
90
91 // ----------------------------------------------------------------------------
92
// Instance/ImplAttributeSet1_1
93
// ----------------------------------------------------------------------------
94
public void setOperator(
95     short newValue
96   ) {
97     setOperator(0, newValue);
98   }
99
100   protected void setOperator(
101     int index,
102     short newValue
103   ) {
104     refSetValue("org:openmdx:filter1:Property:operator", index, new Short JavaDoc(newValue));
105   }
106 // ----------------------------------------------------------------------------
107
// Instance/ImplAttributeGet1_1
108
// ----------------------------------------------------------------------------
109
public short getQuantor(
110   ) {
111     return getQuantor(0);
112   }
113
114   protected short getQuantor(
115     int index
116   ) {
117     return ((java.lang.Number JavaDoc)this.refGetValue("org:openmdx:filter1:Property:quantor", index)).shortValue();
118   }
119
120 // ----------------------------------------------------------------------------
121
// Instance/ImplAttributeSet1_1
122
// ----------------------------------------------------------------------------
123
public void setQuantor(
124     short newValue
125   ) {
126     setQuantor(0, newValue);
127   }
128
129   protected void setQuantor(
130     int index,
131     short newValue
132   ) {
133     refSetValue("org:openmdx:filter1:Property:quantor", index, new Short JavaDoc(newValue));
134   }
135 // ----------------------------------------------------------------------------
136
// Instance/ImplEnd
137
// ----------------------------------------------------------------------------
138
}
139
Popular Tags