KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openmdx > compatibility > view1 > cci > ViewImpl


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:06 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.openmdx.compatibility.view1.cci;
14
15 public class ViewImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements View {
18
19   public ViewImpl(
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 String JavaDoc getNamespace(
30   ) {
31     return getNamespace(0);
32   }
33
34   protected String JavaDoc getNamespace(
35     int index
36   ) {
37     return (String JavaDoc)this.refGetValue("org:openmdx:compatibility:view1:View:namespace", index);
38   }
39
40 // ----------------------------------------------------------------------------
41
// Instance/ImplAttributeSet1_1
42
// ----------------------------------------------------------------------------
43
protected void setNamespace(
44     String JavaDoc newValue
45   ) {
46     setNamespace(0, newValue);
47   }
48
49   protected void setNamespace(
50     int index,
51     String JavaDoc newValue
52   ) {
53     refSetValue("org:openmdx:compatibility:view1:View:namespace", index, newValue);
54   }
55 // ----------------------------------------------------------------------------
56
// Instance/ImplReferenceGet1_1NoQualifier
57
// ----------------------------------------------------------------------------
58
public org.openmdx.compatibility.view1.cci.ViewCapable getObject(
59   ) {
60     return (org.openmdx.compatibility.view1.cci.ViewCapable)refGetValue(
61       "org:openmdx:compatibility:view1:View:object"
62     );
63   }
64
65 // ----------------------------------------------------------------------------
66
// Instance/ImplReferenceSetNoQualifier
67
// ----------------------------------------------------------------------------
68
protected void setObject(
69     org.openmdx.compatibility.view1.cci.ViewCapable newValue
70   ) {
71     refSetValue(
72       "org:openmdx:compatibility:view1:View:object",
73       newValue
74     );
75   }
76
77 // ----------------------------------------------------------------------------
78
// Instance/ImplEnd
79
// ----------------------------------------------------------------------------
80
}
81
Popular Tags