1 package org.openmdx.base.cci; 14 15 public class SegmentImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Segment { 18 19 public SegmentImpl( 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 protected void setContext( 30 java.util.List newValue 31 ) { 32 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 33 } 34 35 protected void setContext( 36 org.openmdx.base.cci.Context[] newValue 37 ) { 38 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 39 } 40 41 public org.openmdx.base.cci.Context getContext( 45 String id 46 ) { 47 return (org.openmdx.base.cci.Context)refGetValue( 48 "org:openmdx:base:ContextCapable:context", 49 id 50 ); 51 } 52 53 public java.util.Collection getContext( 57 ) { 58 return (java.util.Collection )refGetValue( 59 "org:openmdx:base:ContextCapable:context" 60 ); 61 } 62 63 protected void addContext ( 67 String id, 68 org.openmdx.base.cci.Context newValue 69 ) { 70 refAddValue( 71 "org:openmdx:base:ContextCapable:context", 72 id, 73 newValue 74 ); 75 } 76 77 protected void addContext ( 81 org.openmdx.base.cci.Context newValue 82 ) { 83 refAddValue( 84 "org:openmdx:base:ContextCapable:context", 85 newValue 86 ); 87 } 88 89 protected void removeContext ( 93 String id 94 ) { 95 refRemoveValue( 96 "org:openmdx:base:ContextCapable:context", 97 id 98 ); 99 } 100 101 public String getDescription ( 105 ) { 106 return (String )this.refGetValue("description", 0); 107 } 108 public void setDescription( 112 String newValue 113 ) { 114 refSetValue("org:openmdx:base:Segment:description", 0, newValue); 115 } 116 117 protected void setExtent( 121 java.util.List newValue 122 ) { 123 refSetValue("org:openmdx:base:Segment:extent", newValue); 124 } 125 126 protected void setExtent( 127 org.openmdx.base.cci.ExtentCapable[] newValue 128 ) { 129 refSetValue("org:openmdx:base:Segment:extent", newValue); 130 } 131 132 public org.openmdx.base.cci.ExtentCapable getExtent( 136 String identity 137 ) { 138 return (org.openmdx.base.cci.ExtentCapable)refGetValue( 139 "org:openmdx:base:Segment:extent", 140 identity 141 ); 142 } 143 144 public java.util.Collection getExtent( 148 ) { 149 return (java.util.Collection )refGetValue( 150 "org:openmdx:base:Segment:extent" 151 ); 152 } 153 154 public java.util.List getExtent( 155 org.openmdx.base.cci.ExtentCapableFilter filter 156 ) { 157 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 158 "org:openmdx:base:Segment:extent" 159 )).toList(filter); 160 } 161 162 protected void addExtent ( 166 String identity, 167 org.openmdx.base.cci.ExtentCapable newValue 168 ) { 169 refAddValue( 170 "org:openmdx:base:Segment:extent", 171 identity, 172 newValue 173 ); 174 } 175 176 protected void addExtent ( 180 org.openmdx.base.cci.ExtentCapable newValue 181 ) { 182 refAddValue( 183 "org:openmdx:base:Segment:extent", 184 newValue 185 ); 186 } 187 188 protected void removeExtent ( 192 String identity 193 ) { 194 refRemoveValue( 195 "org:openmdx:base:Segment:extent", 196 identity 197 ); 198 } 199 200 public org.openmdx.base.cci.Provider getProvider( 204 ) { 205 return (org.openmdx.base.cci.Provider)refGetValue( 206 "org:openmdx:base:Segment:provider" 207 ); 208 } 209 210 protected void setProvider( 214 org.openmdx.base.cci.Provider newValue 215 ) { 216 refSetValue( 217 "org:openmdx:base:Segment:provider", 218 newValue 219 ); 220 } 221 222 protected void setView( 226 java.util.List newValue 227 ) { 228 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 229 } 230 231 protected void setView( 232 org.openmdx.compatibility.view1.cci.View[] newValue 233 ) { 234 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 235 } 236 237 public org.openmdx.compatibility.view1.cci.View getView( 241 String namespace 242 ) { 243 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 244 "org:openmdx:compatibility:view1:ViewCapable:view", 245 namespace 246 ); 247 } 248 249 public java.util.Collection getView( 253 ) { 254 return (java.util.Collection )refGetValue( 255 "org:openmdx:compatibility:view1:ViewCapable:view" 256 ); 257 } 258 259 public java.util.List getView( 260 org.openmdx.compatibility.view1.cci.ViewFilter filter 261 ) { 262 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 263 "org:openmdx:compatibility:view1:ViewCapable:view" 264 )).toList(filter); 265 } 266 267 protected void addView ( 271 String namespace, 272 org.openmdx.compatibility.view1.cci.View newValue 273 ) { 274 refAddValue( 275 "org:openmdx:compatibility:view1:ViewCapable:view", 276 namespace, 277 newValue 278 ); 279 } 280 281 protected void addView ( 285 org.openmdx.compatibility.view1.cci.View newValue 286 ) { 287 refAddValue( 288 "org:openmdx:compatibility:view1:ViewCapable:view", 289 newValue 290 ); 291 } 292 293 protected void removeView ( 297 String namespace 298 ) { 299 refRemoveValue( 300 "org:openmdx:compatibility:view1:ViewCapable:view", 301 namespace 302 ); 303 } 304 305 } 309 | Popular Tags |