1    package com.instantbank.component.lettertemplate.util;
2    
3    import java.sql.Date;
4    
5    import java.util.*;
6    import java.io.Serializable;
7    
8    /**
9     * Utility class allowing manipulation of letter batch Job.
10    *
11    * @author InstantBank (Jorge Cardenas, Roberto Contreras).
12    * @created November 2002
13    */
14   
15   public class LetterBatchStartModel
16       implements Serializable {
17   
18     /**
19      * Array list of JobData object. Its elements are jobs to run.
20      */
21     private ArrayList toRun;
22   
23     /**
24      * Array list of JobData object. Its elements are jobs out of frequency.
25      */
26     private ArrayList outOfFrequency;
27   
28     /**
29      * Array list of JobData object. Its elements are jobs inactive, not yet active
30      * or on request.
31      */
32     private ArrayList other;
33   
34   
35     /**
36      *  Constructor . <br>
37      *
38      *
39      * @param toRun The jobs to run.
40      * @param outOfFrequency The jobs out of frequency.
41      * @param other The jobs inactive, not yet active or on request.
42      */
43     public LetterBatchStartModel(ArrayList toRun, ArrayList outOfFrequency,
44                                  ArrayList other) {
45   
46       this.toRun = toRun;
47       this.outOfFrequency = outOfFrequency;
48       this.other = other;
49   
50     }
51   
52   
53     /**
54      * Getter method for jobs to run.
55      *
56      * @return toRun ArrayList with jobs to run.
57      */
58     public ArrayList getToRun() {
59       return (this.toRun);
60     }
61   
62   
63     /**
64      * Getter method for jobs out of frequency.
65      *
66      * @return outOfFrequency ArrayList with jobs out of frequency.
67      */
68     public ArrayList getOutOfFrequency() {
69       return (this.outOfFrequency);
70     }
71   
72   
73     /**
74      * Getter method for jobs inactive, not yet active or on request.
75      *
76      * @return other ArrayList with jobs inactive, not yet active or on request.
77      */
78     public ArrayList getOther() {
79       return (this.other);
80     }
81   }
82