KickJava   Java API By Example, From Geeks To Geeks.

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


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 AbstractFilterPropertyImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements AbstractFilterProperty {
18
19   public AbstractFilterPropertyImpl(
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/ImplAttributeGet0_1
28
// ----------------------------------------------------------------------------
29
public String JavaDoc getDescription (
30   ) {
31     return (String JavaDoc)this.refGetValue("description", 0);
32   }
33 // ----------------------------------------------------------------------------
34
// Instance/ImplAttributeSet0_1
35
// ----------------------------------------------------------------------------
36
public void setDescription(
37     String JavaDoc newValue
38   ) {
39     refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:description", 0, newValue);
40   }
41
42 // ----------------------------------------------------------------------------
43
// Instance/ImplAttributeGet1_1
44
// ----------------------------------------------------------------------------
45
public short getFilterOperator(
46   ) {
47     return getFilterOperator(0);
48   }
49
50   protected short getFilterOperator(
51     int index
52   ) {
53     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterOperator", index)).shortValue();
54   }
55
56 // ----------------------------------------------------------------------------
57
// Instance/ImplAttributeSet1_1
58
// ----------------------------------------------------------------------------
59
public void setFilterOperator(
60     short newValue
61   ) {
62     setFilterOperator(0, newValue);
63   }
64
65   protected void setFilterOperator(
66     int index,
67     short newValue
68   ) {
69     refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterOperator", index, new Short JavaDoc(newValue));
70   }
71 // ----------------------------------------------------------------------------
72
// Instance/ImplAttributeGet1_1
73
// ----------------------------------------------------------------------------
74
public short getFilterQuantor(
75   ) {
76     return getFilterQuantor(0);
77   }
78
79   protected short getFilterQuantor(
80     int index
81   ) {
82     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor", index)).shortValue();
83   }
84
85 // ----------------------------------------------------------------------------
86
// Instance/ImplAttributeSet1_1
87
// ----------------------------------------------------------------------------
88
public void setFilterQuantor(
89     short newValue
90   ) {
91     setFilterQuantor(0, newValue);
92   }
93
94   protected void setFilterQuantor(
95     int index,
96     short newValue
97   ) {
98     refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:filterQuantor", index, new Short JavaDoc(newValue));
99   }
100 // ----------------------------------------------------------------------------
101
// Instance/ImplAttributeGet0_1
102
// ----------------------------------------------------------------------------
103
public Boolean JavaDoc isActive (
104   ) {
105     return (Boolean JavaDoc)this.refGetValue("isActive", 0);
106   }
107 // ----------------------------------------------------------------------------
108
// Instance/ImplAttributeSet0_1
109
// ----------------------------------------------------------------------------
110
public void setActive(
111     Boolean JavaDoc newValue
112   ) {
113     refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:isActive", 0, newValue);
114   }
115
116 // ----------------------------------------------------------------------------
117
// Instance/ImplAttributeGet1_1
118
// ----------------------------------------------------------------------------
119
public String JavaDoc getName(
120   ) {
121     return getName(0);
122   }
123
124   protected String JavaDoc getName(
125     int index
126   ) {
127     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:base:AbstractFilterProperty:name", index);
128   }
129
130 // ----------------------------------------------------------------------------
131
// Instance/ImplAttributeSet1_1
132
// ----------------------------------------------------------------------------
133
public void setName(
134     String JavaDoc newValue
135   ) {
136     setName(0, newValue);
137   }
138
139   protected void setName(
140     int index,
141     String JavaDoc newValue
142   ) {
143     refSetValue("org:opencrx:kernel:base:AbstractFilterProperty:name", index, newValue);
144   }
145 // ----------------------------------------------------------------------------
146
// Instance/ImplEnd
147
// ----------------------------------------------------------------------------
148
}
149
Popular Tags