KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openmdx > base > cci > ProviderImpl


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:07 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.openmdx.base.cci;
14
15 public class ProviderImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements Provider {
18
19   public ProviderImpl(
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/ImplReferenceGet1_1NoQualifier
28
// ----------------------------------------------------------------------------
29
public org.openmdx.base.cci.Authority getAuthority(
30   ) {
31     return (org.openmdx.base.cci.Authority)refGetValue(
32       "org:openmdx:base:Provider:authority"
33     );
34   }
35
36 // ----------------------------------------------------------------------------
37
// Instance/ImplReferenceSetNoQualifier
38
// ----------------------------------------------------------------------------
39
protected void setAuthority(
40     org.openmdx.base.cci.Authority newValue
41   ) {
42     refSetValue(
43       "org:openmdx:base:Provider:authority",
44       newValue
45     );
46   }
47
48 // ----------------------------------------------------------------------------
49
// Instance/ImplReferenceSetWithQualifier
50
// ----------------------------------------------------------------------------
51
public void setSegment(
52     java.util.List JavaDoc newValue
53   ) {
54     refSetValue("org:openmdx:base:Provider:segment", newValue);
55   }
56
57   public void setSegment(
58     org.openmdx.base.cci.Segment[] newValue
59   ) {
60     refSetValue("org:openmdx:base:Provider:segment", newValue);
61   }
62
63 // ----------------------------------------------------------------------------
64
// Instance/ImplReferenceGet0_1WithQualifier
65
// ----------------------------------------------------------------------------
66
public org.openmdx.base.cci.Segment getSegment(
67     String JavaDoc qualifiedName
68   ) {
69     return (org.openmdx.base.cci.Segment)refGetValue(
70       "org:openmdx:base:Provider:segment",
71       qualifiedName
72     );
73   }
74
75 // ----------------------------------------------------------------------------
76
// Instance/ImplReferenceGet0_nWithFilter
77
// ----------------------------------------------------------------------------
78
public java.util.Collection JavaDoc getSegment(
79   ) {
80     return (java.util.Collection JavaDoc)refGetValue(
81       "org:openmdx:base:Provider:segment"
82     );
83   }
84
85   public java.util.List JavaDoc getSegment(
86     org.openmdx.base.cci.SegmentFilter filter
87   ) {
88     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
89       "org:openmdx:base:Provider:segment"
90     )).toList(filter);
91   }
92
93 // ----------------------------------------------------------------------------
94
// Instance/ImplReferenceAddWithQualifier
95
// ----------------------------------------------------------------------------
96
public void addSegment (
97     String JavaDoc qualifiedName,
98     org.openmdx.base.cci.Segment newValue
99   ) {
100     refAddValue(
101       "org:openmdx:base:Provider:segment",
102       qualifiedName,
103       newValue
104     );
105   }
106
107 // ----------------------------------------------------------------------------
108
// Instance/ImplReferenceAddWithoutQualifier
109
// ----------------------------------------------------------------------------
110
public void addSegment (
111     org.openmdx.base.cci.Segment newValue
112   ) {
113     refAddValue(
114       "org:openmdx:base:Provider:segment",
115       newValue
116     );
117   }
118
119 // ----------------------------------------------------------------------------
120
// Instance/ImplReferenceRemoveWithQualifier
121
// ----------------------------------------------------------------------------
122
public void removeSegment (
123     String JavaDoc qualifiedName
124   ) {
125     refRemoveValue(
126       "org:openmdx:base:Provider:segment",
127       qualifiedName
128     );
129   }
130
131 // ----------------------------------------------------------------------------
132
// Instance/ImplEnd
133
// ----------------------------------------------------------------------------
134
}
135
Popular Tags