KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > document1 > cci > DocumentImpl


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:57 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.document1.cci;
14
15 public class DocumentImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements Document {
18
19   public DocumentImpl(
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/ImplReferenceSetWithQualifier
28
// ----------------------------------------------------------------------------
29
protected void setAudit(
30     java.util.List JavaDoc newValue
31   ) {
32     refSetValue("org:opencrx:kernel:base:Auditee:audit", newValue);
33   }
34
35   protected void setAudit(
36     org.opencrx.kernel.base.cci.AuditEntry[] newValue
37   ) {
38     refSetValue("org:opencrx:kernel:base:Auditee:audit", newValue);
39   }
40
41 // ----------------------------------------------------------------------------
42
// Instance/ImplReferenceGet0_1WithQualifier
43
// ----------------------------------------------------------------------------
44
public org.opencrx.kernel.base.cci.AuditEntry getAudit(
45     String JavaDoc id
46   ) {
47     return (org.opencrx.kernel.base.cci.AuditEntry)refGetValue(
48       "org:opencrx:kernel:base:Auditee:audit",
49       id
50     );
51   }
52
53 // ----------------------------------------------------------------------------
54
// Instance/ImplReferenceGet0_nWithFilter
55
// ----------------------------------------------------------------------------
56
public java.util.Collection JavaDoc getAudit(
57   ) {
58     return (java.util.Collection JavaDoc)refGetValue(
59       "org:opencrx:kernel:base:Auditee:audit"
60     );
61   }
62
63   public java.util.List JavaDoc getAudit(
64     org.opencrx.kernel.base.cci.AuditEntryFilter filter
65   ) {
66     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
67       "org:opencrx:kernel:base:Auditee:audit"
68     )).toList(filter);
69   }
70
71 // ----------------------------------------------------------------------------
72
// Instance/ImplReferenceAddWithQualifier
73
// ----------------------------------------------------------------------------
74
protected void addAudit (
75     String JavaDoc id,
76     org.opencrx.kernel.base.cci.AuditEntry newValue
77   ) {
78     refAddValue(
79       "org:opencrx:kernel:base:Auditee:audit",
80       id,
81       newValue
82     );
83   }
84
85 // ----------------------------------------------------------------------------
86
// Instance/ImplReferenceAddWithoutQualifier
87
// ----------------------------------------------------------------------------
88
protected void addAudit (
89     org.opencrx.kernel.base.cci.AuditEntry newValue
90   ) {
91     refAddValue(
92       "org:opencrx:kernel:base:Auditee:audit",
93       newValue
94     );
95   }
96
97 // ----------------------------------------------------------------------------
98
// Instance/ImplReferenceRemoveWithQualifier
99
// ----------------------------------------------------------------------------
100
protected void removeAudit (
101     String JavaDoc id
102   ) {
103     refRemoveValue(
104       "org:opencrx:kernel:base:Auditee:audit",
105       id
106     );
107   }
108
109 // ----------------------------------------------------------------------------
110
// Instance/ImplOperation
111
// ----------------------------------------------------------------------------
112
public org.opencrx.kernel.base.cci.ImportResult importItem(
113       org.opencrx.kernel.base.cci.ImportParams params
114   ) throws javax.jmi.reflect.RefException {
115     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
116     args.add(params);
117     return (org.opencrx.kernel.base.cci.ImportResult)refInvokeOperation(
118       "org:opencrx:kernel:base:Importer:importItem",
119       args
120     );
121   }
122
123   public org.opencrx.kernel.base.cci.ImportResult importItem(
124       byte[] item
125     , String JavaDoc itemMimeType
126     , String JavaDoc itemName
127     , short locale
128   ) throws javax.jmi.reflect.RefException {
129     return importItem(
130       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createImportParams(
131         item
132     , itemMimeType
133     , itemName
134     , locale
135       )
136     );
137   }
138
139 // ----------------------------------------------------------------------------
140
// Instance/ImplAttributeGet1_1
141
// ----------------------------------------------------------------------------
142
public short getAccessLevelBrowse(
143   ) {
144     return getAccessLevelBrowse(0);
145   }
146
147   protected short getAccessLevelBrowse(
148     int index
149   ) {
150     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue();
151   }
152
153 // ----------------------------------------------------------------------------
154
// Instance/ImplAttributeSet1_1
155
// ----------------------------------------------------------------------------
156
public void setAccessLevelBrowse(
157     short newValue
158   ) {
159     setAccessLevelBrowse(0, newValue);
160   }
161
162   protected void setAccessLevelBrowse(
163     int index,
164     short newValue
165   ) {
166     refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short JavaDoc(newValue));
167   }
168 // ----------------------------------------------------------------------------
169
// Instance/ImplAttributeGet1_1
170
// ----------------------------------------------------------------------------
171
public short getAccessLevelDelete(
172   ) {
173     return getAccessLevelDelete(0);
174   }
175
176   protected short getAccessLevelDelete(
177     int index
178   ) {
179     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue();
180   }
181
182 // ----------------------------------------------------------------------------
183
// Instance/ImplAttributeSet1_1
184
// ----------------------------------------------------------------------------
185
public void setAccessLevelDelete(
186     short newValue
187   ) {
188     setAccessLevelDelete(0, newValue);
189   }
190
191   protected void setAccessLevelDelete(
192     int index,
193     short newValue
194   ) {
195     refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short JavaDoc(newValue));
196   }
197 // ----------------------------------------------------------------------------
198
// Instance/ImplAttributeGet1_1
199
// ----------------------------------------------------------------------------
200
public short getAccessLevelUpdate(
201   ) {
202     return getAccessLevelUpdate(0);
203   }
204
205   protected short getAccessLevelUpdate(
206     int index
207   ) {
208     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue();
209   }
210
211 // ----------------------------------------------------------------------------
212
// Instance/ImplAttributeSet1_1
213
// ----------------------------------------------------------------------------
214
public void setAccessLevelUpdate(
215     short newValue
216   ) {
217     setAccessLevelUpdate(0, newValue);
218   }
219
220   protected void setAccessLevelUpdate(
221     int index,
222     short newValue
223   ) {
224     refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short JavaDoc(newValue));
225   }
226 // ----------------------------------------------------------------------------
227
// Instance/ImplOperation
228
// ----------------------------------------------------------------------------
229
public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup(
230       org.opencrx.kernel.base.cci.ModifyOwningGroupParams params
231   ) throws javax.jmi.reflect.RefException {
232     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
233     args.add(params);
234     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
235       "org:opencrx:kernel:base:SecureObject:addOwningGroup",
236       args
237     );
238   }
239
240   public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup(
241       org.opencrx.security.realm1.cci.PrincipalGroup group
242     , short mode
243   ) throws javax.jmi.reflect.RefException {
244     return addOwningGroup(
245       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams(
246         group
247     , mode
248       )
249     );
250   }
251
252 // ----------------------------------------------------------------------------
253
// Instance/ImplAttributeGetList
254
// ----------------------------------------------------------------------------
255
public java.util.List JavaDoc getOwner (
256   ) {
257     return (java.util.List JavaDoc)this.refGetValue("owner");
258   }
259   public String JavaDoc getOwner(
260     int index
261   ) {
262     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index);
263   }
264
265 // ----------------------------------------------------------------------------
266
// Instance/ImplAttributeSetList
267
// ----------------------------------------------------------------------------
268
protected void setOwner(
269     java.util.List JavaDoc newValue
270   ) {
271     refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue);
272   }
273
274   protected void setOwner(
275     String JavaDoc[] newValue
276   ) {
277     refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue);
278   }
279
280 // ----------------------------------------------------------------------------
281
// Instance/ImplReferenceSetWithQualifier
282
// ----------------------------------------------------------------------------
283
public void setOwningGroup(
284     java.util.List JavaDoc newValue
285   ) {
286     refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue);
287   }
288
289   public void setOwningGroup(
290     org.opencrx.security.realm1.cci.PrincipalGroup[] newValue
291   ) {
292     refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue);
293   }
294
295 // ----------------------------------------------------------------------------
296
// Instance/ImplReferenceGet0_1WithQualifier
297
// ----------------------------------------------------------------------------
298
public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup(
299     int index
300   ) {
301     return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue(
302       "org:opencrx:kernel:base:SecureObject:owningGroup",
303       new Integer JavaDoc(index)
304     );
305   }
306
307 // ----------------------------------------------------------------------------
308
// Instance/ImplReferenceGet0_nNoFilter
309
// ----------------------------------------------------------------------------
310
public java.util.Collection JavaDoc getOwningGroup(
311   ) {
312     return (java.util.Collection JavaDoc)refGetValue(
313       "org:opencrx:kernel:base:SecureObject:owningGroup"
314     );
315   }
316
317 // ----------------------------------------------------------------------------
318
// Instance/ImplReferenceAddWithQualifier
319
// ----------------------------------------------------------------------------
320
public void addOwningGroup (
321     int index,
322     org.opencrx.security.realm1.cci.PrincipalGroup newValue
323   ) {
324     refAddValue(
325       "org:opencrx:kernel:base:SecureObject:owningGroup",
326       new Integer JavaDoc(index),
327       newValue
328     );
329   }
330
331 // ----------------------------------------------------------------------------
332
// Instance/ImplReferenceAddWithoutQualifier
333
// ----------------------------------------------------------------------------
334
public void addOwningGroup (
335     org.opencrx.security.realm1.cci.PrincipalGroup newValue
336   ) {
337     refAddValue(
338       "org:opencrx:kernel:base:SecureObject:owningGroup",
339       newValue
340     );
341   }
342
343 // ----------------------------------------------------------------------------
344
// Instance/ImplReferenceRemoveWithQualifier
345
// ----------------------------------------------------------------------------
346
public void removeOwningGroup (
347     int index
348   ) {
349     refRemoveValue(
350       "org:opencrx:kernel:base:SecureObject:owningGroup",
351       new Integer JavaDoc(index)
352     );
353   }
354
355 // ----------------------------------------------------------------------------
356
// Instance/ImplReferenceGet0_1NoQualifier
357
// ----------------------------------------------------------------------------
358
public org.opencrx.security.realm1.cci.User getOwningUser(
359   ) {
360     return (org.opencrx.security.realm1.cci.User)refGetValue(
361       "org:opencrx:kernel:base:SecureObject:owningUser"
362     );
363   }
364
365 // ----------------------------------------------------------------------------
366
// Instance/ImplReferenceSetNoQualifier
367
// ----------------------------------------------------------------------------
368
public void setOwningUser(
369     org.opencrx.security.realm1.cci.User newValue
370   ) {
371     refSetValue(
372       "org:opencrx:kernel:base:SecureObject:owningUser",
373       newValue
374     );
375   }
376
377 // ----------------------------------------------------------------------------
378
// Instance/ImplReferenceRemoveOptional
379
// ----------------------------------------------------------------------------
380
public void removeOwningUser (
381   ) {
382     refRemoveValue(
383       "org:opencrx:kernel:base:SecureObject:owningUser"
384     );
385   }
386 // ----------------------------------------------------------------------------
387
// Instance/ImplOperation
388
// ----------------------------------------------------------------------------
389
public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup(
390       org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params
391   ) throws javax.jmi.reflect.RefException {
392     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
393     args.add(params);
394     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
395       "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup",
396       args
397     );
398   }
399
400   public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup(
401       short mode
402   ) throws javax.jmi.reflect.RefException {
403     return removeAllOwningGroup(
404       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams(
405         mode
406       )
407     );
408   }
409
410 // ----------------------------------------------------------------------------
411
// Instance/ImplOperation
412
// ----------------------------------------------------------------------------
413
public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup(
414       org.opencrx.kernel.base.cci.ModifyOwningGroupParams params
415   ) throws javax.jmi.reflect.RefException {
416     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
417     args.add(params);
418     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
419       "org:opencrx:kernel:base:SecureObject:removeOwningGroup",
420       args
421     );
422   }
423
424   public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup(
425       org.opencrx.security.realm1.cci.PrincipalGroup group
426     , short mode
427   ) throws javax.jmi.reflect.RefException {
428     return removeOwningGroup(
429       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams(
430         group
431     , mode
432       )
433     );
434   }
435
436 // ----------------------------------------------------------------------------
437
// Instance/ImplOperation
438
// ----------------------------------------------------------------------------
439
public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel(
440       org.opencrx.kernel.base.cci.SetAccessLevelParams params
441   ) throws javax.jmi.reflect.RefException {
442     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
443     args.add(params);
444     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
445       "org:opencrx:kernel:base:SecureObject:setAccessLevel",
446       args
447     );
448   }
449
450   public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel(
451       short accessLevelBrowse
452     , short accessLevelDelete
453     , short accessLevelUpdate
454     , short mode
455   ) throws javax.jmi.reflect.RefException {
456     return setAccessLevel(
457       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams(
458         accessLevelBrowse
459     , accessLevelDelete
460     , accessLevelUpdate
461     , mode
462       )
463     );
464   }
465
466 // ----------------------------------------------------------------------------
467
// Instance/ImplOperation
468
// ----------------------------------------------------------------------------
469
public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser(
470       org.opencrx.kernel.base.cci.SetOwningUserParams params
471   ) throws javax.jmi.reflect.RefException {
472     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
473     args.add(params);
474     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
475       "org:opencrx:kernel:base:SecureObject:setOwningUser",
476       args
477     );
478   }
479
480   public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser(
481       short mode
482     , org.opencrx.security.realm1.cci.User user
483   ) throws javax.jmi.reflect.RefException {
484     return setOwningUser(
485       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams(
486         mode
487     , user
488       )
489     );
490   }
491
492 // ----------------------------------------------------------------------------
493
// Instance/ImplOperation
494
// ----------------------------------------------------------------------------
495
public org.opencrx.kernel.base.cci.ExportResult exportXml(
496       org.opencrx.kernel.base.cci.XmlExportParams params
497   ) throws javax.jmi.reflect.RefException {
498     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
499     args.add(params);
500     return (org.opencrx.kernel.base.cci.ExportResult)refInvokeOperation(
501       "org:opencrx:kernel:base:XmlExporter:exportXml",
502       args
503     );
504   }
505
506   public org.opencrx.kernel.base.cci.ExportResult exportXml(
507       String JavaDoc attributeFilter
508     , String JavaDoc referenceFilter
509   ) throws javax.jmi.reflect.RefException {
510     return exportXml(
511       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createXmlExportParams(
512         attributeFilter
513     , referenceFilter
514       )
515     );
516   }
517
518 // ----------------------------------------------------------------------------
519
// Instance/ImplAttributeGet0_1
520
// ----------------------------------------------------------------------------
521
public java.util.Date JavaDoc getActiveOn (
522   ) {
523     return (java.util.Date JavaDoc)this.refGetValue("activeOn", 0);
524   }
525 // ----------------------------------------------------------------------------
526
// Instance/ImplAttributeSet0_1
527
// ----------------------------------------------------------------------------
528
public void setActiveOn(
529     java.util.Date JavaDoc newValue
530   ) {
531     refSetValue("org:opencrx:kernel:document1:Document:activeOn", 0, newValue);
532   }
533
534 // ----------------------------------------------------------------------------
535
// Instance/ImplAttributeGet0_1
536
// ----------------------------------------------------------------------------
537
public java.util.Date JavaDoc getActiveUntil (
538   ) {
539     return (java.util.Date JavaDoc)this.refGetValue("activeUntil", 0);
540   }
541 // ----------------------------------------------------------------------------
542
// Instance/ImplAttributeSet0_1
543
// ----------------------------------------------------------------------------
544
public void setActiveUntil(
545     java.util.Date JavaDoc newValue
546   ) {
547     refSetValue("org:opencrx:kernel:document1:Document:activeUntil", 0, newValue);
548   }
549
550 // ----------------------------------------------------------------------------
551
// Instance/ImplAttributeGet0_1
552
// ----------------------------------------------------------------------------
553
public String JavaDoc getAuthor (
554   ) {
555     return (String JavaDoc)this.refGetValue("author", 0);
556   }
557 // ----------------------------------------------------------------------------
558
// Instance/ImplAttributeSet0_1
559
// ----------------------------------------------------------------------------
560
public void setAuthor(
561     String JavaDoc newValue
562   ) {
563     refSetValue("org:opencrx:kernel:document1:Document:author", 0, newValue);
564   }
565
566 // ----------------------------------------------------------------------------
567
// Instance/ImplAttributeGet1_1
568
// ----------------------------------------------------------------------------
569
public short getContentLanguage(
570   ) {
571     return getContentLanguage(0);
572   }
573
574   protected short getContentLanguage(
575     int index
576   ) {
577     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:document1:Document:contentLanguage", index)).shortValue();
578   }
579
580 // ----------------------------------------------------------------------------
581
// Instance/ImplAttributeSet1_1
582
// ----------------------------------------------------------------------------
583
public void setContentLanguage(
584     short newValue
585   ) {
586     setContentLanguage(0, newValue);
587   }
588
589   protected void setContentLanguage(
590     int index,
591     short newValue
592   ) {
593     refSetValue("org:opencrx:kernel:document1:Document:contentLanguage", index, new Short JavaDoc(newValue));
594   }
595 // ----------------------------------------------------------------------------
596
// Instance/ImplAttributeGet0_1
597
// ----------------------------------------------------------------------------
598
public Integer JavaDoc getContentLength (
599   ) {
600     return (Integer JavaDoc)this.refGetValue("contentLength", 0);
601   }
602 // ----------------------------------------------------------------------------
603
// Instance/ImplAttributeSet0_1
604
// ----------------------------------------------------------------------------
605
public void setContentLength(
606     Integer JavaDoc newValue
607   ) {
608     refSetValue("org:opencrx:kernel:document1:Document:contentLength", 0, newValue);
609   }
610
611 // ----------------------------------------------------------------------------
612
// Instance/ImplAttributeGet0_1
613
// ----------------------------------------------------------------------------
614
public String JavaDoc getContentType (
615   ) {
616     return (String JavaDoc)this.refGetValue("contentType", 0);
617   }
618 // ----------------------------------------------------------------------------
619
// Instance/ImplAttributeSet0_1
620
// ----------------------------------------------------------------------------
621
public void setContentType(
622     String JavaDoc newValue
623   ) {
624     refSetValue("org:opencrx:kernel:document1:Document:contentType", 0, newValue);
625   }
626
627 // ----------------------------------------------------------------------------
628
// Instance/ImplAttributeGet0_1
629
// ----------------------------------------------------------------------------
630
public String JavaDoc getDocumentAbstract (
631   ) {
632     return (String JavaDoc)this.refGetValue("documentAbstract", 0);
633   }
634 // ----------------------------------------------------------------------------
635
// Instance/ImplAttributeSet0_1
636
// ----------------------------------------------------------------------------
637
public void setDocumentAbstract(
638     String JavaDoc newValue
639   ) {
640     refSetValue("org:opencrx:kernel:document1:Document:documentAbstract", 0, newValue);
641   }
642
643 // ----------------------------------------------------------------------------
644
// Instance/ImplAttributeGet0_1
645
// ----------------------------------------------------------------------------
646
public String JavaDoc getDocumentNumber (
647   ) {
648     return (String JavaDoc)this.refGetValue("documentNumber", 0);
649   }
650 // ----------------------------------------------------------------------------
651
// Instance/ImplAttributeSet0_1
652
// ----------------------------------------------------------------------------
653
public void setDocumentNumber(
654     String JavaDoc newValue
655   ) {
656     refSetValue("org:opencrx:kernel:document1:Document:documentNumber", 0, newValue);
657   }
658
659 // ----------------------------------------------------------------------------
660
// Instance/ImplAttributeGet1_1
661
// ----------------------------------------------------------------------------
662
public short getDocumentState(
663   ) {
664     return getDocumentState(0);
665   }
666
667   protected short getDocumentState(
668     int index
669   ) {
670     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:document1:Document:documentState", index)).shortValue();
671   }
672
673 // ----------------------------------------------------------------------------
674
// Instance/ImplAttributeSet1_1
675
// ----------------------------------------------------------------------------
676
public void setDocumentState(
677     short newValue
678   ) {
679     setDocumentState(0, newValue);
680   }
681
682   protected void setDocumentState(
683     int index,
684     short newValue
685   ) {
686     refSetValue("org:opencrx:kernel:document1:Document:documentState", index, new Short JavaDoc(newValue));
687   }
688 // ----------------------------------------------------------------------------
689
// Instance/ImplAttributeGet1_1
690
// ----------------------------------------------------------------------------
691
public short getDocumentType(
692   ) {
693     return getDocumentType(0);
694   }
695
696   protected short getDocumentType(
697     int index
698   ) {
699     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:document1:Document:documentType", index)).shortValue();
700   }
701
702 // ----------------------------------------------------------------------------
703
// Instance/ImplAttributeSet1_1
704
// ----------------------------------------------------------------------------
705
public void setDocumentType(
706     short newValue
707   ) {
708     setDocumentType(0, newValue);
709   }
710
711   protected void setDocumentType(
712     int index,
713     short newValue
714   ) {
715     refSetValue("org:opencrx:kernel:document1:Document:documentType", index, new Short JavaDoc(newValue));
716   }
717 // ----------------------------------------------------------------------------
718
// Instance/ImplReferenceSetWithQualifier
719
// ----------------------------------------------------------------------------
720
public void setFolder(
721     java.util.List JavaDoc newValue
722   ) {
723     refSetValue("org:opencrx:kernel:document1:Document:folder", newValue);
724   }
725
726   public void setFolder(
727     org.opencrx.kernel.document1.cci.DocumentFolder[] newValue
728   ) {
729     refSetValue("org:opencrx:kernel:document1:Document:folder", newValue);
730   }
731
732 // ----------------------------------------------------------------------------
733
// Instance/ImplReferenceGet0_1WithQualifier
734
// ----------------------------------------------------------------------------
735
public org.opencrx.kernel.document1.cci.DocumentFolder getFolder(
736     int index
737   ) {
738     return (org.opencrx.kernel.document1.cci.DocumentFolder)refGetValue(
739       "org:opencrx:kernel:document1:Document:folder",
740       new Integer JavaDoc(index)
741     );
742   }
743
744 // ----------------------------------------------------------------------------
745
// Instance/ImplReferenceGet0_nNoFilter
746
// ----------------------------------------------------------------------------
747
public java.util.Collection JavaDoc getFolder(
748   ) {
749     return (java.util.Collection JavaDoc)refGetValue(
750       "org:opencrx:kernel:document1:Document:folder"
751     );
752   }
753
754 // ----------------------------------------------------------------------------
755
// Instance/ImplReferenceAddWithQualifier
756
// ----------------------------------------------------------------------------
757
public void addFolder (
758     int index,
759     org.opencrx.kernel.document1.cci.DocumentFolder newValue
760   ) {
761     refAddValue(
762       "org:opencrx:kernel:document1:Document:folder",
763       new Integer JavaDoc(index),
764       newValue
765     );
766   }
767
768 // ----------------------------------------------------------------------------
769
// Instance/ImplReferenceAddWithoutQualifier
770
// ----------------------------------------------------------------------------
771
public void addFolder (
772     org.opencrx.kernel.document1.cci.DocumentFolder newValue
773   ) {
774     refAddValue(
775       "org:opencrx:kernel:document1:Document:folder",
776       newValue
777     );
778   }
779
780 // ----------------------------------------------------------------------------
781
// Instance/ImplReferenceRemoveWithQualifier
782
// ----------------------------------------------------------------------------
783
public void removeFolder (
784     int index
785   ) {
786     refRemoveValue(
787       "org:opencrx:kernel:document1:Document:folder",
788       new Integer JavaDoc(index)
789     );
790   }
791
792 // ----------------------------------------------------------------------------
793
// Instance/ImplReferenceGet0_1NoQualifier
794
// ----------------------------------------------------------------------------
795
public org.opencrx.kernel.document1.cci.DocumentRevision getHeadRevision(
796   ) {
797     return (org.opencrx.kernel.document1.cci.DocumentRevision)refGetValue(
798       "org:opencrx:kernel:document1:Document:headRevision"
799     );
800   }
801
802 // ----------------------------------------------------------------------------
803
// Instance/ImplReferenceSetNoQualifier
804
// ----------------------------------------------------------------------------
805
public void setHeadRevision(
806     org.opencrx.kernel.document1.cci.DocumentRevision newValue
807   ) {
808     refSetValue(
809       "org:opencrx:kernel:document1:Document:headRevision",
810       newValue
811     );
812   }
813
814 // ----------------------------------------------------------------------------
815
// Instance/ImplReferenceRemoveOptional
816
// ----------------------------------------------------------------------------
817
public void removeHeadRevision (
818   ) {
819     refRemoveValue(
820       "org:opencrx:kernel:document1:Document:headRevision"
821     );
822   }
823 // ----------------------------------------------------------------------------
824
// Instance/ImplAttributeGet0_1
825
// ----------------------------------------------------------------------------
826
public String JavaDoc getKeywords (
827   ) {
828     return (String JavaDoc)this.refGetValue("keywords", 0);
829   }
830 // ----------------------------------------------------------------------------
831
// Instance/ImplAttributeSet0_1
832
// ----------------------------------------------------------------------------
833
public void setKeywords(
834     String JavaDoc newValue
835   ) {
836     refSetValue("org:opencrx:kernel:document1:Document:keywords", 0, newValue);
837   }
838
839 // ----------------------------------------------------------------------------
840
// Instance/ImplAttributeGet1_1
841
// ----------------------------------------------------------------------------
842
public short getLiteratureType(
843   ) {
844     return getLiteratureType(0);
845   }
846
847   protected short getLiteratureType(
848     int index
849   ) {
850     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:document1:Document:literatureType", index)).shortValue();
851   }
852
853 // ----------------------------------------------------------------------------
854
// Instance/ImplAttributeSet1_1
855
// ----------------------------------------------------------------------------
856
public void setLiteratureType(
857     short newValue
858   ) {
859     setLiteratureType(0, newValue);
860   }
861
862   protected void setLiteratureType(
863     int index,
864     short newValue
865   ) {
866     refSetValue("org:opencrx:kernel:document1:Document:literatureType", index, new Short JavaDoc(newValue));
867   }
868 // ----------------------------------------------------------------------------
869
// Instance/ImplAttributeGet0_1
870
// ----------------------------------------------------------------------------
871
public String JavaDoc getLocation (
872   ) {
873     return (String JavaDoc)this.refGetValue("location", 0);
874   }
875 // ----------------------------------------------------------------------------
876
// Instance/ImplAttributeSet0_1
877
// ----------------------------------------------------------------------------
878
public void setLocation(
879     String JavaDoc newValue
880   ) {
881     refSetValue("org:opencrx:kernel:document1:Document:location", 0, newValue);
882   }
883
884 // ----------------------------------------------------------------------------
885
// Instance/ImplReferenceSetWithQualifier
886
// ----------------------------------------------------------------------------
887
public void setRevision(
888     java.util.List JavaDoc newValue
889   ) {
890     refSetValue("org:opencrx:kernel:document1:Document:revision", newValue);
891   }
892
893   public void setRevision(
894     org.opencrx.kernel.document1.cci.DocumentRevision[] newValue
895   ) {
896     refSetValue("org:opencrx:kernel:document1:Document:revision", newValue);
897   }
898
899 // ----------------------------------------------------------------------------
900
// Instance/ImplReferenceGet0_1WithQualifier
901
// ----------------------------------------------------------------------------
902
public org.opencrx.kernel.document1.cci.DocumentRevision getRevision(
903     String JavaDoc id
904   ) {
905     return (org.opencrx.kernel.document1.cci.DocumentRevision)refGetValue(
906       "org:opencrx:kernel:document1:Document:revision",
907       id
908     );
909   }
910
911 // ----------------------------------------------------------------------------
912
// Instance/ImplReferenceGet0_nWithFilter
913
// ----------------------------------------------------------------------------
914
public java.util.Collection JavaDoc getRevision(
915   ) {
916     return (java.util.Collection JavaDoc)refGetValue(
917       "org:opencrx:kernel:document1:Document:revision"
918     );
919   }
920
921   public java.util.List JavaDoc getRevision(
922     org.opencrx.kernel.document1.cci.DocumentRevisionFilter filter
923   ) {
924     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
925       "org:opencrx:kernel:document1:Document:revision"
926     )).toList(filter);
927   }
928
929 // ----------------------------------------------------------------------------
930
// Instance/ImplReferenceAddWithQualifier
931
// ----------------------------------------------------------------------------
932
public void addRevision (
933     String JavaDoc id,
934     org.opencrx.kernel.document1.cci.DocumentRevision newValue
935   ) {
936     refAddValue(
937       "org:opencrx:kernel:document1:Document:revision",
938       id,
939       newValue
940     );
941   }
942
943 // ----------------------------------------------------------------------------
944
// Instance/ImplReferenceAddWithoutQualifier
945
// ----------------------------------------------------------------------------
946
public void addRevision (
947     org.opencrx.kernel.document1.cci.DocumentRevision newValue
948   ) {
949     refAddValue(
950       "org:opencrx:kernel:document1:Document:revision",
951       newValue
952     );
953   }
954
955 // ----------------------------------------------------------------------------
956
// Instance/ImplReferenceRemoveWithQualifier
957
// ----------------------------------------------------------------------------
958
public void removeRevision (
959     String JavaDoc id
960   ) {
961     refRemoveValue(
962       "org:opencrx:kernel:document1:Document:revision",
963       id
964     );
965   }
966
967 // ----------------------------------------------------------------------------
968
// Instance/ImplAttributeGet0_1
969
// ----------------------------------------------------------------------------
970
public String JavaDoc getSearchText (
971   ) {
972     return (String JavaDoc)this.refGetValue("searchText", 0);
973   }
974 // ----------------------------------------------------------------------------
975
// Instance/ImplAttributeSet0_1
976
// ----------------------------------------------------------------------------
977
public void setSearchText(
978     String JavaDoc newValue
979   ) {
980     refSetValue("org:opencrx:kernel:document1:Document:searchText", 0, newValue);
981   }
982
983 // ----------------------------------------------------------------------------
984
// Instance/ImplAttributeGet0_1
985
// ----------------------------------------------------------------------------
986
public String JavaDoc getTitle (
987   ) {
988     return (String JavaDoc)this.refGetValue("title", 0);
989   }
990 // ----------------------------------------------------------------------------
991
// Instance/ImplAttributeSet0_1
992
// ----------------------------------------------------------------------------
993
public void setTitle(
994     String JavaDoc newValue
995   ) {
996     refSetValue("org:opencrx:kernel:document1:Document:title", 0, newValue);
997   }
998
999 // ----------------------------------------------------------------------------
1000
// Instance/ImplAttributeGet1_1
1001
// ----------------------------------------------------------------------------
1002
public java.util.Date JavaDoc getCreatedAt(
1003  ) {
1004    return getCreatedAt(0);
1005  }
1006
1007  protected java.util.Date JavaDoc getCreatedAt(
1008    int index
1009  ) {
1010    return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:createdAt", index);
1011  }
1012
1013// ----------------------------------------------------------------------------
1014
// Instance/ImplAttributeSet1_1
1015
// ----------------------------------------------------------------------------
1016
protected void setCreatedAt(
1017    java.util.Date JavaDoc newValue
1018  ) {
1019    setCreatedAt(0, newValue);
1020  }
1021
1022  protected void setCreatedAt(
1023    int index,
1024    java.util.Date JavaDoc newValue
1025  ) {
1026    refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue);
1027  }
1028// ----------------------------------------------------------------------------
1029
// Instance/ImplAttributeGetSet
1030
// ----------------------------------------------------------------------------
1031
public java.util.Set JavaDoc getCreatedBy (
1032  ) {
1033    return (java.util.Set JavaDoc)this.refGetValue("createdBy");
1034  }
1035// ----------------------------------------------------------------------------
1036
// Instance/ImplAttributeSetSet
1037
// ----------------------------------------------------------------------------
1038
protected void setCreatedBy(
1039    java.util.Set JavaDoc newValue
1040  ) {
1041    refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
1042  }
1043
1044  protected void setCreatedBy(
1045    String JavaDoc[] newValue
1046  ) {
1047    refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
1048  }
1049
1050// ----------------------------------------------------------------------------
1051
// Instance/ImplAttributeGet1_1
1052
// ----------------------------------------------------------------------------
1053
public java.util.Date JavaDoc getModifiedAt(
1054  ) {
1055    return getModifiedAt(0);
1056  }
1057
1058  protected java.util.Date JavaDoc getModifiedAt(
1059    int index
1060  ) {
1061    return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index);
1062  }
1063
1064// ----------------------------------------------------------------------------
1065
// Instance/ImplAttributeSet1_1
1066
// ----------------------------------------------------------------------------
1067
protected void setModifiedAt(
1068    java.util.Date JavaDoc newValue
1069  ) {
1070    setModifiedAt(0, newValue);
1071  }
1072
1073  protected void setModifiedAt(
1074    int index,
1075    java.util.Date JavaDoc newValue
1076  ) {
1077    refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue);
1078  }
1079// ----------------------------------------------------------------------------
1080
// Instance/ImplAttributeGetSet
1081
// ----------------------------------------------------------------------------
1082
public java.util.Set JavaDoc getModifiedBy (
1083  ) {
1084    return (java.util.Set JavaDoc)this.refGetValue("modifiedBy");
1085  }
1086// ----------------------------------------------------------------------------
1087
// Instance/ImplAttributeSetSet
1088
// ----------------------------------------------------------------------------
1089
protected void setModifiedBy(
1090    java.util.Set JavaDoc newValue
1091  ) {
1092    refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
1093  }
1094
1095  protected void setModifiedBy(
1096    String JavaDoc[] newValue
1097  ) {
1098    refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
1099  }
1100
1101// ----------------------------------------------------------------------------
1102
// Instance/ImplReferenceSetWithQualifier
1103
// ----------------------------------------------------------------------------
1104
protected void setContext(
1105    java.util.List JavaDoc newValue
1106  ) {
1107    refSetValue("org:openmdx:base:ContextCapable:context", newValue);
1108  }
1109
1110  protected void setContext(
1111    org.openmdx.base.cci.Context[] newValue
1112  ) {
1113    refSetValue("org:openmdx:base:ContextCapable:context", newValue);
1114  }
1115
1116// ----------------------------------------------------------------------------
1117
// Instance/ImplReferenceGet0_1WithQualifier
1118
// ----------------------------------------------------------------------------
1119
public org.openmdx.base.cci.Context getContext(
1120    String JavaDoc id
1121  ) {
1122    return (org.openmdx.base.cci.Context)refGetValue(
1123      "org:openmdx:base:ContextCapable:context",
1124      id
1125    );
1126  }
1127
1128// ----------------------------------------------------------------------------
1129
// Instance/ImplReferenceGet0_nNoFilter
1130
// ----------------------------------------------------------------------------
1131
public java.util.Collection JavaDoc getContext(
1132  ) {
1133    return (java.util.Collection JavaDoc)refGetValue(
1134      "org:openmdx:base:ContextCapable:context"
1135    );
1136  }
1137
1138// ----------------------------------------------------------------------------
1139
// Instance/ImplReferenceAddWithQualifier
1140
// ----------------------------------------------------------------------------
1141
protected void addContext (
1142    String JavaDoc id,
1143    org.openmdx.base.cci.Context newValue
1144  ) {
1145    refAddValue(
1146      "org:openmdx:base:ContextCapable:context",
1147      id,
1148      newValue
1149    );
1150  }
1151
1152// ----------------------------------------------------------------------------
1153
// Instance/ImplReferenceAddWithoutQualifier
1154
// ----------------------------------------------------------------------------
1155
protected void addContext (
1156    org.openmdx.base.cci.Context newValue
1157  ) {
1158    refAddValue(
1159      "org:openmdx:base:ContextCapable:context",
1160      newValue
1161    );
1162  }
1163
1164// ----------------------------------------------------------------------------
1165
// Instance/ImplReferenceRemoveWithQualifier
1166
// ----------------------------------------------------------------------------
1167
protected void removeContext (
1168    String JavaDoc id
1169  ) {
1170    refRemoveValue(
1171      "org:openmdx:base:ContextCapable:context",
1172      id
1173    );
1174  }
1175
1176// ----------------------------------------------------------------------------
1177
// Instance/ImplAttributeGet1_1
1178
// ----------------------------------------------------------------------------
1179
public String JavaDoc getIdentity(
1180  ) {
1181    return getIdentity(0);
1182  }
1183
1184  protected String JavaDoc getIdentity(
1185    int index
1186  ) {
1187    return (String JavaDoc)this.refGetValue("org:openmdx:base:ExtentCapable:identity", index);
1188  }
1189
1190// ----------------------------------------------------------------------------
1191
// Instance/ImplAttributeSet1_1
1192
// ----------------------------------------------------------------------------
1193
protected void setIdentity(
1194    String JavaDoc newValue
1195  ) {
1196    setIdentity(0, newValue);
1197  }
1198
1199  protected void setIdentity(
1200    int index,
1201    String JavaDoc newValue
1202  ) {
1203    refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue);
1204  }
1205// ----------------------------------------------------------------------------
1206
// Instance/ImplReferenceSetWithQualifier
1207
// ----------------------------------------------------------------------------
1208
protected void setView(
1209    java.util.List JavaDoc newValue
1210  ) {
1211    refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue);
1212  }
1213
1214  protected void setView(
1215    org.openmdx.compatibility.view1.cci.View[] newValue
1216  ) {
1217    refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue);
1218  }
1219
1220// ----------------------------------------------------------------------------
1221
// Instance/ImplReferenceGet0_1WithQualifier
1222
// ----------------------------------------------------------------------------
1223
public org.openmdx.compatibility.view1.cci.View getView(
1224    String JavaDoc namespace
1225  ) {
1226    return (org.openmdx.compatibility.view1.cci.View)refGetValue(
1227      "org:openmdx:compatibility:view1:ViewCapable:view",
1228      namespace
1229    );
1230  }
1231
1232// ----------------------------------------------------------------------------
1233
// Instance/ImplReferenceGet0_nWithFilter
1234
// ----------------------------------------------------------------------------
1235
public java.util.Collection JavaDoc getView(
1236  ) {
1237    return (java.util.Collection JavaDoc)refGetValue(
1238      "org:openmdx:compatibility:view1:ViewCapable:view"
1239    );
1240  }
1241
1242  public java.util.List JavaDoc getView(
1243    org.openmdx.compatibility.view1.cci.ViewFilter filter
1244  ) {
1245    return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
1246      "org:openmdx:compatibility:view1:ViewCapable:view"
1247    )).toList(filter);
1248  }
1249
1250// ----------------------------------------------------------------------------
1251
// Instance/ImplReferenceAddWithQualifier
1252
// ----------------------------------------------------------------------------
1253
protected void addView (
1254    String JavaDoc namespace,
1255    org.openmdx.compatibility.view1.cci.View newValue
1256  ) {
1257    refAddValue(
1258      "org:openmdx:compatibility:view1:ViewCapable:view",
1259      namespace,
1260      newValue
1261    );
1262  }
1263
1264// ----------------------------------------------------------------------------
1265
// Instance/ImplReferenceAddWithoutQualifier
1266
// ----------------------------------------------------------------------------
1267
protected void addView (
1268    org.openmdx.compatibility.view1.cci.View newValue
1269  ) {
1270    refAddValue(
1271      "org:openmdx:compatibility:view1:ViewCapable:view",
1272      newValue
1273    );
1274  }
1275
1276// ----------------------------------------------------------------------------
1277
// Instance/ImplReferenceRemoveWithQualifier
1278
// ----------------------------------------------------------------------------
1279
protected void removeView (
1280    String JavaDoc namespace
1281  ) {
1282    refRemoveValue(
1283      "org:openmdx:compatibility:view1:ViewCapable:view",
1284      namespace
1285    );
1286  }
1287
1288// ----------------------------------------------------------------------------
1289
// Instance/ImplEnd
1290
// ----------------------------------------------------------------------------
1291
}
1292
Popular Tags