001/*
002 * This class is an auto-generated source file for a HAPI
003 * HL7 v2.x standard structure class.
004 *
005 * For more information, visit: http://hl7api.sourceforge.net/
006 * 
007 * The contents of this file are subject to the Mozilla Public License Version 1.1 
008 * (the "License"); you may not use this file except in compliance with the License. 
009 * You may obtain a copy of the License at http://www.mozilla.org/MPL/ 
010 * Software distributed under the License is distributed on an "AS IS" basis, 
011 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the 
012 * specific language governing rights and limitations under the License. 
013 * 
014 * The Original Code is "[file_name]".  Description: 
015 * "[one_line_description]" 
016 * 
017 * The Initial Developer of the Original Code is University Health Network. Copyright (C) 
018 * 2012.  All Rights Reserved. 
019 * 
020 * Contributor(s): ______________________________________. 
021 * 
022 * Alternatively, the contents of this file may be used under the terms of the 
023 * GNU General Public License (the  "GPL"), in which case the provisions of the GPL are 
024 * applicable instead of those above.  If you wish to allow use of your version of this 
025 * file only under the terms of the GPL and not to allow others to use your version 
026 * of this file under the MPL, indicate your decision by deleting  the provisions above 
027 * and replace  them with the notice and other provisions required by the GPL License.  
028 * If you do not delete the provisions above, a recipient may use your version of 
029 * this file under either the MPL or the GPL. 
030 * 
031 */
032
033
034package ca.uhn.hl7v2.model.v251.group;
035
036import ca.uhn.hl7v2.model.v251.segment.*;
037
038import java.util.List;
039
040import ca.uhn.hl7v2.HL7Exception;
041import ca.uhn.hl7v2.parser.ModelClassFactory;
042import ca.uhn.hl7v2.model.*;
043
044/**
045 * <p>Represents a OMG_O19_ORDER group structure (a Group object).
046 * A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together.
047 * This Group contains the following elements:  
048 * </p>
049 * <ul>
050                 * <li>1: ORC (Common Order) <b> </b></li>
051                 * <li>2: OMG_O19_TIMING (a Group object) <b>optional repeating</b></li>
052                 * <li>3: OBR (Observation Request) <b> </b></li>
053                 * <li>4: NTE (Notes and Comments) <b>optional repeating</b></li>
054                 * <li>5: CTD (Contact Data) <b>optional </b></li>
055                 * <li>6: DG1 (Diagnosis) <b>optional repeating</b></li>
056                 * <li>7: OMG_O19_OBSERVATION (a Group object) <b>optional repeating</b></li>
057                 * <li>8: OMG_O19_SPECIMEN (a Group object) <b>optional repeating</b></li>
058                 * <li>9: OMG_O19_PRIOR_RESULT (a Group object) <b>optional repeating</b></li>
059                 * <li>10: FT1 (Financial Transaction) <b>optional repeating</b></li>
060                 * <li>11: CTI (Clinical Trial Identification) <b>optional repeating</b></li>
061                 * <li>12: BLG (Billing) <b>optional </b></li>
062 * </ul>
063 */
064@SuppressWarnings("unused")
065public class OMG_O19_ORDER extends AbstractGroup {
066
067    /** 
068     * Creates a new OMG_O19_ORDER group
069     */
070    public OMG_O19_ORDER(Group parent, ModelClassFactory factory) {
071       super(parent, factory);
072       init(factory);
073    }
074
075    private void init(ModelClassFactory factory) {
076       try {
077                          this.add(ORC.class, true, false);
078                          this.add(OMG_O19_TIMING.class, false, true);
079                          this.add(OBR.class, true, false);
080                          this.add(NTE.class, false, true);
081                          this.add(CTD.class, false, false);
082                          this.add(DG1.class, false, true);
083                          this.add(OMG_O19_OBSERVATION.class, false, true);
084                          this.add(OMG_O19_SPECIMEN.class, false, true);
085                          this.add(OMG_O19_PRIOR_RESULT.class, false, true);
086                          this.add(FT1.class, false, true);
087                          this.add(CTI.class, false, true);
088                          this.add(BLG.class, false, false);
089       } catch(HL7Exception e) {
090          log.error("Unexpected error creating OMG_O19_ORDER - this is probably a bug in the source code generator.", e);
091       }
092    }
093
094    /** 
095     * Returns "2.5.1"
096     */
097    public String getVersion() {
098       return "2.5.1";
099    }
100
101
102
103    /**
104     * Returns
105     * ORC (Common Order) - creates it if necessary
106     */
107    public ORC getORC() { 
108       ORC retVal = getTyped("ORC", ORC.class);
109       return retVal;
110    }
111
112
113
114
115    /**
116     * Returns
117     * the first repetition of 
118     * TIMING (a Group object) - creates it if necessary
119     */
120    public OMG_O19_TIMING getTIMING() { 
121       OMG_O19_TIMING retVal = getTyped("TIMING", OMG_O19_TIMING.class);
122       return retVal;
123    }
124
125
126    /**
127     * Returns a specific repetition of
128     * TIMING (a Group object) - creates it if necessary
129     *
130     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
131     * @throws HL7Exception if the repetition requested is more than one 
132     *     greater than the number of existing repetitions.
133     */
134    public OMG_O19_TIMING getTIMING(int rep) { 
135       OMG_O19_TIMING retVal = getTyped("TIMING", rep, OMG_O19_TIMING.class);
136       return retVal;
137    }
138
139    /** 
140     * Returns the number of existing repetitions of TIMING 
141     */ 
142    public int getTIMINGReps() {  
143        return getReps("TIMING");
144    } 
145
146    /** 
147     * <p>
148     * Returns a non-modifiable List containing all current existing repetitions of TIMING.
149     * <p>
150     * <p>
151     * Note that unlike {@link #getTIMING()}, this method will not create any reps
152     * if none are already present, so an empty list may be returned.
153     * </p>
154     */ 
155    public List<OMG_O19_TIMING> getTIMINGAll() throws HL7Exception {
156        return getAllAsList("TIMING", OMG_O19_TIMING.class);
157    } 
158
159    /**
160     * Inserts a specific repetition of TIMING (a Group object)
161     * @see AbstractGroup#insertRepetition(Structure, int) 
162     */
163    public void insertTIMING(OMG_O19_TIMING structure, int rep) throws HL7Exception { 
164       super.insertRepetition("TIMING", structure, rep);
165    }
166
167
168    /**
169     * Inserts a specific repetition of TIMING (a Group object)
170     * @see AbstractGroup#insertRepetition(Structure, int) 
171     */
172    public OMG_O19_TIMING insertTIMING(int rep) throws HL7Exception { 
173       return (OMG_O19_TIMING)super.insertRepetition("TIMING", rep);
174    }
175
176
177    /**
178     * Removes a specific repetition of TIMING (a Group object)
179     * @see AbstractGroup#removeRepetition(String, int) 
180     */
181    public OMG_O19_TIMING removeTIMING(int rep) throws HL7Exception { 
182       return (OMG_O19_TIMING)super.removeRepetition("TIMING", rep);
183    }
184
185
186
187    /**
188     * Returns
189     * OBR (Observation Request) - creates it if necessary
190     */
191    public OBR getOBR() { 
192       OBR retVal = getTyped("OBR", OBR.class);
193       return retVal;
194    }
195
196
197
198
199    /**
200     * Returns
201     * the first repetition of 
202     * NTE (Notes and Comments) - creates it if necessary
203     */
204    public NTE getNTE() { 
205       NTE retVal = getTyped("NTE", NTE.class);
206       return retVal;
207    }
208
209
210    /**
211     * Returns a specific repetition of
212     * NTE (Notes and Comments) - creates it if necessary
213     *
214     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
215     * @throws HL7Exception if the repetition requested is more than one 
216     *     greater than the number of existing repetitions.
217     */
218    public NTE getNTE(int rep) { 
219       NTE retVal = getTyped("NTE", rep, NTE.class);
220       return retVal;
221    }
222
223    /** 
224     * Returns the number of existing repetitions of NTE 
225     */ 
226    public int getNTEReps() {  
227        return getReps("NTE");
228    } 
229
230    /** 
231     * <p>
232     * Returns a non-modifiable List containing all current existing repetitions of NTE.
233     * <p>
234     * <p>
235     * Note that unlike {@link #getNTE()}, this method will not create any reps
236     * if none are already present, so an empty list may be returned.
237     * </p>
238     */ 
239    public List<NTE> getNTEAll() throws HL7Exception {
240        return getAllAsList("NTE", NTE.class);
241    } 
242
243    /**
244     * Inserts a specific repetition of NTE (Notes and Comments)
245     * @see AbstractGroup#insertRepetition(Structure, int) 
246     */
247    public void insertNTE(NTE structure, int rep) throws HL7Exception { 
248       super.insertRepetition("NTE", structure, rep);
249    }
250
251
252    /**
253     * Inserts a specific repetition of NTE (Notes and Comments)
254     * @see AbstractGroup#insertRepetition(Structure, int) 
255     */
256    public NTE insertNTE(int rep) throws HL7Exception { 
257       return (NTE)super.insertRepetition("NTE", rep);
258    }
259
260
261    /**
262     * Removes a specific repetition of NTE (Notes and Comments)
263     * @see AbstractGroup#removeRepetition(String, int) 
264     */
265    public NTE removeNTE(int rep) throws HL7Exception { 
266       return (NTE)super.removeRepetition("NTE", rep);
267    }
268
269
270
271    /**
272     * Returns
273     * CTD (Contact Data) - creates it if necessary
274     */
275    public CTD getCTD() { 
276       CTD retVal = getTyped("CTD", CTD.class);
277       return retVal;
278    }
279
280
281
282
283    /**
284     * Returns
285     * the first repetition of 
286     * DG1 (Diagnosis) - creates it if necessary
287     */
288    public DG1 getDG1() { 
289       DG1 retVal = getTyped("DG1", DG1.class);
290       return retVal;
291    }
292
293
294    /**
295     * Returns a specific repetition of
296     * DG1 (Diagnosis) - creates it if necessary
297     *
298     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
299     * @throws HL7Exception if the repetition requested is more than one 
300     *     greater than the number of existing repetitions.
301     */
302    public DG1 getDG1(int rep) { 
303       DG1 retVal = getTyped("DG1", rep, DG1.class);
304       return retVal;
305    }
306
307    /** 
308     * Returns the number of existing repetitions of DG1 
309     */ 
310    public int getDG1Reps() {  
311        return getReps("DG1");
312    } 
313
314    /** 
315     * <p>
316     * Returns a non-modifiable List containing all current existing repetitions of DG1.
317     * <p>
318     * <p>
319     * Note that unlike {@link #getDG1()}, this method will not create any reps
320     * if none are already present, so an empty list may be returned.
321     * </p>
322     */ 
323    public List<DG1> getDG1All() throws HL7Exception {
324        return getAllAsList("DG1", DG1.class);
325    } 
326
327    /**
328     * Inserts a specific repetition of DG1 (Diagnosis)
329     * @see AbstractGroup#insertRepetition(Structure, int) 
330     */
331    public void insertDG1(DG1 structure, int rep) throws HL7Exception { 
332       super.insertRepetition("DG1", structure, rep);
333    }
334
335
336    /**
337     * Inserts a specific repetition of DG1 (Diagnosis)
338     * @see AbstractGroup#insertRepetition(Structure, int) 
339     */
340    public DG1 insertDG1(int rep) throws HL7Exception { 
341       return (DG1)super.insertRepetition("DG1", rep);
342    }
343
344
345    /**
346     * Removes a specific repetition of DG1 (Diagnosis)
347     * @see AbstractGroup#removeRepetition(String, int) 
348     */
349    public DG1 removeDG1(int rep) throws HL7Exception { 
350       return (DG1)super.removeRepetition("DG1", rep);
351    }
352
353
354
355    /**
356     * Returns
357     * the first repetition of 
358     * OBSERVATION (a Group object) - creates it if necessary
359     */
360    public OMG_O19_OBSERVATION getOBSERVATION() { 
361       OMG_O19_OBSERVATION retVal = getTyped("OBSERVATION", OMG_O19_OBSERVATION.class);
362       return retVal;
363    }
364
365
366    /**
367     * Returns a specific repetition of
368     * OBSERVATION (a Group object) - creates it if necessary
369     *
370     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
371     * @throws HL7Exception if the repetition requested is more than one 
372     *     greater than the number of existing repetitions.
373     */
374    public OMG_O19_OBSERVATION getOBSERVATION(int rep) { 
375       OMG_O19_OBSERVATION retVal = getTyped("OBSERVATION", rep, OMG_O19_OBSERVATION.class);
376       return retVal;
377    }
378
379    /** 
380     * Returns the number of existing repetitions of OBSERVATION 
381     */ 
382    public int getOBSERVATIONReps() {  
383        return getReps("OBSERVATION");
384    } 
385
386    /** 
387     * <p>
388     * Returns a non-modifiable List containing all current existing repetitions of OBSERVATION.
389     * <p>
390     * <p>
391     * Note that unlike {@link #getOBSERVATION()}, this method will not create any reps
392     * if none are already present, so an empty list may be returned.
393     * </p>
394     */ 
395    public List<OMG_O19_OBSERVATION> getOBSERVATIONAll() throws HL7Exception {
396        return getAllAsList("OBSERVATION", OMG_O19_OBSERVATION.class);
397    } 
398
399    /**
400     * Inserts a specific repetition of OBSERVATION (a Group object)
401     * @see AbstractGroup#insertRepetition(Structure, int) 
402     */
403    public void insertOBSERVATION(OMG_O19_OBSERVATION structure, int rep) throws HL7Exception { 
404       super.insertRepetition("OBSERVATION", structure, rep);
405    }
406
407
408    /**
409     * Inserts a specific repetition of OBSERVATION (a Group object)
410     * @see AbstractGroup#insertRepetition(Structure, int) 
411     */
412    public OMG_O19_OBSERVATION insertOBSERVATION(int rep) throws HL7Exception { 
413       return (OMG_O19_OBSERVATION)super.insertRepetition("OBSERVATION", rep);
414    }
415
416
417    /**
418     * Removes a specific repetition of OBSERVATION (a Group object)
419     * @see AbstractGroup#removeRepetition(String, int) 
420     */
421    public OMG_O19_OBSERVATION removeOBSERVATION(int rep) throws HL7Exception { 
422       return (OMG_O19_OBSERVATION)super.removeRepetition("OBSERVATION", rep);
423    }
424
425
426
427    /**
428     * Returns
429     * the first repetition of 
430     * SPECIMEN (a Group object) - creates it if necessary
431     */
432    public OMG_O19_SPECIMEN getSPECIMEN() { 
433       OMG_O19_SPECIMEN retVal = getTyped("SPECIMEN", OMG_O19_SPECIMEN.class);
434       return retVal;
435    }
436
437
438    /**
439     * Returns a specific repetition of
440     * SPECIMEN (a Group object) - creates it if necessary
441     *
442     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
443     * @throws HL7Exception if the repetition requested is more than one 
444     *     greater than the number of existing repetitions.
445     */
446    public OMG_O19_SPECIMEN getSPECIMEN(int rep) { 
447       OMG_O19_SPECIMEN retVal = getTyped("SPECIMEN", rep, OMG_O19_SPECIMEN.class);
448       return retVal;
449    }
450
451    /** 
452     * Returns the number of existing repetitions of SPECIMEN 
453     */ 
454    public int getSPECIMENReps() {  
455        return getReps("SPECIMEN");
456    } 
457
458    /** 
459     * <p>
460     * Returns a non-modifiable List containing all current existing repetitions of SPECIMEN.
461     * <p>
462     * <p>
463     * Note that unlike {@link #getSPECIMEN()}, this method will not create any reps
464     * if none are already present, so an empty list may be returned.
465     * </p>
466     */ 
467    public List<OMG_O19_SPECIMEN> getSPECIMENAll() throws HL7Exception {
468        return getAllAsList("SPECIMEN", OMG_O19_SPECIMEN.class);
469    } 
470
471    /**
472     * Inserts a specific repetition of SPECIMEN (a Group object)
473     * @see AbstractGroup#insertRepetition(Structure, int) 
474     */
475    public void insertSPECIMEN(OMG_O19_SPECIMEN structure, int rep) throws HL7Exception { 
476       super.insertRepetition("SPECIMEN", structure, rep);
477    }
478
479
480    /**
481     * Inserts a specific repetition of SPECIMEN (a Group object)
482     * @see AbstractGroup#insertRepetition(Structure, int) 
483     */
484    public OMG_O19_SPECIMEN insertSPECIMEN(int rep) throws HL7Exception { 
485       return (OMG_O19_SPECIMEN)super.insertRepetition("SPECIMEN", rep);
486    }
487
488
489    /**
490     * Removes a specific repetition of SPECIMEN (a Group object)
491     * @see AbstractGroup#removeRepetition(String, int) 
492     */
493    public OMG_O19_SPECIMEN removeSPECIMEN(int rep) throws HL7Exception { 
494       return (OMG_O19_SPECIMEN)super.removeRepetition("SPECIMEN", rep);
495    }
496
497
498
499    /**
500     * Returns
501     * the first repetition of 
502     * PRIOR_RESULT (a Group object) - creates it if necessary
503     */
504    public OMG_O19_PRIOR_RESULT getPRIOR_RESULT() { 
505       OMG_O19_PRIOR_RESULT retVal = getTyped("PRIOR_RESULT", OMG_O19_PRIOR_RESULT.class);
506       return retVal;
507    }
508
509
510    /**
511     * Returns a specific repetition of
512     * PRIOR_RESULT (a Group object) - creates it if necessary
513     *
514     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
515     * @throws HL7Exception if the repetition requested is more than one 
516     *     greater than the number of existing repetitions.
517     */
518    public OMG_O19_PRIOR_RESULT getPRIOR_RESULT(int rep) { 
519       OMG_O19_PRIOR_RESULT retVal = getTyped("PRIOR_RESULT", rep, OMG_O19_PRIOR_RESULT.class);
520       return retVal;
521    }
522
523    /** 
524     * Returns the number of existing repetitions of PRIOR_RESULT 
525     */ 
526    public int getPRIOR_RESULTReps() {  
527        return getReps("PRIOR_RESULT");
528    } 
529
530    /** 
531     * <p>
532     * Returns a non-modifiable List containing all current existing repetitions of PRIOR_RESULT.
533     * <p>
534     * <p>
535     * Note that unlike {@link #getPRIOR_RESULT()}, this method will not create any reps
536     * if none are already present, so an empty list may be returned.
537     * </p>
538     */ 
539    public List<OMG_O19_PRIOR_RESULT> getPRIOR_RESULTAll() throws HL7Exception {
540        return getAllAsList("PRIOR_RESULT", OMG_O19_PRIOR_RESULT.class);
541    } 
542
543    /**
544     * Inserts a specific repetition of PRIOR_RESULT (a Group object)
545     * @see AbstractGroup#insertRepetition(Structure, int) 
546     */
547    public void insertPRIOR_RESULT(OMG_O19_PRIOR_RESULT structure, int rep) throws HL7Exception { 
548       super.insertRepetition("PRIOR_RESULT", structure, rep);
549    }
550
551
552    /**
553     * Inserts a specific repetition of PRIOR_RESULT (a Group object)
554     * @see AbstractGroup#insertRepetition(Structure, int) 
555     */
556    public OMG_O19_PRIOR_RESULT insertPRIOR_RESULT(int rep) throws HL7Exception { 
557       return (OMG_O19_PRIOR_RESULT)super.insertRepetition("PRIOR_RESULT", rep);
558    }
559
560
561    /**
562     * Removes a specific repetition of PRIOR_RESULT (a Group object)
563     * @see AbstractGroup#removeRepetition(String, int) 
564     */
565    public OMG_O19_PRIOR_RESULT removePRIOR_RESULT(int rep) throws HL7Exception { 
566       return (OMG_O19_PRIOR_RESULT)super.removeRepetition("PRIOR_RESULT", rep);
567    }
568
569
570
571    /**
572     * Returns
573     * the first repetition of 
574     * FT1 (Financial Transaction) - creates it if necessary
575     */
576    public FT1 getFT1() { 
577       FT1 retVal = getTyped("FT1", FT1.class);
578       return retVal;
579    }
580
581
582    /**
583     * Returns a specific repetition of
584     * FT1 (Financial Transaction) - creates it if necessary
585     *
586     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
587     * @throws HL7Exception if the repetition requested is more than one 
588     *     greater than the number of existing repetitions.
589     */
590    public FT1 getFT1(int rep) { 
591       FT1 retVal = getTyped("FT1", rep, FT1.class);
592       return retVal;
593    }
594
595    /** 
596     * Returns the number of existing repetitions of FT1 
597     */ 
598    public int getFT1Reps() {  
599        return getReps("FT1");
600    } 
601
602    /** 
603     * <p>
604     * Returns a non-modifiable List containing all current existing repetitions of FT1.
605     * <p>
606     * <p>
607     * Note that unlike {@link #getFT1()}, this method will not create any reps
608     * if none are already present, so an empty list may be returned.
609     * </p>
610     */ 
611    public List<FT1> getFT1All() throws HL7Exception {
612        return getAllAsList("FT1", FT1.class);
613    } 
614
615    /**
616     * Inserts a specific repetition of FT1 (Financial Transaction)
617     * @see AbstractGroup#insertRepetition(Structure, int) 
618     */
619    public void insertFT1(FT1 structure, int rep) throws HL7Exception { 
620       super.insertRepetition("FT1", structure, rep);
621    }
622
623
624    /**
625     * Inserts a specific repetition of FT1 (Financial Transaction)
626     * @see AbstractGroup#insertRepetition(Structure, int) 
627     */
628    public FT1 insertFT1(int rep) throws HL7Exception { 
629       return (FT1)super.insertRepetition("FT1", rep);
630    }
631
632
633    /**
634     * Removes a specific repetition of FT1 (Financial Transaction)
635     * @see AbstractGroup#removeRepetition(String, int) 
636     */
637    public FT1 removeFT1(int rep) throws HL7Exception { 
638       return (FT1)super.removeRepetition("FT1", rep);
639    }
640
641
642
643    /**
644     * Returns
645     * the first repetition of 
646     * CTI (Clinical Trial Identification) - creates it if necessary
647     */
648    public CTI getCTI() { 
649       CTI retVal = getTyped("CTI", CTI.class);
650       return retVal;
651    }
652
653
654    /**
655     * Returns a specific repetition of
656     * CTI (Clinical Trial Identification) - creates it if necessary
657     *
658     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
659     * @throws HL7Exception if the repetition requested is more than one 
660     *     greater than the number of existing repetitions.
661     */
662    public CTI getCTI(int rep) { 
663       CTI retVal = getTyped("CTI", rep, CTI.class);
664       return retVal;
665    }
666
667    /** 
668     * Returns the number of existing repetitions of CTI 
669     */ 
670    public int getCTIReps() {  
671        return getReps("CTI");
672    } 
673
674    /** 
675     * <p>
676     * Returns a non-modifiable List containing all current existing repetitions of CTI.
677     * <p>
678     * <p>
679     * Note that unlike {@link #getCTI()}, this method will not create any reps
680     * if none are already present, so an empty list may be returned.
681     * </p>
682     */ 
683    public List<CTI> getCTIAll() throws HL7Exception {
684        return getAllAsList("CTI", CTI.class);
685    } 
686
687    /**
688     * Inserts a specific repetition of CTI (Clinical Trial Identification)
689     * @see AbstractGroup#insertRepetition(Structure, int) 
690     */
691    public void insertCTI(CTI structure, int rep) throws HL7Exception { 
692       super.insertRepetition("CTI", structure, rep);
693    }
694
695
696    /**
697     * Inserts a specific repetition of CTI (Clinical Trial Identification)
698     * @see AbstractGroup#insertRepetition(Structure, int) 
699     */
700    public CTI insertCTI(int rep) throws HL7Exception { 
701       return (CTI)super.insertRepetition("CTI", rep);
702    }
703
704
705    /**
706     * Removes a specific repetition of CTI (Clinical Trial Identification)
707     * @see AbstractGroup#removeRepetition(String, int) 
708     */
709    public CTI removeCTI(int rep) throws HL7Exception { 
710       return (CTI)super.removeRepetition("CTI", rep);
711    }
712
713
714
715    /**
716     * Returns
717     * BLG (Billing) - creates it if necessary
718     */
719    public BLG getBLG() { 
720       BLG retVal = getTyped("BLG", BLG.class);
721       return retVal;
722    }
723
724
725
726
727}
728