KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > model1 > cci > EditableTypedElementImpl


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:53 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.model1.cci;
14
15 public class EditableTypedElementImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements EditableTypedElement {
18
19   public EditableTypedElementImpl(
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 getAnnotation (
30   ) {
31     return (String JavaDoc)this.refGetValue("annotation", 0);
32   }
33 // ----------------------------------------------------------------------------
34
// Instance/ImplAttributeSet0_1
35
// ----------------------------------------------------------------------------
36
public void setAnnotation(
37     String JavaDoc newValue
38   ) {
39     refSetValue("org:opencrx:kernel:model1:EditableElement:annotation", 0, newValue);
40   }
41
42 // ----------------------------------------------------------------------------
43
// Instance/ImplReferenceGet0_1NoQualifier
44
// ----------------------------------------------------------------------------
45
public org.opencrx.kernel.model1.cci.Element getBasedOn(
46   ) {
47     return (org.opencrx.kernel.model1.cci.Element)refGetValue(
48       "org:opencrx:kernel:model1:EditableElement:basedOn"
49     );
50   }
51
52 // ----------------------------------------------------------------------------
53
// Instance/ImplReferenceSetNoQualifier
54
// ----------------------------------------------------------------------------
55
protected void setBasedOn(
56     org.opencrx.kernel.model1.cci.Element newValue
57   ) {
58     refSetValue(
59       "org:opencrx:kernel:model1:EditableElement:basedOn",
60       newValue
61     );
62   }
63
64 // ----------------------------------------------------------------------------
65
// Instance/ImplReferenceRemoveOptional
66
// ----------------------------------------------------------------------------
67
protected void removeBasedOn (
68   ) {
69     refRemoveValue(
70       "org:opencrx:kernel:model1:EditableElement:basedOn"
71     );
72   }
73 // ----------------------------------------------------------------------------
74
// Instance/ImplAttributeGet0_1
75
// ----------------------------------------------------------------------------
76
public Integer JavaDoc getElementOrder (
77   ) {
78     return (Integer JavaDoc)this.refGetValue("elementOrder", 0);
79   }
80 // ----------------------------------------------------------------------------
81
// Instance/ImplAttributeSet0_1
82
// ----------------------------------------------------------------------------
83
public void setElementOrder(
84     Integer JavaDoc newValue
85   ) {
86     refSetValue("org:opencrx:kernel:model1:EditableElement:elementOrder", 0, newValue);
87   }
88
89 // ----------------------------------------------------------------------------
90
// Instance/ImplAttributeGet1_1
91
// ----------------------------------------------------------------------------
92
public String JavaDoc getName(
93   ) {
94     return getName(0);
95   }
96
97   protected String JavaDoc getName(
98     int index
99   ) {
100     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:model1:EditableElement:name", index);
101   }
102
103 // ----------------------------------------------------------------------------
104
// Instance/ImplAttributeSet1_1
105
// ----------------------------------------------------------------------------
106
public void setName(
107     String JavaDoc newValue
108   ) {
109     setName(0, newValue);
110   }
111
112   protected void setName(
113     int index,
114     String JavaDoc newValue
115   ) {
116     refSetValue("org:opencrx:kernel:model1:EditableElement:name", index, newValue);
117   }
118 // ----------------------------------------------------------------------------
119
// Instance/ImplReferenceGet0_1NoQualifier
120
// ----------------------------------------------------------------------------
121
public org.opencrx.kernel.model1.cci.Classifier getType(
122   ) {
123     return (org.opencrx.kernel.model1.cci.Classifier)refGetValue(
124       "org:opencrx:kernel:model1:EditableTypedElement:type"
125     );
126   }
127
128 // ----------------------------------------------------------------------------
129
// Instance/ImplReferenceSetNoQualifier
130
// ----------------------------------------------------------------------------
131
public void setType(
132     org.opencrx.kernel.model1.cci.Classifier newValue
133   ) {
134     refSetValue(
135       "org:opencrx:kernel:model1:EditableTypedElement:type",
136       newValue
137     );
138   }
139
140 // ----------------------------------------------------------------------------
141
// Instance/ImplReferenceRemoveOptional
142
// ----------------------------------------------------------------------------
143
public void removeType (
144   ) {
145     refRemoveValue(
146       "org:opencrx:kernel:model1:EditableTypedElement:type"
147     );
148   }
149 // ----------------------------------------------------------------------------
150
// Instance/ImplAttributeGet0_1
151
// ----------------------------------------------------------------------------
152
public String JavaDoc getTypeName (
153   ) {
154     return (String JavaDoc)this.refGetValue("typeName", 0);
155   }
156 // ----------------------------------------------------------------------------
157
// Instance/ImplAttributeSet0_1
158
// ----------------------------------------------------------------------------
159
public void setTypeName(
160     String JavaDoc newValue
161   ) {
162     refSetValue("org:opencrx:kernel:model1:EditableTypedElement:typeName", 0, newValue);
163   }
164
165 // ----------------------------------------------------------------------------
166
// Instance/ImplEnd
167
// ----------------------------------------------------------------------------
168
}
169
Popular Tags