1 package org.opencrx.security.identity1.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 public void setSubject( 30 java.util.List newValue 31 ) { 32 refSetValue("org:opencrx:security:identity1:Segment:subject", newValue); 33 } 34 35 public void setSubject( 36 org.opencrx.security.identity1.cci.Subject[] newValue 37 ) { 38 refSetValue("org:opencrx:security:identity1:Segment:subject", newValue); 39 } 40 41 public org.opencrx.security.identity1.cci.Subject getSubject( 45 String name 46 ) { 47 return (org.opencrx.security.identity1.cci.Subject)refGetValue( 48 "org:opencrx:security:identity1:Segment:subject", 49 name 50 ); 51 } 52 53 public java.util.Collection getSubject( 57 ) { 58 return (java.util.Collection )refGetValue( 59 "org:opencrx:security:identity1:Segment:subject" 60 ); 61 } 62 63 public java.util.List getSubject( 64 org.opencrx.security.identity1.cci.SubjectFilter filter 65 ) { 66 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 67 "org:opencrx:security:identity1:Segment:subject" 68 )).toList(filter); 69 } 70 71 public void addSubject ( 75 String name, 76 org.opencrx.security.identity1.cci.Subject newValue 77 ) { 78 refAddValue( 79 "org:opencrx:security:identity1:Segment:subject", 80 name, 81 newValue 82 ); 83 } 84 85 public void addSubject ( 89 org.opencrx.security.identity1.cci.Subject newValue 90 ) { 91 refAddValue( 92 "org:opencrx:security:identity1:Segment:subject", 93 newValue 94 ); 95 } 96 97 public void removeSubject ( 101 String name 102 ) { 103 refRemoveValue( 104 "org:opencrx:security:identity1:Segment:subject", 105 name 106 ); 107 } 108 109 protected void setContext( 113 java.util.List newValue 114 ) { 115 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 116 } 117 118 protected void setContext( 119 org.openmdx.base.cci.Context[] newValue 120 ) { 121 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 122 } 123 124 public org.openmdx.base.cci.Context getContext( 128 String id 129 ) { 130 return (org.openmdx.base.cci.Context)refGetValue( 131 "org:openmdx:base:ContextCapable:context", 132 id 133 ); 134 } 135 136 public java.util.Collection getContext( 140 ) { 141 return (java.util.Collection )refGetValue( 142 "org:openmdx:base:ContextCapable:context" 143 ); 144 } 145 146 protected void addContext ( 150 String id, 151 org.openmdx.base.cci.Context newValue 152 ) { 153 refAddValue( 154 "org:openmdx:base:ContextCapable:context", 155 id, 156 newValue 157 ); 158 } 159 160 protected void addContext ( 164 org.openmdx.base.cci.Context newValue 165 ) { 166 refAddValue( 167 "org:openmdx:base:ContextCapable:context", 168 newValue 169 ); 170 } 171 172 protected void removeContext ( 176 String id 177 ) { 178 refRemoveValue( 179 "org:openmdx:base:ContextCapable:context", 180 id 181 ); 182 } 183 184 public String getDescription ( 188 ) { 189 return (String )this.refGetValue("description", 0); 190 } 191 public void setDescription( 195 String newValue 196 ) { 197 refSetValue("org:openmdx:base:Segment:description", 0, newValue); 198 } 199 200 protected void setExtent( 204 java.util.List newValue 205 ) { 206 refSetValue("org:openmdx:base:Segment:extent", newValue); 207 } 208 209 protected void setExtent( 210 org.openmdx.base.cci.ExtentCapable[] newValue 211 ) { 212 refSetValue("org:openmdx:base:Segment:extent", newValue); 213 } 214 215 public org.openmdx.base.cci.ExtentCapable getExtent( 219 String identity 220 ) { 221 return (org.openmdx.base.cci.ExtentCapable)refGetValue( 222 "org:openmdx:base:Segment:extent", 223 identity 224 ); 225 } 226 227 public java.util.Collection getExtent( 231 ) { 232 return (java.util.Collection )refGetValue( 233 "org:openmdx:base:Segment:extent" 234 ); 235 } 236 237 public java.util.List getExtent( 238 org.openmdx.base.cci.ExtentCapableFilter filter 239 ) { 240 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 241 "org:openmdx:base:Segment:extent" 242 )).toList(filter); 243 } 244 245 protected void addExtent ( 249 String identity, 250 org.openmdx.base.cci.ExtentCapable newValue 251 ) { 252 refAddValue( 253 "org:openmdx:base:Segment:extent", 254 identity, 255 newValue 256 ); 257 } 258 259 protected void addExtent ( 263 org.openmdx.base.cci.ExtentCapable newValue 264 ) { 265 refAddValue( 266 "org:openmdx:base:Segment:extent", 267 newValue 268 ); 269 } 270 271 protected void removeExtent ( 275 String identity 276 ) { 277 refRemoveValue( 278 "org:openmdx:base:Segment:extent", 279 identity 280 ); 281 } 282 283 public org.openmdx.base.cci.Provider getProvider( 287 ) { 288 return (org.openmdx.base.cci.Provider)refGetValue( 289 "org:openmdx:base:Segment:provider" 290 ); 291 } 292 293 protected void setProvider( 297 org.openmdx.base.cci.Provider newValue 298 ) { 299 refSetValue( 300 "org:openmdx:base:Segment:provider", 301 newValue 302 ); 303 } 304 305 protected void setView( 309 java.util.List newValue 310 ) { 311 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 312 } 313 314 protected void setView( 315 org.openmdx.compatibility.view1.cci.View[] newValue 316 ) { 317 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 318 } 319 320 public org.openmdx.compatibility.view1.cci.View getView( 324 String namespace 325 ) { 326 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 327 "org:openmdx:compatibility:view1:ViewCapable:view", 328 namespace 329 ); 330 } 331 332 public java.util.Collection getView( 336 ) { 337 return (java.util.Collection )refGetValue( 338 "org:openmdx:compatibility:view1:ViewCapable:view" 339 ); 340 } 341 342 public java.util.List getView( 343 org.openmdx.compatibility.view1.cci.ViewFilter filter 344 ) { 345 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 346 "org:openmdx:compatibility:view1:ViewCapable:view" 347 )).toList(filter); 348 } 349 350 protected void addView ( 354 String namespace, 355 org.openmdx.compatibility.view1.cci.View newValue 356 ) { 357 refAddValue( 358 "org:openmdx:compatibility:view1:ViewCapable:view", 359 namespace, 360 newValue 361 ); 362 } 363 364 protected void addView ( 368 org.openmdx.compatibility.view1.cci.View newValue 369 ) { 370 refAddValue( 371 "org:openmdx:compatibility:view1:ViewCapable:view", 372 newValue 373 ); 374 } 375 376 protected void removeView ( 380 String namespace 381 ) { 382 refRemoveValue( 383 "org:openmdx:compatibility:view1:ViewCapable:view", 384 namespace 385 ); 386 } 387 388 } 392 | Popular Tags |