1    package com.instantbank.component.lettertemplate.util;
2    
3    import java.sql.Date;
4    
5    /**
6     * Java bean containing raw log information for letters generation
7     * process.
8     *
9     * @author InstantBank (Rodrigo Lopez)
10    */
11   public class LettersJobLogBean {
12   
13     /**
14      * Id number for this log
15      */
16     private long logId;
17   
18     /**
19      * Id number of the job this log comes from.
20      */
21     private long jobId;
22   
23     /**
24      * Time stamp generated when this log was stored in the data base
25      */
26     private Date executionDate;
27   
28   
29     /**
30      * Void constructor for LettersJobLogBean
31      */
32     public LettersJobLogBean() { }
33   
34   
35     /**
36      * Setter method for logId
37      *
38      * @param logId The new logId value
39      */
40     public void setLogId(long logId) {
41       this.logId = logId;
42     }
43   
44   
45     /**
46      * Setter method for jobId
47      *
48      * @param jobId The new jobId value
49      */
50     public void setJobId(long jobId) {
51       this.jobId = jobId;
52     }
53   
54   
55     /**
56      * Setter method for executionDate
57      *
58      * @param executionDate The new executionDate value
59      */
60     public void setExecutionDate(Date executionDate) {
61       this.executionDate = executionDate;
62     }
63   
64   
65     /**
66      * Getter method for logId
67      *
68      * @return The logId value
69      */
70     public long getLogId() {
71       return (this.logId);
72     }
73   
74   
75     /**
76      * Getter method for jobId
77      *
78      * @return The jobId value
79      */
80     public long getJobId() {
81       return (this.jobId);
82     }
83   
84   
85     /**
86      * Getter method for executionDate
87      *
88      * @return The executionDate value
89      */
90     public Date getExecutionDate() {
91       return (this.executionDate);
92     }
93   }
94